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

Better error message for accidental Cartesian-product join #1339

Merged

Conversation

joka921
Copy link
Member

@joka921 joka921 commented May 3, 2024

Mistyping a variable can easily lead to a Cartesian-product join with a very large result, for example: https://qlever.cs.uni-freiburg.de/wikidata/h6p82D . This change provides a more helpful error message in case that happens, as suggested in #1309.

@hannahbast hannahbast changed the title A better error message for accidental cartesian product joins. Better error message for accidental Cartesian-product joins May 3, 2024
Copy link

codecov bot commented May 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.82%. Comparing base (e9daed0) to head (fbd43e0).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1339   +/-   ##
=======================================
  Coverage   88.82%   88.82%           
=======================================
  Files         322      322           
  Lines       28548    28556    +8     
  Branches     3149     3149           
=======================================
+ Hits        25357    25365    +8     
  Misses       2049     2049           
  Partials     1142     1142           

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

Copy link

sonarqubecloud bot commented May 6, 2024

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Member

@hannahbast hannahbast left a comment

Choose a reason for hiding this comment

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

Thanks + will merge this now!

@hannahbast hannahbast changed the title Better error message for accidental Cartesian-product joins Better error message for accidental Cartesian-product join May 6, 2024
@hannahbast hannahbast merged commit 8ffe9a4 into ad-freiburg:master May 6, 2024
19 checks passed
@joka921 joka921 deleted the error-message-oom-cartesian-product branch December 18, 2024 09:48
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.

2 participants