reata / sqllineage

SQL Lineage Analysis Tool powered by Python
MIT License
1.19k stars 215 forks source link

set target table column name from MetaDataProvider #528

Closed delphisharp closed 1 month ago

delphisharp commented 5 months ago

Is your feature request related to a problem? Please describe. sql: "insert into target select user_id, user_name from source" target's column is id, name column lineage 's target column is user_id, user_name from sql parse

Describe the solution you'd like use MetaDataProvider, search target table's column ,write to Holder. equal "insert into target(id, name) select user_id, user_name from source"

reata commented 5 months ago

This is a valid case that we definitely want to improve with MetaDataProvider.

I'll come back review the PR after I get MetaDataProvider formally documented and released with v1.5.0.