Repository navigation
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #20369 +/- ##
============================================
- Coverage 71.45% 71.44% -0.02%
Complexity 1639 1639
============================================
Files 3609 3609
Lines 243835 243855 +20
Branches 39630 39631 +1
============================================
- Hits 174230 174215 -15
- Misses 56492 56522 +30
- Partials 13113 13118 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Jackie-Jiang
approved these changes
Nov 24, 2026
xiangfu0
force-pushed
the
xiangfu0/codex2/time-series-broker-permissions
branch
from
November 24, 2026 19:23
da815c8 to
9875526
Compare
Contributor
Author
|
The time-series guide now covers table permissions and row-level security: pinot-contrib/pinot-docs#1217. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Use the broker's requester check before time-series planning. ZooKeeper-backed authentication for this check landed in #20370. Check the caller's table grants across all leaves in the logical plan, then run the configured provider's fine-grained checks on the resolved table names. Apply both checks to execution, empty results, and EXPLAIN.
Time-series execution does not apply row filters. When row-level security is enabled and the caller has a filter on a referenced table, the broker denies the request. Deployments with a custom time-series EXPLAIN handler must implement the overload that accepts the caller identity and HTTP headers.
How to reproduce in a unit test
The broker unit test supplies a two-table logical plan and a mock provider that denies the second table. It covers regular execution, empty results, and EXPLAIN, as well as resolved-table denials and row-filter policies. The ZooKeeper Basic Auth tests from #20370 cover requester-only authentication with valid, missing, and invalid credentials.
Validation
90 tests passed after rebasing onto
3c43f6853c, acrossTimeSeriesRequestHandlerTest,TimeSeriesQueryEnvironmentTest,PinotClientRequestTest,BasicAuthAccessControlTest,ZkBasicAuthAccessControlFactoryTest, andPinotSinkIntegrationTest. Spotless, Checkstyle, license formatting and verification, and test compilation passed for the affected modules.