diff options
-rw-r--r-- | docs/sql-programming-guide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md index 550a40010e..ce53a39f9f 100644 --- a/docs/sql-programming-guide.md +++ b/docs/sql-programming-guide.md @@ -1869,7 +1869,7 @@ spark classpath. For example, to connect to postgres from the Spark Shell you wo following command: {% highlight bash %} -SPARK_CLASSPATH=postgresql-9.3-1102-jdbc41.jar bin/spark-shell +bin/spark-shell --driver-class-path postgresql-9.4.1207.jar --jars postgresql-9.4.1207.jar {% endhighlight %} Tables from the remote database can be loaded as a DataFrame or Spark SQL Temporary table using |