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

[multistage][test] add from expression queries #9782

Merged
merged 4 commits into from
Nov 21, 2022

Conversation

walterddr
Copy link
Contributor

@walterddr walterddr commented Nov 10, 2022

from PostgresQL doc section 7.2.1
mostly testing the join features
depend on #9807

@codecov-commenter
Copy link

codecov-commenter commented Nov 10, 2022

Codecov Report

Merging #9782 (37c3108) into master (73e6129) will increase coverage by 45.67%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #9782       +/-   ##
=============================================
+ Coverage     24.55%   70.22%   +45.67%     
- Complexity       53     4920     +4867     
=============================================
  Files          1952     1964       +12     
  Lines        104676   105029      +353     
  Branches      15856    15894       +38     
=============================================
+ Hits          25700    73755    +48055     
+ Misses        76347    26137    -50210     
- Partials       2629     5137     +2508     
Flag Coverage Δ
integration1 25.23% <ø> (?)
integration2 24.37% <ø> (-0.18%) ⬇️
unittests1 67.86% <ø> (?)
unittests2 15.77% <ø> (?)

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

Impacted Files Coverage Δ
...query/runtime/operator/operands/FilterOperand.java 83.90% <ø> (+83.90%) ⬆️
...tream/kafka20/server/KafkaDataServerStartable.java 72.91% <0.00%> (-6.25%) ⬇️
...pache/pinot/core/query/utils/idset/EmptyIdSet.java 25.00% <0.00%> (ø)
...ot/common/function/scalar/ComparisonFunctions.java 42.85% <0.00%> (ø)
...anager/realtime/SegmentBuildTimeLeaseExtender.java 63.23% <0.00%> (ø)
...org/apache/pinot/ingestion/utils/PushLocation.java 72.72% <0.00%> (ø)
...api/resources/ControllerEchoWithAutoDiscovery.java 0.00% <0.00%> (ø)
...ker/api/resources/BrokerEchoWithAutoDiscovery.java 0.00% <0.00%> (ø)
.../pinot/ingestion/jobs/SegmentPreprocessingJob.java 0.00% <0.00%> (ø)
...apache/pinot/ingestion/jobs/SegmentUriPushJob.java 0.00% <0.00%> (ø)
... and 1438 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 November 10, 2022 23:12
@walterddr walterddr added the multi-stage Related to the multi-stage query engine label Nov 15, 2022
@walterddr walterddr changed the title [draft] add join queries [multistage][test] add join queries Nov 15, 2022
@walterddr walterddr force-pushed the pr_add_join_tests branch 2 times, most recently from 431397d to 8cefcc3 Compare November 16, 2022 01:43
}
]
},
"extended_join_features": {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we have a test where left or right table is empty?
Can we add join with using condition and where exists?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

  • added several where clauses that matches nothing on left or right table already. but yes I can add several explicit joins where left or right table is entirely empty
  • where exists is not supported.

Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm...last time I tested where exists, it was supported. Let me double check

Copy link
Contributor Author

Choose a reason for hiding this comment

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

where exists is also added in #9817 and ignored.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added empty table explicit tests

@walterddr walterddr changed the title [multistage][test] add join queries [multistage][test] add from expression queries Nov 16, 2022
@siddharthteotia siddharthteotia merged commit 84b8563 into apache:master Nov 21, 2022
@walterddr walterddr deleted the pr_add_join_tests 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.

5 participants