Created
October 6, 2020 17:02
-
-
Save naren-dremio/369c38c042230546011ec8fd1d633397 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%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