Skip to content

Comments

[multistage] add LEFT JOIN#9446

Merged
walterddr merged 2 commits intoapache:masterfrom
walterddr:pr_left_join
Sep 29, 2022
Merged

[multistage] add LEFT JOIN#9446
walterddr merged 2 commits intoapache:masterfrom
walterddr:pr_left_join

Conversation

@walterddr
Copy link
Contributor

@walterddr walterddr commented Sep 22, 2022

Support LEFT JOIN

  • make join type used in null value filling
  • handle null value using CASE WHEN explicitly

This PR doesn't handle implicit null value handle.

@codecov-commenter
Copy link

codecov-commenter commented Sep 22, 2022

Codecov Report

Merging #9446 (4936d21) into master (3057712) will decrease coverage by 5.03%.
The diff coverage is 95.65%.

@@             Coverage Diff              @@
##             master    #9446      +/-   ##
============================================
- Coverage     68.66%   63.62%   -5.04%     
+ Complexity     5136     4801     -335     
============================================
  Files          1916     1863      -53     
  Lines        102069    99764    -2305     
  Branches      15481    15218     -263     
============================================
- Hits          70083    63479    -6604     
- Misses        26980    31608    +4628     
+ Partials       5006     4677     -329     
Flag Coverage Δ
integration1 ?
unittests1 67.11% <95.65%> (-0.01%) ⬇️
unittests2 15.57% <95.65%> (+0.05%) ⬆️

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

Impacted Files Coverage Δ
...pinot/query/runtime/operator/HashJoinOperator.java 82.60% <85.71%> (+0.51%) ⬆️
...rg/apache/pinot/query/service/QueryDispatcher.java 79.00% <100.00%> (+1.58%) ⬆️
...va/org/apache/pinot/core/routing/RoutingTable.java 0.00% <0.00%> (-100.00%) ⬇️
...va/org/apache/pinot/common/config/NettyConfig.java 0.00% <0.00%> (-100.00%) ⬇️
...a/org/apache/pinot/common/metrics/MinionMeter.java 0.00% <0.00%> (-100.00%) ⬇️
...g/apache/pinot/common/metrics/ControllerMeter.java 0.00% <0.00%> (-100.00%) ⬇️
.../apache/pinot/common/metrics/BrokerQueryPhase.java 0.00% <0.00%> (-100.00%) ⬇️
.../apache/pinot/common/metrics/MinionQueryPhase.java 0.00% <0.00%> (-100.00%) ⬇️
...ache/pinot/server/access/AccessControlFactory.java 0.00% <0.00%> (-100.00%) ⬇️
...he/pinot/common/messages/TableDeletionMessage.java 0.00% <0.00%> (-100.00%) ⬇️
... and 379 more

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

@walterddr walterddr marked this pull request as ready for review September 22, 2022 19:47
@walterddr walterddr merged commit 14e3670 into apache:master Sep 29, 2022
61yao pushed a commit to 61yao/pinot that referenced this pull request Oct 3, 2022
* adding LEFT JOIN
* also add test for null after and fix case when

Co-authored-by: Rong Rong <rongr@startree.ai>
@walterddr walterddr deleted the pr_left_join branch December 6, 2023 16:23
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.

4 participants