Skip to content

How to make the stream schema dynamic? #238

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

You must be logged in to vote

Just checked over the logic, the stream name doesn't get formatted, so it won't work. I'll enable that next release.

As a workaround, try this (the custom SQL does get formatted):

defaults:
  sql: "select * from {schema}.{stream_name}"

streams:
  my_table:

env:
  schema: '${SCHEMA}'   # From Environment

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@somiandras
Comment options

@flarco
Comment options

@somiandras
Comment options

@flarco
Comment options

@somiandras
Comment options

Answer selected by somiandras
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