We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I noticed that a query like values_ [] (against Postgres) produces invalid SQL like this:
values_ []
SELECT "t0"."res0" as "res0", ... FROM (VALUES ) AS "t0"("res0",...)
The empty VALUES statement causes an error syntax error at or near ")". Maybe it should accept a Data.List.NonEmpty list instead?
VALUES
syntax error at or near ")"
Data.List.NonEmpty
The text was updated successfully, but these errors were encountered:
I'm wondering if there are any workarounds emitting different SQL. The closest I could come up with was:
select * from (select * from (values (null, null)) as dummy(x, y) limit 0) as t(x, y);
but maybe there is something even better.
Sorry, something went wrong.
values_
Successfully merging a pull request may close this issue.
I noticed that a query like
values_ []
(against Postgres) produces invalid SQL like this:The empty
VALUES
statement causes an errorsyntax error at or near ")"
. Maybe it should accept aData.List.NonEmpty
list instead?The text was updated successfully, but these errors were encountered: