AltimateAI / AltimateAI/vscode-dbt-power-user

"generate model" from source should allow some customization

Open
#783 1 comment 4 reactions 1 assignee Claimed by @anandgupta42 View on GitHub
enhancement
Dominant language
JavaScript
Stars
585
Forks
121
Avg merge
5d 39m
Merged PRs (30d)
4

Description

### Describe the feature

When generating a model it does a few things that we prefer to not do:
- adds the code to use the proper quotes based on adapter (we don't quote our columns, ever)
- uses a cte to select * from the source (we list out all our columns explicitly and don't use a select * or cte)

would love to be able to set a flag or something to disable or change the default behavior. the generate model feature is a huge timesaver (even with the needed adjustments afterwards) and this would make things even better!

### Describe alternatives you've considered

currently generating the model and removing the unneeded pieces
not using the generation feature

### Who will benefit?

anyone that doesn't need the quote logic..

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.