Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse ETL extract_query_from_temp does not support .sql file #6

Open
NiltonDuarteAtDotz opened this issue Jun 8, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@NiltonDuarteAtDotz
Copy link
Contributor

Parameter extract_query_from_temp from Reverse ETL composition does not support setting a .sql file.
This query need to get the value of reverse_etl_table_uri that is not passed/parsed by jinja and is internally replaced using f-string.
The solution might be to pass an user defined macro to be used in a jinja templating (see user_defined_macros in https://www.astronomer.io/guides/templating/)

@NiltonDuarteAtDotz NiltonDuarteAtDotz added the bug Something isn't working label Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant