astronomer / astronomer-cosmos

Run your dbt Core projects as Apache Airflow DAGs and Task Groups with a few lines of code
https://astronomer.github.io/astronomer-cosmos/
Apache License 2.0
783 stars 171 forks source link

[async] Evaluate the possiblity of using dbt itself to create the full SQL command #1266

Open tatiana opened 1 month ago

tatiana commented 1 month ago

Context

When implementing #1230, we realised that the dbt compile command outputs the select statements related to models and transformations, but not necessarily the remaining relevant parts of the query (including creates, updates, inserts, drops).

This logic lives partially in dbt-core code and partially in the dbt adaptors of interest.

Could we leverage the --empty flag (https://github.com/dbt-labs/dbt-core/issues/8980#issue-1973161545) in any way?

Acceptance criteria

github-actions[bot] commented 5 days ago

This issue is stale because it has been open for 30 days with no activity.