[ 
https://issues.apache.org/jira/browse/FLINK-10172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16586164#comment-16586164
 ] 

Fabian Hueske commented on FLINK-10172:
---------------------------------------

This was broken when refactoring the expression parser in commit 
[9244106b334ef54ba3e39a3f2c0c76f46ae4ecd3|https://github.com/apache/flink/commit/9244106b334ef54ba3e39a3f2c0c76f46ae4ecd3].
We should double check the changes and add tests for the broken features.



 

> Inconsistentcy in ExpressionParser and ExpressionDsl for order by asc/desc
> --------------------------------------------------------------------------
>
>                 Key: FLINK-10172
>                 URL: https://issues.apache.org/jira/browse/FLINK-10172
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API & SQL
>    Affects Versions: 1.6.0
>            Reporter: Rong Rong
>            Assignee: Rong Rong
>            Priority: Major
>
> The following expression throws an exception in parsing {{"id.asc"}} term.
> {code:java}
> Table allOrders = orderTable
>         .select("id,order_date,amount,customer_id")
>         .orderBy("id.asc");
> {code}
> while it is correctly parsed for Scala:
> {code:scala}
> val allOrders:Table = orderTable
>         .select('id, 'order_date, 'amount, 'customer_id)
>         .orderBy('id.asc)
> {code}
> Anticipated some inconsistency between ExpressionParser and ExpressionDsl



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to