qlever icon indicating copy to clipboard operation
qlever copied to clipboard

Make operations aware whether the sorting they provide is required

Open joka921 opened this issue 1 year ago • 2 comments

Some operations like merge joins on sorted inputs automatically create a sorted result and also announce this sorting in their interface. Make such operations aware whether this sorting is actually required by the parent operation. If this is not the case, they can also resort to a cheaper implementation that doesn't provide the sorting (for example a hash join on unsorted input)

joka921 avatar Mar 29 '23 08:03 joka921

Codecov Report

Patch coverage: 60.16% and project coverage change: +0.02 :tada:

Comparison is base (e3060fc) 72.58% compared to head (975480b) 72.61%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #932      +/-   ##
==========================================
+ Coverage   72.58%   72.61%   +0.02%     
==========================================
  Files         250      250              
  Lines       24247    24229      -18     
  Branches     3085     3083       -2     
==========================================
- Hits        17600    17593       -7     
+ Misses       5375     5369       -6     
+ Partials     1272     1267       -5     
Impacted Files Coverage Δ
src/engine/QueryExecutionTree.h 60.00% <ø> (ø)
src/engine/QueryPlanner.h 60.00% <ø> (ø)
src/engine/TextOperationWithFilter.cpp 55.55% <0.00%> (ø)
src/engine/TextOperationWithFilter.h 73.91% <0.00%> (ø)
src/engine/TextOperationWithoutFilter.cpp 69.72% <0.00%> (ø)
src/engine/TextOperationWithoutFilter.h 89.47% <0.00%> (ø)
src/engine/TransitivePath.cpp 24.23% <0.00%> (ø)
src/engine/IndexScan.cpp 72.11% <54.54%> (+0.48%) :arrow_up:
src/engine/Join.cpp 76.32% <62.50%> (ø)
src/engine/Operation.cpp 53.17% <74.46%> (ø)
... and 8 more

... and 2 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Mar 29 '23 09:03 codecov[bot]

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar May 04 '23 09:05 sonarqubecloud[bot]