-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Compound select statements ending in a VALUES-clause do not work properly. #2316
Comments
One for @MKleusberg ... |
This disables the lazy population feature for queries in the Execute SQL tab which contain a compound operator (UNION, EXCEPT, INTERSECT). Adding a LIMIT clause to the statements (as needed for lazy population) results in a syntax error, so running these queries does not show any data. See issue #2316.
Thank you for reporting this issue! The problem is that we add a Currently it's very hard for us to figure out when adding a Can you try tomorrow's nightly build (https://nightlies.sqlitebrowser.org/latest/) and see if it's working for you? |
Sounds like a candidate for 3.12.1 too. 😄 |
WOW! I didn't actually except a response this fast. The nightly build you linked produces the correct output for the problematic queries, and it seems to run just fine on all the databases I have lying around locally :) |
Awesome. 😄 @MKleusberg Is this suitable for 3.12.1? |
@justinclift Yeah, why not 😄 |
This disables the lazy population feature for queries in the Execute SQL tab which contain a compound operator (UNION, EXCEPT, INTERSECT). Adding a LIMIT clause to the statements (as needed for lazy population) results in a syntax error, so running these queries does not show any data. See issue #2316.
Executing a compound select statement of the form
results in a table that has the same shape as the actual result, but every cell is shaded red and contains
loading...
in italic. Currently, I can work around this by swapping the operands of the[set-operator]
(unless it isexcept
or both operands arevalues
clauses), or by wrapping thevalues
clause or the entire compound select statement in awith
clause and selecting from it, i.e.The text was updated successfully, but these errors were encountered: