Column Level Lineage with Python #256
-
Hi! First of all, thanks for this really interesting and useful library. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
For the column level lineage Python API, I didn't document it because it's not stable enough. But you're free to try and welcome to reporting bugs if you met any. result = LineageRunner(sql)
column_lineage = result.get_column_lineage()
# this returns List[Tuple[Column, Column]] CTE and subqueries are indeed among the biggest issues with column lineage. I hope I can cover most of the edge cases before long. The current develop progress is behind my schedule because of the covid-19 lockdown in Shanghai. I sure hope things get better soon and I can come back to this. |
Beta Was this translation helpful? Give feedback.
For the column level lineage Python API, I didn't document it because it's not stable enough. But you're free to try and welcome to reporting bugs if you met any.
CTE and subqueries are indeed among the biggest issues with column lineage. I hope I can cover most of the edge cases before long. The current develop progress is behind my schedule because of the covid-19 lockdown in Shanghai. I sure hope things get better soon and I can come back to this.