`asc` and `desc` are not regular functions. They are indicators for the sort 
order and converted into special `Ordering` expressions. Without special 
treatment, they are converted into `Call("asc", fieldRef)` and therefore not 
correctly handled by `Table.orderBy()` which expects `Ordering` expressions.

This PR adds code that was (accidentially?) dropped when refactoring the 
`ExpressionParser` in 9244106b334ef54ba3e39a3f2c0c76f46ae4ecd3.

[ Full content available at: https://github.com/apache/flink/pull/6585 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to