Skip to content

[KYUUBI #7168] Adapt PermanentViewMarker introduced by authz plugin in lineage plugin#7169

Closed
wForget wants to merge 2 commits into
apache:masterfrom
wForget:KYUUBI-7168
Closed

[KYUUBI #7168] Adapt PermanentViewMarker introduced by authz plugin in lineage plugin#7169
wForget wants to merge 2 commits into
apache:masterfrom
wForget:KYUUBI-7168

Conversation

@wForget

@wForget wForget commented Aug 8, 2025

Copy link
Copy Markdown
Member

Why are the changes needed?

Fix the lineage plugin cannot capture lineage of view after integrating authz plugin.

closes #7168

How was this patch tested?

added unit test

Was this patch authored or co-authored using generative AI tooling?

No

// 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]]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pan3793 pan3793 changed the title [KYUUBI-7168] Adapt PermanentViewMarker introduced by authz plugin in lineage plugin [KYUUBI #7168] Adapt PermanentViewMarker introduced by authz plugin in lineage plugin Aug 8, 2025
@codecov-commenter

codecov-commenter commented Aug 8, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.00%. Comparing base (6eb24bc) to head (42ac016).
⚠️ Report is 98 commits behind head on master.

Files with missing lines Patch % Lines
...in/lineage/helper/SparkSQLLineageParseHelper.scala 0.00% 4 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##           master   #7169   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files         701     701           
  Lines       43521   43525    +4     
  Branches     5899    5900    +1     
======================================
- Misses      43521   43525    +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wForget wForget self-assigned this Aug 13, 2025
@wForget wForget added this to the v1.11.0 milestone Aug 13, 2025
@wForget wForget closed this in 4c1412b Aug 13, 2025
@wForget

wForget commented Aug 13, 2025

Copy link
Copy Markdown
Member Author

Thanks, merged to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] The lineage plugin cannot capture lineage of view after integrating authz plugin

3 participants