Skip to content

Example for table_ddl option usage? #33

Answered by flarco
mzapukhlyak asked this question in Q&A
Discussion options

You must be logged in to vote

For the table_ddl, here is a replication YAML example.

source: S3
target: PG

streams:
  's3://bucket/path/to/json_folder':
    source_options:
      flatten: true
    target_options:
      table_ddl: |
         create or replace table "my_schema"."my_table" ( 
         .... 
         )
    object: '"my_schema"."my_table"' # make sure to fully qualify so matches in DDL
    mode: full-refresh

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mzapukhlyak
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants