Skip to content

Support UUID literals in request context - #19155

Merged
xiangfu0 merged 2 commits into
apache:masterfrom
xiangfu0:agent/uuid-literal-context
Aug 4, 2026
Merged

Support UUID literals in request context#19155
xiangfu0 merged 2 commits into
apache:masterfrom
xiangfu0:agent/uuid-literal-context

Conversation

@xiangfu0

@xiangfu0 xiangfu0 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

What

  • map DataType.UUID to PinotDataType.UUID in LiteralContext
  • serialize folded java.util.UUID values through the existing binary literal field
  • cover direct literal conversion and CAST(... AS UUID) folding

Why

PR #18872 currently carries UUID literal plumbing alongside server-side predicate and transform changes. This extracts that plumbing into a small prerequisite PR and keeps the existing request wire format unchanged.

Validation

  • LiteralContextTest and RequestUtilsTest: 33 tests, 0 failures
  • spotless:apply, license:format, checkstyle:check, and license:check on pinot-common

@codecov-commenter

codecov-commenter commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.78%. Comparing base (62b4263) to head (09a8e93).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #19155   +/-   ##
=========================================
  Coverage     65.78%   65.78%           
  Complexity     1423     1423           
=========================================
  Files          3441     3441           
  Lines        218303   218324   +21     
  Branches      34728    34739   +11     
=========================================
+ Hits         143609   143635   +26     
+ Misses        63119    63104   -15     
- Partials      11575    11585   +10     
Flag Coverage Δ
custom-integration1 100.00% <ø> (ø)
integration 100.00% <ø> (ø)
integration1 100.00% <ø> (ø)
integration2 0.00% <ø> (ø)
java-25 65.78% <100.00%> (+<0.01%) ⬆️
temurin 65.78% <100.00%> (+<0.01%) ⬆️
unittests 65.78% <100.00%> (+<0.01%) ⬆️
unittests1 57.11% <100.00%> (-0.01%) ⬇️
unittests2 38.03% <0.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@xiangfu0
xiangfu0 marked this pull request as ready for review August 4, 2026 17:37
@Jackie-Jiang Jackie-Jiang added the feature New functionality label Aug 4, 2026
@xiangfu0
xiangfu0 merged commit 3f7a922 into apache:master Aug 4, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants