vscode-dbt-power-user icon indicating copy to clipboard operation
vscode-dbt-power-user copied to clipboard

Support for Model Versioning

Open cashel opened this issue 1 year ago • 3 comments

Describe the feature

This extension does not seem to support dbt models that have been versioned (e.g., <model_file_name>_v2.sql with model config properties).

Tests, parent/child models, and documentation that used to appear for a non-versioned model no longer appear once that model has been versioned. Do note that all of this does work from dbt itself, so the issue appears isolated to just this plugin.

Describe alternatives you've considered

No response

Who will benefit?

No response

Are you willing to submit PR?

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

cashel avatar Nov 10 '23 22:11 cashel

Any update on this issue? It's starting to become a blocker in our versioning and migration work. To add, dbt ls -m model_v2+1 shows the correct lineage for models downstream of the new version, but the extension shows no lineage.

smitsrr avatar Mar 18 '24 08:03 smitsrr

@smitsrr We plan to pick this up later this month. I will keep you all posted.

anandgupta42 avatar Mar 18 '24 18:03 anandgupta42

@smitsrr We estimated that implementing this requires a multi-week effort since we need to introduce a new identifier type for model nodes across the codebase. We don't have the bandwidth to take this up in the next month or so. I will keep you posted if things change in the future.

We are willing to assist someone in the community who wants to contribute.

anandgupta42 avatar Mar 26 '24 04:03 anandgupta42

hi, is there an update on this enhancement?

chetchavat avatar Aug 16 '24 15:08 chetchavat

Both Lineage and documentation editor will not work for Versioned Models, i'd also greatly appreciate a fix

MalteNiederstadt avatar Sep 20 '24 07:09 MalteNiederstadt

Would greatly appreciate this feature, as currently using versioned models makes the lineage functionality of DBT Power User un-usable 🙏 Cloud IDE of DBT renders them correctly.

wahlrkr avatar Sep 23 '24 06:09 wahlrkr