Skip to content

[multistage] Initial commit to support h2 testing#9406

Merged
siddharthteotia merged 3 commits intoapache:masterfrom
walterddr:pr_hook_up_h2_test
Sep 16, 2022
Merged

[multistage] Initial commit to support h2 testing#9406
siddharthteotia merged 3 commits intoapache:masterfrom
walterddr:pr_hook_up_h2_test

Conversation

@walterddr
Copy link
Contributor

@walterddr walterddr commented Sep 15, 2022

  • adding H2 connection to load the same dataset
  • verify the final result against entire query resultset
  • fix some bugs

@walterddr walterddr force-pushed the pr_hook_up_h2_test branch 2 times, most recently from e58d41b to 6b37689 Compare September 15, 2022 22:22
Rong Rong added 2 commits September 15, 2022 15:49
- adding H2 connection to load the same dataset
- verify the final result against entire query resultset
- make it stable by sending ts into order by as well
@codecov-commenter
Copy link

codecov-commenter commented Sep 15, 2022

Codecov Report

Merging #9406 (925dbeb) into master (61fc919) will decrease coverage by 0.05%.
The diff coverage is 86.20%.

@@             Coverage Diff              @@
##             master    #9406      +/-   ##
============================================
- Coverage     69.77%   69.71%   -0.06%     
+ Complexity     5092     5089       -3     
============================================
  Files          1890     1890              
  Lines        100654   100677      +23     
  Branches      15327    15334       +7     
============================================
- Hits          70231    70191      -40     
- Misses        25445    25498      +53     
- Partials       4978     4988      +10     
Flag Coverage Δ
integration1 26.01% <0.00%> (-0.07%) ⬇️
integration2 24.70% <0.00%> (-0.10%) ⬇️
unittests1 67.02% <86.20%> (-0.01%) ⬇️
unittests2 15.35% <84.48%> (+0.02%) ⬆️

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

Impacted Files Coverage Δ
...ot/common/function/scalar/ComparisonFunctions.java 25.00% <0.00%> (-3.58%) ⬇️
...not/sql/parsers/rewriter/QueryRewriterFactory.java 91.66% <ø> (ø)
...query/runtime/operator/operands/FilterOperand.java 66.07% <ø> (ø)
.../java/org/apache/pinot/spi/utils/BooleanUtils.java 33.33% <14.28%> (-66.67%) ⬇️
...not/query/planner/logical/RelToStageConverter.java 76.92% <50.00%> (ø)
...che/pinot/query/planner/logical/RexExpression.java 74.66% <100.00%> (+0.34%) ⬆️
...inot/query/planner/logical/RexExpressionUtils.java 96.42% <100.00%> (+0.42%) ⬆️
...he/pinot/query/runtime/operator/OperatorUtils.java 100.00% <100.00%> (ø)
...che/pinot/query/runtime/operator/SortOperator.java 87.50% <100.00%> (+4.48%) ⬆️
.../pinot/query/runtime/utils/ServerRequestUtils.java 82.97% <100.00%> (+1.36%) ⬆️
... and 29 more

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

Object v1 = o1[index];
Object v2 = o2[index];
int result;
if (_useDoubleComparison[i]) {
Copy link
Contributor

Choose a reason for hiding this comment

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

(nit) can avoid this if check by creating comparators upfront in the constructor

Copy link
Contributor

Choose a reason for hiding this comment

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

Actually nvm... it may then have to dereference the actual comparator anyway for dynamic dispatch. So probably not worth it

@siddharthteotia siddharthteotia merged commit bfa2a5a into apache:master Sep 16, 2022
@Jackie-Jiang Jackie-Jiang added the multi-stage Related to the multi-stage query engine label Sep 19, 2022
@walterddr walterddr deleted the pr_hook_up_h2_test branch December 6, 2023 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

multi-stage Related to the multi-stage query engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants