dbt-labs / dbt-codegen

Macros that generate dbt code
https://hub.getdbt.com/dbt-labs/codegen/latest/
Apache License 2.0
459 stars 99 forks source link

create_base_models should accept leading_commas and case_sensitive_cols arguments #166

Open BrianPardoAtCalHR opened 5 months ago

BrianPardoAtCalHR commented 5 months ago

Describe the feature

The create_base_models macro should also accept true or false values for leading_commas and case_sensitive_cols as additional parameters. This would apply to the generated commands and will make things easier for those of us who want to preserve these settings for each model.

Describe alternatives you've considered

Manually running each generate_base_model command with these parameters.

Who will this benefit?

Anyone who uses codegen for bulk automation.