Open
Conversation
Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
…s expected. Signed-off-by: Johannes Kalmbach <[email protected]>
…s expected... Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2695 +/- ##
==========================================
- Coverage 91.60% 90.87% -0.74%
==========================================
Files 483 484 +1
Lines 41386 41890 +504
Branches 5496 5552 +56
==========================================
+ Hits 37912 38067 +155
- Misses 1897 2220 +323
- Partials 1577 1603 +26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
Overview
Conformance check passed ✅No test result changes. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




So far,
OPTIONALworked with lazy input only for the case of a single join column, and prefiltering was not yet implemented at all. NowOPTIONALworks with lazy input and prefiltering for both of the following two use cases. First, when there is only one join column. Second, when there are two join columns, one of which provably does not contain anyUNDEFvalues. Here is an example query, where the firstOPTIONALis of the first kind (single join column?astronaut) and the secondOPTIONALis of the second kind (join on?astronautand?label, where only?labelcan beUNDEF):On Wikidata, the query returns around 1000 astronauts, with their Hindi name if it exists, and their English name otherwise. With the current code, the query takes around
1s(because of the lack of prefiltering). With this change, the query takes around50ms. This is a dramatic improvement, which is typical when adding labels to a relatively small set of subjects