Fix RETURN true, false query
[master < Task] PR
- [ ] Update changelog
- [x] Provide the full content or a guide for the final git message ->
Fix RETURN true, false query
Fixes #470
This is a specific solution to a more general problem. The issue is that we replace all returns of constant expressions with default values,
true,0,0.0, and this solves only the bool part, but e.g.RETURN 1,2;andRETURN 0.1, 0.2;still fails. I would close this issue when all of the cases are covered.
You're right and good catch! I would explore a bit more to find more details on what actually has to be done and then decide, stay tuned... + moving this PR to the Draft stage
Closing this in the end, because the solution is not full + it's easy to write an alternative query that will work (using aliases).