Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3EF09200CB4 for ; Tue, 13 Jun 2017 02:42:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3D5D3160BDE; Tue, 13 Jun 2017 00:42:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 83F04160BD9 for ; Tue, 13 Jun 2017 02:42:03 +0200 (CEST) Received: (qmail 39821 invoked by uid 500); 13 Jun 2017 00:42:02 -0000 Mailing-List: contact issues-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list issues@impala.incubator.apache.org Received: (qmail 39812 invoked by uid 99); 13 Jun 2017 00:42:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2017 00:42:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2481418041B for ; Tue, 13 Jun 2017 00:42:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id vPmZfPpiLq_A for ; Tue, 13 Jun 2017 00:42:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id CEC895FBB8 for ; Tue, 13 Jun 2017 00:42:00 +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 6288EE0069 for ; Tue, 13 Jun 2017 00:42: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 1573321938 for ; Tue, 13 Jun 2017 00:42:00 +0000 (UTC) Date: Tue, 13 Jun 2017 00:42:00 +0000 (UTC) From: "Alexander Behm (JIRA)" To: issues@impala.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (IMPALA-4814) Frontend fails to analyze fully qualified table names where table name starts with numeric characters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 13 Jun 2017 00:42:04 -0000 [ https://issues.apache.org/jira/browse/IMPALA-4814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Behm resolved IMPALA-4814. ------------------------------------ Resolution: Duplicate Duplicates IMPALA-941 > Frontend fails to analyze fully qualified table names where table name starts with numeric characters > ----------------------------------------------------------------------------------------------------- > > Key: IMPALA-4814 > URL: https://issues.apache.org/jira/browse/IMPALA-4814 > Project: IMPALA > Issue Type: Bug > Components: Frontend > Affects Versions: Impala 2.8.0 > Reporter: Mostafa Mokhtar > Labels: ramp-up > > This works fine in hive. > {code} > hive> create table foo.3_ (c1 int); > OK > Time taken: 0.151 seconds > hive> > {code} > Yet it fails in Impala. > Repro > {code} > create table many_files.2_ (c1 int) ; > {code} > Error > {code} > create table many_files.3_ (c1 int) > ^ > Encountered: DECIMAL LITERAL > Expected: ADD, AND, ARRAY, AS, ASC, BETWEEN, BIGINT, BINARY, BLOCK_SIZE, BOOLEAN, CACHED, CASCADE, CHANGE, CHAR, COMMENT, COMPRESSION, CROSS, DATE, DATETIME, DECIMAL, DEFAULT, DESC, DIV, REAL, DROP, ELSE, ENCODING, END, FLOAT, FOLLOWING, FROM, FULL, GROUP, IGNORE, HAVING, ILIKE, IN, INNER, INTEGER, IREGEXP, IS, JOIN, LEFT, LIKE, LIMIT, LOCATION, MAP, NOT, NULL, NULLS, OFFSET, ON, OR, ORDER, PARTITION, PARTITIONED, PRECEDING, PRIMARY, PURGE, RANGE, RECOVER, REGEXP, RENAME, REPLACE, RESTRICT, RIGHT, RLIKE, ROW, ROWS, SELECT, SET, SMALLINT, STORED, STRAIGHT_JOIN, STRING, STRUCT, TBLPROPERTIES, THEN, TIMESTAMP, TINYINT, TO, UNCACHED, UNION, USING, VALUES, VARCHAR, WHEN, WHERE, WITH, COMMA, IDENTIFIER > CAUSED BY: Exception: Syntax error > {code} > Exception > {code} > at org.apache.impala.analysis.AnalysisContext.analyze(AnalysisContext.java:424) > at org.apache.impala.analysis.AnalysisContext.analyze(AnalysisContext.java:363) > at org.apache.impala.service.Frontend.analyzeStmt(Frontend.java:894) > at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1034) > at org.apache.impala.service.JniFrontend.createExecRequest(JniFrontend.java:159) > Caused by: java.lang.Exception: Syntax error > at org.apache.impala.analysis.SqlParser.unrecovered_syntax_error(SqlParser.java:1314) > at java_cup.runtime.lr_parser.parse(lr_parser.java:619) > at org.apache.impala.analysis.AnalysisContext.analyze(AnalysisContext.java:378) > ... 4 more > I0124 11:08:29.581303 137846 status.cc:114] AnalysisException: Syntax error in line 1: > create table many_files.3_ (c1 int) > {code} > Querying for the same use case also fails > {code} > Query: explain select count(*) from many_files.2_ > ERROR: AnalysisException: Syntax error in line 1: > explain select count(*) from many_files.2_ > ^ > Encountered: DECIMAL LITERAL > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)