Skip to content

Conversation

@krishan1390
Copy link
Contributor

@krishan1390 krishan1390 commented Dec 29, 2025

Pinot segment stores the default value for nulls. Thus the GenericRow returned by PinotSegmentRecordReader returns the default value in row.getValue(column).

This leads to an issue when a transformer expression requires such a column because the transform expression is evaluated on the default value.

eg: concat(source_column, '_SUFFIX', '') results in null_SUFFIX rather than null

This PR fixes that

Tags - bugfix,backward-incompat

@codecov-commenter
Copy link

codecov-commenter commented Dec 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.35%. Comparing base (7dacea4) to head (2122ba6).
⚠️ Report is 15 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17434      +/-   ##
============================================
+ Coverage     63.28%   63.35%   +0.06%     
  Complexity     1474     1474              
============================================
  Files          3154     3155       +1     
  Lines        188007   188119     +112     
  Branches      28782    28793      +11     
============================================
+ Hits         118984   119185     +201     
+ Misses        59801    59716      -85     
+ Partials       9222     9218       -4     
Flag Coverage Δ
custom-integration1 100.00% <ø> (ø)
integration 100.00% <ø> (ø)
integration1 100.00% <ø> (ø)
integration2 0.00% <ø> (ø)
java-11 63.30% <100.00%> (+0.06%) ⬆️
java-21 63.29% <100.00%> (+0.07%) ⬆️
temurin 63.35% <100.00%> (+0.06%) ⬆️
unittests 63.35% <100.00%> (+0.06%) ⬆️
unittests1 55.68% <0.00%> (+0.02%) ⬆️
unittests2 34.01% <100.00%> (+0.05%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 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.

@krishan1390 krishan1390 marked this pull request as draft December 29, 2025 08:04
@krishan1390
Copy link
Contributor Author

This is not required as it can be enabled via configuring _skipDefaultNullValues in Pinot segment record reader

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.

2 participants