Postgresql from Spark, how to query?

PostgreSQL

Introduction This article will cover how to query Postgresql from Spark, using Scala. To know more about Scala, check out any of the previous Scala articles. Spark PostgreSQL Dependencies Below, find dependencies needed to add to the build.sbt file. libraryDependencies += “org.postgresql” % “postgresql” % “42.2.5”libraryDependencies += “org.apache.spark” %% “spark-mllib” % sparkVersion % Provided To … Read more