Skip to content

Conversation

@xiangfu0
Copy link
Contributor

Fix: #12245

@xiangfu0 xiangfu0 changed the title Fix chained literal functions evaluation [multistage]Fix chained literal functions evaluation Jan 10, 2024
@xiangfu0 xiangfu0 force-pushed the fixing-literal-evaluation branch 3 times, most recently from 6f28d39 to 3473fba Compare January 10, 2024 11:16
@codecov-commenter
Copy link

codecov-commenter commented Jan 10, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.56%. Comparing base (6bb387a) to head (66b015a).
⚠️ Report is 3032 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #12248      +/-   ##
============================================
- Coverage     61.58%   61.56%   -0.02%     
- Complexity     1152     1153       +1     
============================================
  Files          2415     2415              
  Lines        131476   131476              
  Branches      20303    20303              
============================================
- Hits          80963    80945      -18     
- Misses        44597    44613      +16     
- Partials       5916     5918       +2     
Flag Coverage Δ
custom-integration1 <0.01% <ø> (ø)
integration <0.01% <ø> (ø)
integration1 <0.01% <ø> (ø)
integration2 0.00% <ø> (ø)
java-11 61.52% <ø> (+0.02%) ⬆️
java-21 61.42% <ø> (-0.04%) ⬇️
skip-bytebuffers-false 61.55% <ø> (ø)
skip-bytebuffers-true 61.40% <ø> (-0.02%) ⬇️
temurin 61.56% <ø> (-0.02%) ⬇️
unittests 61.56% <ø> (-0.02%) ⬇️
unittests1 46.61% <ø> (+<0.01%) ⬆️
unittests2 27.76% <ø> (-0.02%) ⬇️

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.

@walterddr walterddr added bugfix multi-stage Related to the multi-stage query engine labels Jan 11, 2024
Copy link
Contributor

@walterddr walterddr left a comment

Choose a reason for hiding this comment

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

looks like the integration test error is legit. can we take a look?

@xiangfu0 xiangfu0 force-pushed the fixing-literal-evaluation branch from 3473fba to 56df27e Compare January 11, 2024 20:53
@xiangfu0
Copy link
Contributor Author

looks like the integration test error is legit. can we take a look?

yes, there is a missing check for cast and generate_array method catches it.

Will follow up another PR to support compile time all literal function evaluation when the return type is array.

@xiangfu0 xiangfu0 requested a review from walterddr January 12, 2024 02:35
@xiangfu0 xiangfu0 force-pushed the fixing-literal-evaluation branch from 56df27e to 66b015a Compare January 18, 2024 20:17
@xiangfu0 xiangfu0 merged commit 17e1aa1 into apache:master Jan 18, 2024
@xiangfu0 xiangfu0 deleted the fixing-literal-evaluation branch January 18, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix multi-stage Related to the multi-stage query engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[multistage][bug] multiple literal function chain didn't get evaluated as RexLiteral

3 participants