Thanks for response. I'm running my job with driver:
postgresql:9.4-1201-jdbc41
I have an AWS Redshift service with PostgreSQL behind. We'll be migrating from Redshift soon, that's why I'm using direct JDBC connection to write to Postgres. Maybe Re...
Hi
Tried your solution, but I do get: 'syntax error at or near WITH,' also I had to write like that:
val bytes: Iterator[Byte] = rows.map { row => (row.mkString(delimiter) + "\n").getBytes.toIterator }.flatten
Could u please share how to make it wo...