From issues-return-185755-archive-asf-public=cust-asf.ponee.io@flink.apache.org Wed Aug 22 01:02:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id DD247180630 for ; Wed, 22 Aug 2018 01:02:04 +0200 (CEST) Received: (qmail 5829 invoked by uid 500); 21 Aug 2018 23:02:04 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 5819 invoked by uid 99); 21 Aug 2018 23:02:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Aug 2018 23:02:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A75531A25CB for ; Tue, 21 Aug 2018 23:02:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.251 X-Spam-Level: X-Spam-Status: No, score=-109.251 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, KAM_LOTSOFHASH=0.25, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id IQKlzYMm8elI for ; Tue, 21 Aug 2018 23:02:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 105205F432 for ; Tue, 21 Aug 2018 23:02:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5B7E6E00D3 for ; Tue, 21 Aug 2018 23:02:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 22F6223F98 for ; Tue, 21 Aug 2018 23:02:00 +0000 (UTC) Date: Tue, 21 Aug 2018 23:02:00 +0000 (UTC) From: "Fabian Hueske (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (FLINK-10172) Inconsistentcy in ExpressionParser and ExpressionDsl for order by asc/desc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLINK-10172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabian Hueske closed FLINK-10172. --------------------------------- Resolution: Fixed Fix Version/s: 1.3.3 1.5.4 1.7.0 1.6.1 1.4.3 Fixed for 1.7.0 with 12bae25d56ca16380a724dcd15028da49c2d653e Fixed for 1.6.1 with b6d8fb941fb3c3f2346b02d5afbd87573e4a48bb Fixed for 1.5.4 with a25a241c48027ba6178605af8e1112e2e27ed259 Fixed for 1.4.3 with 7b34a03e678a565fe7c028b669b0417b06d23456 Fixed for 1.3.3 with d3c206efc7b0b0612cb3d4c9d8272ffed8841f52 > 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.3.3, 1.4.2, 1.5.3, 1.6.0, 1.7.0 > Reporter: Rong Rong > Assignee: Rong Rong > Priority: Major > Labels: pull-request-available > Fix For: 1.4.3, 1.6.1, 1.7.0, 1.5.4, 1.3.3 > > > 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)