Closed davesgonechina closed 1 year ago
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers.
bump, still curious about this
https://github.com/dbt-labs/dbt-codegen/blob/46586eae319543ad7c57c47bd8ba1da7ebe2f953/macros/generate_source.sql#L34-L36
I'm experimenting with modifying
generate_source
to preserve existing descriptions if they already exist in the graph, and because a source yaml file generated with this macro sometimes lacks aschema_name
field I am writing conditional logic to select source nodes from the graph based on theschema
or instead thesource_name
ifschema
does not exist, rather than justschema
every time, or also changinggenerate_source
to always writeschema_name
no matter what.Was the choice to skip populating
schema_name
made because it was considered redundant bloat, or were there other reasons?