AltimateAI / AltimateAI/vscode-dbt-power-user

"generate model" from source should allow some customization

Aperta
#783 1 commento 4 reazioni 1 assegnatario Rivendicata da @anandgupta42 Vedi su GitHub
enhancement
Lingua principale
JavaScript
Stelle
585
Fork
121
Merge medio
5g 39m
PR unite (30g)
4

Descrizione

### 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!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.