Skip to content

Conversation

@AngersZhuuuu
Copy link
Contributor

@AngersZhuuuu AngersZhuuuu commented Oct 26, 2023

Why are the changes needed?

To close #5472 .
Check permanent view also need support merge projection

For case SELECT count(id) FROM $db1.$view1 WHERE id > 10 we only need to check id, before this pr, we need to check id, scope.

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before make a pull request

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

@AngersZhuuuu
Copy link
Contributor Author

ping @yaooqinn

@codecov-commenter
Copy link

codecov-commenter commented Oct 26, 2023

Codecov Report

Merging #5542 (fd63c5a) into master (ceb8453) will increase coverage by 0.06%.
Report is 2 commits behind head on master.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #5542      +/-   ##
============================================
+ Coverage     61.32%   61.38%   +0.06%     
  Complexity       23       23              
============================================
  Files           598      598              
  Lines         34254    34258       +4     
  Branches       4488     4489       +1     
============================================
+ Hits          21006    21030      +24     
+ Misses        11122    11102      -20     
  Partials       2126     2126              
Files Coverage Δ
.../kyuubi/plugin/spark/authz/PrivilegesBuilder.scala 91.66% <100.00%> (+0.14%) ⬆️
...rk/authz/ranger/RuleApplyPermanentViewMarker.scala 94.11% <100.00%> (+0.36%) ⬆️
.../plugin/spark/authz/util/PermanentViewMarker.scala 85.71% <100.00%> (+2.38%) ⬆️

... and 14 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

…kyuubi/plugin/spark/authz/PrivilegesBuilder.scala

Co-authored-by: Bowen Liang <bowenliang@apache.org>
…kyuubi/plugin/spark/authz/PrivilegesBuilder.scala
@pan3793 pan3793 added this to the v1.9.0 milestone Oct 27, 2023
@pan3793 pan3793 closed this in 3fefc7d Oct 27, 2023
@pan3793
Copy link
Member

pan3793 commented Oct 27, 2023

Merged to master, @AngersZhuuuu could you please open a PR for branch-1.8? this are conflicts

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.

[TASK][EASY] Permanent View should pass column when child plan no output

4 participants