-
Notifications
You must be signed in to change notification settings - Fork 7
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
Negated Atom with Constant in Body causes unexpected behavior #434
Comments
Seems to be tricky since some part of the execution planning process rely on the fact that the variable order does not include variables that only occur in negated atoms. |
Also, I'm not getting the mentioned error.
I do not get an error at all but the result for
I get an error but another one:
|
I think this is rather an issue in planning than in the variable order generation. |
Yes I would also expect this to be planning issue, because normally the planning code is responsible for handling fresh variables by augmenting the given variable order somehow |
After the fix in #435 both
and
have the same behavior of deriving no facts for |
I did some further investigation, and it seems addressing this needs some larger architectural changes. Currently there is just no way to handle tables with 0 columns through the |
I think this indeed the same issue as in #193. |
Might potentially be solved by #512. |
Following program
is normalized to
Now
?x
is a unsafe variable, which the variable order generation code is not prepared to handle, leading to a runtime error:This is one half of the problem in #428.
The text was updated successfully, but these errors were encountered: