Skip to content

Instantly share code, notes, and snippets.

@htjelsma
Last active October 21, 2019 09:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save htjelsma/44b5e10d2b51adf93dd7d509805bd33b to your computer and use it in GitHub Desktop.
rc = spark.read.jdbc(url=jdbcUrl, table='(select 1 as nr) as t', properties=connectionProperties).count()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment