wForget commented on code in PR #7169:
URL: https://github.com/apache/kyuubi/pull/7169#discussion_r2262172437
##########
extensions/spark/kyuubi-spark-lineage/src/main/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParseHelper.scala:
##########
@@ -448,6 +448,13 @@ trait LineageParser {
})
}
+ // PermanentViewMarker is introduced by kyuubi authz plugin, which is a
wrapper of View,
+ // so we just extract the columns lineage from its inner children
(original view)
+ case pvm if pvm.nodeName == "PermanentViewMarker" =>
+ pvm.innerChildren.asInstanceOf[Seq[LogicalPlan]]
Review Comment:
https://github.com/apache/kyuubi/blob/6eb24bc47a095bc5ee6d5bba455f696f5668841c/extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/rule/permanentview/PermanentViewMarker.scala#L36
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]