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

Add check to ensure sorted Distinct input #1854

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RobinTF
Copy link
Collaborator

@RobinTF RobinTF commented Mar 6, 2025

Inspired by #1835 (comment) @joka921 we should discuss this. Technically requiring a sorted input is too strict of a requirement. In theory you could have an input that is not sorted, but as long as the same values are grouped together it doesn't matter.
We could automatically add a sort operation when the input is not sufficiently sorted, but there are many possible orders, and we run the risk of choosing a sort order that is suboptimal if we want to expand on the whole "keep sort order only when necessary" thing that is being introduced for Union.

@sparql-conformance
Copy link

Copy link

codecov bot commented Mar 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.20%. Comparing base (d088e8a) to head (16142e9).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1854      +/-   ##
==========================================
- Coverage   90.21%   90.20%   -0.01%     
==========================================
  Files         400      400              
  Lines       38525    38532       +7     
  Branches     4323     4323              
==========================================
+ Hits        34756    34759       +3     
  Misses       2477     2477              
- Partials     1292     1296       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

sonarqubecloud bot commented Mar 6, 2025

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.

1 participant