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

fix(codegen): loop combing should not reuse same count value for different columns #1997

Merged
merged 5 commits into from
Jun 22, 2022

Conversation

aceforeverd
Copy link
Collaborator

@aceforeverd aceforeverd commented Jun 17, 2022

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

… contains

null

use a list of count instead single count variable to indicate whether the corresponding output of column should be null
@github-actions github-actions bot added the execute-engine hybridse sql engine label Jun 17, 2022
@aceforeverd
Copy link
Collaborator Author

@codecov
Copy link

codecov bot commented Jun 17, 2022

Codecov Report

Merging #1997 (61667ba) into main (74217a9) will increase coverage by 0.02%.
The diff coverage is 96.72%.

@@             Coverage Diff              @@
##               main    #1997      +/-   ##
============================================
+ Coverage     75.62%   75.64%   +0.02%     
  Complexity      347      347              
============================================
  Files           614      614              
  Lines        116995   116978      -17     
  Branches       1022     1022              
============================================
+ Hits          88474    88486      +12     
+ Misses        28312    28283      -29     
  Partials        209      209              
Impacted Files Coverage Δ
hybridse/include/node/sql_node.h 83.41% <ø> (+0.01%) ⬆️
hybridse/src/node/sql_node.cc 79.92% <84.61%> (+0.03%) ⬆️
hybridse/src/codegen/aggregate_ir_builder.cc 97.05% <100.00%> (-0.15%) ⬇️
hybridse/src/codegen/aggregate_ir_builder.h 95.45% <100.00%> (-4.55%) ⬇️
hybridse/src/codegen/fn_let_ir_builder.cc 95.34% <100.00%> (-0.08%) ⬇️
hybridse/src/planv2/ast_node_converter.cc 94.35% <100.00%> (+<0.01%) ⬆️
hybridse/src/planv2/ast_node_converter_test.cc 95.52% <100.00%> (-0.02%) ⬇️
hybridse/src/planv2/planner_v2_test.cc 96.07% <100.00%> (+0.02%) ⬆️
...s/query_response_time/deploy_query_response_time.h 81.25% <0.00%> (-18.75%) ⬇️
... and 16 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74217a9...61667ba. Read the comment docs.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 17, 2022

SDK Test Report

  75 files    75 suites   5m 33s ⏱️
163 tests 161 ✔️ 2 💤 0
204 runs  202 ✔️ 2 💤 0

Results for commit 61667ba.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 17, 2022

HybridSE Linux Test Report

19 091 tests   19 089 ✔️  5m 32s ⏱️
     235 suites           2 💤
       67 files             0

Results for commit 61667ba.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 17, 2022

HybridSE Mac Test Report

19 091 tests   19 089 ✔️  6m 50s ⏱️
     235 suites           2 💤
       67 files             0

Results for commit 61667ba.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 17, 2022

Linux Test Report

       57 files       196 suites   50m 37s ⏱️
  8 961 tests   8 957 ✔️ 4 💤 0
13 187 runs  13 183 ✔️ 4 💤 0

Results for commit 61667ba.

♻️ This comment has been updated with latest results.

@aceforeverd aceforeverd self-assigned this Jun 20, 2022
@aceforeverd aceforeverd changed the title fix(codegen): loop combing bug fix(codegen): loop combing for min/max/avg/sum/count should not reuse same count value for different columns Jun 21, 2022
Copy link
Collaborator

@tobegit3hub tobegit3hub left a comment

Choose a reason for hiding this comment

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

LGTM

@aceforeverd aceforeverd changed the title fix(codegen): loop combing for min/max/avg/sum/count should not reuse same count value for different columns fix(codegen): loop combing should not reuse same count value for different columns Jun 21, 2022
Copy link
Collaborator

@zhanghaohit zhanghaohit left a comment

Choose a reason for hiding this comment

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

LGTM

@aceforeverd aceforeverd merged commit 97edbcf into 4paradigm:main Jun 22, 2022
@aceforeverd aceforeverd deleted the fix-1927 branch June 22, 2022 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
execute-engine hybridse sql engine
Projects
None yet
4 participants