What happened?
It seems grouping by nothing is otherwise a valid thing to do, except it makes an inner sort do nothing.
PRQL input
from foo
group {} (
sort a
take 1
)
SQL output
SELECT
*
FROM
foo
LIMIT
1
-- Generated by PRQL compiler version:0.13.2 (https://prql-lang.org)
Expected SQL output
SELECT
*
FROM
foo
ORDER BY
a
LIMIT
1
MVCE confirmation
Anything else?
No response
What happened?
It seems grouping by nothing is otherwise a valid thing to do, except it makes an inner
sortdo nothing.PRQL input
SQL output
Expected SQL output
MVCE confirmation
Anything else?
No response