Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2022 09:39 AM
Yes sorry, indeed there is CREATE TABLE USING JDBC driver, never tried it.
CREATE TABLE example_table
USING com.databricks.spark.redshift
OPTIONS (
dbtable '<your-table-name>',
tempdir 's3a://<your-bucket>/<your-directory-path>',
url 'jdbc:redshift://<the-rest-of-the-connection-string>'
);
My blog: https://databrickster.medium.com/