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
OPTIONAL leads to no results #108
Comments
So here is what I could gather so far. It doesn't seem to be the
gives the exact execution plan of the right side of the following queries' outer most
qlever_log_optional_sort_2.txt So to me it looks like |
Ok so the problem is that the result of the
and the So @floriankramer @Buchhold we should either document that the size estimate may only be 0 iff it is exactly known. Or we need to change the test for |
Don't estimate OPTIONAL_JOIN size as 0 fixes #108
The following query generated by Aqqu for the "start of Hoover's (
fb:m.03kdl
) presidency" yields no results.Removing the
OPTIONAL
line however reveals there should be a result.It doesn't seem to be related to
?1
not having that relation at all however as removingwhich restricts to the "President of the United States" also yields the result.
This is the QLever log: qlever_log_optional_sort.txt
my guess would be that the
SORT
operation is not propagating the_isOptional
flag correctly. I'll investigate later.The text was updated successfully, but these errors were encountered: