Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10172

Inconsistentcy in ExpressionParser and ExpressionDsl for order by asc/desc

    Details

      Description

      The following expression throws an exception in parsing "id.asc" term.

      Table allOrders = orderTable
              .select("id,order_date,amount,customer_id")
              .orderBy("id.asc");
      

      while it is correctly parsed for Scala:

      val allOrders:Table = orderTable
              .select('id, 'order_date, 'amount, 'customer_id)
              .orderBy('id.asc)
      

      Anticipated some inconsistency between ExpressionParser and ExpressionDsl

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                walterddr Rong Rong
                Reporter:
                walterddr Rong Rong
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: