Re: Possible bug in Spark 1.5.0 onwards while loading Postgres JDBC driver

2015-12-06 Thread manasdebashiskar
My apologies for making this problem sound bigger then it actually is. After many more coffee break I discovered that scalikejdbc ConnectionPool.singleton(NOT_HOST_BUT_JDBC_URL, user, password) takes a url and not a host(At least for the version 2.3+) Hence it throws a very legitimate looking erro

Possible bug in Spark 1.5.0 onwards while loading Postgres JDBC driver

2015-12-05 Thread manasdebashiskar
Hi All, Has anyone tried using user defined database api for postgres on Spark 1.5.0 onwards. I have a build that uses Spark = 1.5.1 ScalikeJDBC= 2.3+ postgres driver = postgresql-9.3-1102-jdbc41.jar Spark SQL API to write dataframe to postgres works. But writing a spark RDD to postgres using S