AltimateAI / AltimateAI/vscode-dbt-power-user

New columns added to bottom of yaml file instead of in order

Aperta
#1,542 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug
Lingua principale
JavaScript
Stelle
585
Fork
121
Merge medio
5g 39m
PR unite (30g)
4

Descrizione

### Expected behavior

When saving in the documentation editor to an existing yaml file, I expected that the columns would be in the order they're stored in the database.

### Actual behavior

Instead, new columns are appended to the bottom of yaml file.

### Steps To Reproduce

1. Have an existing schema.yaml for a dbt model
2. Add a column to the middle of the model
3. Run model
4. In the documentation editor, sync with database
5. Save to the yaml file

### Log output/Screenshots

_No response_

### Operating System

OS Sequoia 15.1.1

### dbt version

1.8.7

### dbt Adapter

bigquery

### dbt Power User version

v0.50.5

### Are you willing to submit PR?

- [X] 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.