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
Surprising behavior of ORDER BY ALL
in some cases
#59151
Comments
@zhongyuankai In case you want to check, if you don't have time I can also do it later. |
@rschu1ze Okay, I'll fix that. |
@rschu1ze Hello, how can I reproduce it? I understand that the exception caused by
Does it mean we don’t need |
You are right. I missed that in your example and my repro, we run I guess I originally meant a slight modification of the example (here, note that the table has no
I actually thought further about the ambiguity between ORDER BY keyword
|
SELECT * FROM order_by_all ORDER BY all
should work but it does notenable_order_by_all
) throw an error whenALL
(case-insensitive: alsoall
) appears inORDER BY
together with other columns/aliases/expressions. Right now,SELECT a, b, all FROM order_by_all ORDER BY all, a
works andall
loses its special meaning.Also see #57875 (comment)
The text was updated successfully, but these errors were encountered: