starrocks
starrocks copied to clipboard
[Enhancement] Support column access privilege for Ranger
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
Quality Gate passed
Issues
6 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
[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% | [] |
[BE Incremental Coverage Report]
:white_check_mark: pass : 0 / 0 (0%)
@Mergifyio backport branch-3.3
@Mergifyio backport branch-3.2
backport branch-3.3
✅ Backports have been created
- #47793 [Enhancement] Support column access privilege for Ranger (backport #47702) has been created for branch
branch-3.3but encountered conflicts
backport branch-3.2
✅ Backports have been created
- #47794 [Enhancement] Support column access privilege for Ranger (backport #47702) has been created for branch
branch-3.2but encountered conflicts