Skip to content

branch-4.2: [fix](fe) Use service-specific Ranger select access types #67206 - #70035

Merged
yiguolei merged 1 commit into
apache:branch-4.2from
morrySnow:codex/branch-4.2-pick-67206
Nov 5, 2026
Merged

yiguolei merged 1 commit into
apache:branch-4.2from
morrySnow:codex/branch-4.2-pick-67206

Conversation

@morrySnow

Copy link
Copy Markdown
Contributor

picked from master #67206

### What problem does this PR solve?

Related PR: apache#67206

Problem Summary: Ranger Hive 的行过滤和脱敏请求仍使用大写 SELECT,可能漏用小写 select 策略

Backport adaptation: Remove master-only lifecycleLock reflection setup from the test; branch-4.2 has no lifecycle lock. Preserve both lowercase policy request assertions and access-type mapping tests.

### Release note

Ranger Hive 的行过滤和脱敏请求仍使用大写 SELECT,可能漏用小写 select 策略

### Check List (For Author)

- Test: Unit Test — org.apache.doris.catalog.authorizer.ranger.hive.RangerHiveAccessControllerTest; FE Checkstyle passed. Cluster regression tests were not run for this commit.
- Behavior changed: Yes, fixes the behavior described above.
- Does this need documentation: No

(cherry picked from commit bd97364)
@morrySnow

Copy link
Copy Markdown
Contributor Author

run buildall

@morrySnow
morrySnow requested a review from yiguolei as a code owner November 3, 2026 04:57
@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@hello-stephen

Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 87.50% (7/8) 🎉
Increment coverage report
Complete coverage report

@yiguolei

yiguolei commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

skip buildall

@yiguolei
yiguolei merged commit 20d8dc9 into apache:branch-4.2 Nov 5, 2026
30 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants