AltimateAI / vscode-dbt-power-user

This extension makes vscode seamlessly work with dbt™: Auto-complete, preview, column lineage, AI docs generation, health checks, cost estimation etc
https://www.altimate.ai
MIT License
452 stars 86 forks source link

fix: lineage state issues #1217

Closed suryaiyer95 closed 2 months ago

suryaiyer95 commented 3 months ago

Overview

Problem

There are state issue when performing column level lineage. First full expanding table lineage and performing column lineage on just that works correctly. But first performing column lineage and then expanding table lineage, shows wrong type of edges(direct/indirect).

Solution

Move assigning edge type code from creation of new edges to merging of edges.

Screenshot/Demo

A picture is worth a thousand words. Please highlight the changes if applicable.

How to test

Checklist

saravmajestic commented 3 months ago

@AdiGajbhiye @suryaiyer95 can you add some details of the fixes added in this PR?

anandgupta42 commented 3 months ago

@saravmajestic Can you review?