Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D9A71973D for ; Tue, 26 Apr 2016 14:25:13 +0000 (UTC) Received: (qmail 97437 invoked by uid 500); 26 Apr 2016 14:25:13 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 97355 invoked by uid 500); 26 Apr 2016 14:25:13 -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 97136 invoked by uid 99); 26 Apr 2016 14:25:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2016 14:25:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D5B6B2C1F5D for ; Tue, 26 Apr 2016 14:25:12 +0000 (UTC) Date: Tue, 26 Apr 2016 14:25:12 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-3086) ExpressionParser does not support concatenation of suffix operations 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-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15258160#comment-15258160 ] ASF GitHub Bot commented on FLINK-3086: --------------------------------------- Github user vasia commented on the pull request: https://github.com/apache/flink/pull/1912#issuecomment-214762168 I'm not very familiar with the `ExpressionParser`, but I don't see anything suspicious :) > ExpressionParser does not support concatenation of suffix operations > -------------------------------------------------------------------- > > Key: FLINK-3086 > URL: https://issues.apache.org/jira/browse/FLINK-3086 > Project: Flink > Issue Type: Bug > Components: Table API > Reporter: Timo Walther > Assignee: Timo Walther > > The ExpressionParser of the Table API does not support concatenation of suffix operations. e.g. {code}table.select("field.cast(STRING).substring(2)"){code} throws an exception. > {code} > org.apache.flink.api.table.ExpressionException: Could not parse expression: string matching regex `\z' expected but `.' found > at org.apache.flink.api.table.parser.ExpressionParser$.parseExpressionList(ExpressionParser.scala:224) > {code} > However, the Scala implicit Table Expression API supports this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)