https://github.com/RHobart/spark-lineage-parent
https://github.com/AbsaOSS/spline-spark-agent
com.roundyuan.sparkagent.TestHive
mvn install
-
先打包 mvn install
-
将jar包放到 spark的jar下
-
在spark-default.conf 配置 spark.sql.execution.arrow.enabled true spark.sql.queryExecutionListeners com.roundyuan.sparkagent.FlQueryExecutionListener
-
执行sql会打印出 字段的依赖关系
- 将字段血缘推送到 kafka和日志打印出来
版本:spark2.4.7 问题:with 语法不支持 日志详情: