Replies: 1 comment 1 reply
-
Hi yes, you can inject any vars via the Also, the run-time vars that you can use are documented here. The second method could work better, with #134 is still on roadmap, just not a priority atm. Focusing on overall stability and steady connector addition. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @flarco, I am looking for ways on how I can perform incremental fetch of data from DB to Parquet, till the feature #134 is resolved ?
So below is the use case:
select * from table where date < today()
.. It basically gets all data to parquetselect * from table where date between (today() and (today() - 1))
OR
select * from my custom_query_table where date between ${START_DATE} and ${END_DATE}
START_DATE
andEND_DATE
during sling run time as environment variablesWould either of approach be feasible ?
I understand I can inject the dates into a dynamic SQL string by my own, but I was inquiring if existing tokenization for sql statements will allow for keywords other than
{incremental_where_cond}
or{incremental_value}
like{START_DATE}
etc to be interpolated from environment variablesBeta Was this translation helpful? Give feedback.
All reactions