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

Adds support for DISTINCT in the Planner #1293

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

johnedquinn
Copy link
Member

Relevant Issues

Description

  • I was adding DISTINCT to the evaluator, and I noticed it was missing in the plan.
  • This PR adds support for DISTINCT in the Planner

Other Information

License Information

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link

github-actions bot commented Dec 8, 2023

Conformance comparison report

Base (ddd642d) 2a3324e +/-
% Passing 92.54% 92.54% 0.00%
✅ Passing 5384 5384 0
❌ Failing 434 434 0
🔶 Ignored 0 0 0
Total Tests 5818 5818 0

Number passing in both: 5384

Number failing in both: 434

Number passing in Base (ddd642d) but now fail: 0

Number failing in Base (ddd642d) but now pass: 0

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ddd642d) 72.21% compared to head (f505d29) 72.21%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1293   +/-   ##
=========================================
  Coverage     72.21%   72.21%           
  Complexity     2100     2100           
=========================================
  Files           222      222           
  Lines         16019    16019           
  Branches       2891     2891           
=========================================
  Hits          11568    11568           
  Misses         3635     3635           
  Partials        816      816           
Flag Coverage Δ
CLI 13.43% <ø> (ø)
EXAMPLES 80.28% <ø> (ø)
LANG 80.58% <ø> (ø)

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.

@johnedquinn johnedquinn marked this pull request as ready for review December 8, 2023 23:13
Comment on lines +201 to +202
val input = visitRel(node.input, ctx)
return rel(input.type, relOpDistinct(input))
Copy link
Contributor

Choose a reason for hiding this comment

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

will need to update transpiler

@johnedquinn johnedquinn merged commit 55c7a2a into main Dec 11, 2023
@johnedquinn johnedquinn deleted the add-distinct-to-planner branch March 7, 2024 18:44
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.

3 participants