This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.InputStream | |
import org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils | |
import org.apache.spark.sql.{ DataFrame, Row } | |
import org.postgresql.copy.CopyManager | |
import org.postgresql.core.BaseConnection | |
val jdbcUrl = s"jdbc:postgresql://..." // db credentials elided | |
val connectionProperties = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LAPORAN DAFTAR PELUNASAN KOLETKOR | |
AGEN PT. ARTIVISI INTERMEDIA | |
===================================================================================================================== | |
KODE KOLEKTOR : 0001 | |
NAMA KOLEKTOR : JOJO | |
+------+--------------+---------------------------+---------+-------------+-------------+-------------+-------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LAPORAN DAFTAR PELUNASAN KOLETKOR | |
AGEN PT. ARTIVISI INTERMEDIA | |
===================================================================================================================== | |
KODE KOLEKTOR : 0001 | |
NAMA KOLEKTOR : JOJO | |
+------+--------------+---------------------------+---------+-------------+-------------+-------------+-------------+ |