Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DECIMAL data type to orc record reader #11377

Merged
merged 2 commits into from Aug 19, 2023

Conversation

KKcorps
Copy link
Contributor

@KKcorps KKcorps commented Aug 17, 2023

It is already supported in AVRO so should be supported in other record readers as well.

The output is a String to preserve the long precision values.

@codecov-commenter
Copy link

codecov-commenter commented Aug 17, 2023

Codecov Report

Merging #11377 (abaffe9) into master (75ab18b) will decrease coverage by 0.09%.
Report is 8 commits behind head on master.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##             master   #11377      +/-   ##
============================================
- Coverage     61.52%   61.43%   -0.09%     
  Complexity     6513     6513              
============================================
  Files          2233     2233              
  Lines        120083   120150      +67     
  Branches      18223    18235      +12     
============================================
- Hits          73878    73813      -65     
- Misses        40798    40920     +122     
- Partials       5407     5417      +10     
Flag Coverage Δ
integration1 0.00% <0.00%> (ø)
integration2 0.00% <0.00%> (ø)
java-11 47.92% <0.00%> (-13.57%) ⬇️
java-17 0.00% <0.00%> (-61.36%) ⬇️
java-20 61.30% <66.66%> (-0.09%) ⬇️
temurin 61.43% <66.66%> (-0.09%) ⬇️
unittests1 66.95% <ø> (-0.04%) ⬇️
unittests2 14.59% <66.66%> (-0.07%) ⬇️

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

Files Changed Coverage Δ
.../pinot/plugin/inputformat/orc/ORCRecordReader.java 74.53% <66.66%> (-0.31%) ⬇️

... and 41 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@Jackie-Jiang Jackie-Jiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be good to add a test for this type

@KKcorps KKcorps merged commit dd22f8b into apache:master Aug 19, 2023
21 checks passed
saurabhd336 pushed a commit to saurabhd336/pinot that referenced this pull request Aug 23, 2023
* Add DECIMAL data type to orc record reader

* Add test

---------

Co-authored-by: Kartik Khare <kharekartik@Kartiks-MacBook-Pro.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants