Skip to content

Instantly share code, notes, and snippets.

@naren-dremio
Created October 6, 2020 17:02
Show Gist options
  • Save naren-dremio/369c38c042230546011ec8fd1d633397 to your computer and use it in GitHub Desktop.
Save naren-dremio/369c38c042230546011ec8fd1d633397 to your computer and use it in GitHub Desktop.
%sql
CREATE TABLE test
USING org.apache.spark.sql.jdbc
OPTIONS (
url "jdbc:dremio:direct=<host>:31010",
dbtable "postgres.public.actor",
user "",
password "",
driver "com.dremio.jdbc.Driver"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment