frontend: Support ORDER BY
arbitrary column
#2124
Labels
component/frontend
Protocol, parsing, binder.
type/bug
Something isn't working
type/enhancement
Improvements to existing implementation.
Describe the bug
Currently only
ORDER BY
can only apply to output columns. But actually, it should work with arbitrary columns, take the example from PostgreSQL's document. Columnc
is notSELECT
ed, but we can stillORDER BY c
.To Reproduce
Expected behavior
Should produce correct execution plan rather than errors.
The text was updated successfully, but these errors were encountered: