waimak icon indicating copy to clipboard operation
waimak copied to clipboard

Track lineage in Waimak

Open alexjbush opened this issue 5 years ago • 1 comments

It might be nice to track label lineage in Waimak and attach it to some kind of label metadata structure. It would contain the input labels and dependencies that were used to produce this label.

This could then be written out as metadata (table comment) when producing Hive tables. This would produce a simple data lineage for each table.

We could also think of an approach for tracking source files that records in labels came from. This would be tough though as "'input_file_name' does not support more than one sources": https://issues.apache.org/jira/browse/SPARK-18667 https://github.com/apache/spark/blob/master/sql/core/src/test/scala/org/apache/spark/sql/ColumnExpressionSuite.scala#L611

alexjbush avatar Apr 30 '19 10:04 alexjbush

I would like to second this. It would be nice to be able to track linage through the labels to allow better understanding of lineage and also to allow graphs to be generated showing this. An example:

Graph

timpharo avatar Nov 10 '20 11:11 timpharo