spark-sql-flow-plugin
spark-sql-flow-plugin copied to clipboard
Lineage Data can be directly output in JSON format?
Lineage Data can be directly output in JSON format? which is convenient to store in the graph database。
Ah, it might be worth doing it, but is there a common JSON format to represent a directed acyclic graph?
The format is altas Lineage JSON: https://atlas.apache.org/api/v2/json_AtlasLineageInfo.html
INFO: I added an interface to define an output format for exporting a generated graph into other systems in https://github.com/maropu/spark-sql-flow-plugin/commit/abb1f0f2f9591d3f511948a57ae8fde0032e25ff: https://github.com/maropu/spark-sql-flow-plugin/blob/abb1f0f2f9591d3f511948a57ae8fde0032e25ff/src/test/scala/org/apache/spark/sql/SQLFlowSuite.scala#L175-L190