Netezza connection with Spark / Scala JDBC -
i've set spark 2.2.0 on windows machine using scala 2.11.8 on intellij ide. i'm trying make spark connect netezza using jdbc drivers. i've read through this link , added com.ibm.spark.netezza jars project through maven. attempt run scala script below test connection: package jdbc object simplescalaspark { def main(args: array[string]) { import org.apache.spark.sql.{sparksession, sqlcontext} import com.ibm.spark.netezza val spark = sparksession.builder .master("local") .appname("simplescalaspark") .getorcreate() val sqlcontext = sparksession.builder() .appname("simplescalaspark") .master("local") .getorcreate() val nzoptions = map("url" -> "jdbc:netezza://server:5480/database", "user" -> "user", "password" -> "password", "dbtable" -> "admin.tablename") val df = sqlcontex...