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

Retain boolean type from CLPLogRecordExtractor decoder. #14497

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

jackluo923
Copy link
Contributor

This PR updates the behavior of CLPLogRecordExtractor to prevent Boolean fields from being cast to the string type. Searching for Boolean values in a string column can be confusing, particularly for users accustomed to different programming languages. For instance, Python uses True, while Java uses true, leading to potential inconsistencies.

@codecov-commenter
Copy link

codecov-commenter commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.76%. Comparing base (59551e4) to head (91059cd).
Report is 1361 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #14497      +/-   ##
============================================
+ Coverage     61.75%   63.76%   +2.01%     
- Complexity      207     1566    +1359     
============================================
  Files          2436     2668     +232     
  Lines        133233   146470   +13237     
  Branches      20636    22467    +1831     
============================================
+ Hits          82274    93399   +11125     
- Misses        44911    46149    +1238     
- Partials       6048     6922     +874     
Flag Coverage Δ
custom-integration1 100.00% <ø> (+99.99%) ⬆️
integration 100.00% <ø> (+99.99%) ⬆️
integration1 100.00% <ø> (+99.99%) ⬆️
integration2 0.00% <ø> (ø)
java-11 63.73% <ø> (+2.02%) ⬆️
java-21 63.64% <ø> (+2.01%) ⬆️
skip-bytebuffers-false 63.75% <ø> (+2.00%) ⬆️
skip-bytebuffers-true 63.61% <ø> (+35.88%) ⬆️
temurin 63.76% <ø> (+2.01%) ⬆️
unittests 63.76% <ø> (+2.01%) ⬆️
unittests1 55.55% <ø> (+8.66%) ⬆️
unittests2 34.06% <ø> (+6.33%) ⬆️

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.


🚨 Try these New Features:

@deemoliu deemoliu merged commit 96bf183 into apache:master Nov 20, 2024
21 checks passed
davecromberge pushed a commit to davecromberge/pinot that referenced this pull request Nov 22, 2024
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.

3 participants