starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

[Enhancement] Support column access privilege for Ranger

Open HangyuanLiu opened this issue 1 year ago • 3 comments

Why I'm doing:

What I'm doing:

Fixes #issue

What type of PR is this:

  • [ ] BugFix
  • [ ] Feature
  • [x] Enhancement
  • [ ] Refactor
  • [ ] UT
  • [ ] Doc
  • [ ] Tool

Does this PR entail a change in behavior?

  • [x] Yes, this PR will result in a change in behavior.
  • [ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

  • [ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
  • [ ] Parameter changes: default values, similar parameters but with different default values
  • [ ] Policy changes: use new policy to replace old one, functionality automatically enabled
  • [ ] Feature removed
  • [x] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

  • [ ] I have added test cases for my bug fix or my new feature
  • [ ] This pr needs user documentation (for new or modified features or behaviors)
    • [ ] I have added documentation for my new feature or new function
  • [ ] This is a backport pr

Bugfix cherry-pick branch check:

  • [x] I have checked the version labels which the pr will be auto-backported to the target branch
    • [x] 3.3
    • [x] 3.2
    • [ ] 3.1
    • [ ] 3.0
    • [ ] 2.5

HangyuanLiu avatar Jul 01 '24 11:07 HangyuanLiu

[FE Incremental Coverage Report]

:x: fail : 73 / 142 (51.41%)

file detail

path covered_line new_line coverage not_covered_line_detail
:large_blue_circle: com/starrocks/privilege/ranger/hive/RangerHiveAccessController.java 0 6 00.00% [82, 83, 84, 85, 86, 88]
:large_blue_circle: com/starrocks/privilege/ranger/starrocks/RangerStarRocksAccessController.java 0 7 00.00% [153, 154, 155, 156, 157, 158, 160]
:large_blue_circle: com/starrocks/privilege/ColumnPrivilege.java 53 109 48.62% [54, 65, 78, 80, 82, 83, 85, 86, 87, 88, 89, 90, 91, 93, 98, 99, 101, 103, 104, 105, 106, 107, 108, 109, 110, 160, 161, 162, 163, 167, 168, 169, 170, 175, 176, 177, 179, 180, 183, 184, 185, 186, 187, 188, 208, 209, 210, 211, 216, 217, 218, 219, 224, 225, 226, 227]
:large_blue_circle: com/starrocks/sql/analyzer/AuthorizerStmtVisitor.java 19 19 100.00% []
:large_blue_circle: com/starrocks/sql/StatementPlanner.java 1 1 100.00% []

github-actions[bot] avatar Jul 02 '24 15:07 github-actions[bot]

[BE Incremental Coverage Report]

:white_check_mark: pass : 0 / 0 (0%)

github-actions[bot] avatar Jul 02 '24 15:07 github-actions[bot]

@Mergifyio backport branch-3.3

github-actions[bot] avatar Jul 03 '24 07:07 github-actions[bot]

@Mergifyio backport branch-3.2

github-actions[bot] avatar Jul 03 '24 07:07 github-actions[bot]

backport branch-3.3

✅ Backports have been created

mergify[bot] avatar Jul 03 '24 07:07 mergify[bot]

backport branch-3.2

✅ Backports have been created

mergify[bot] avatar Jul 03 '24 07:07 mergify[bot]