You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Fredy Wijaya (JIRA)" <ji...@apache.org> on 2018/11/14 14:58:02 UTC

[jira] [Resolved] (IMPALA-941) Impala Parser issue when using fully qualified table names that start with a number.

     [ https://issues.apache.org/jira/browse/IMPALA-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fredy Wijaya resolved IMPALA-941.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.1.0

> Impala Parser issue when using fully qualified table names that start with a number.
> ------------------------------------------------------------------------------------
>
>                 Key: IMPALA-941
>                 URL: https://issues.apache.org/jira/browse/IMPALA-941
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 1.2.4
>            Reporter: Udai Kiran Potluri
>            Assignee: Fredy Wijaya
>            Priority: Minor
>              Labels: customer, newbie
>             Fix For: Impala 3.1.0
>
>
> Impala Parser issue when using fully qualified table names that start with a number. 
> What is going wrong is that Impala is parsing the table name as a floating point literal since the text starts with a number and contains a period. 
> {code}
> INVALIDATE METADATA db.571_market; 
> Query: invalidate METADATA db.571_market 
> ERROR: AnalysisException: Syntax error in line 1: 
> invalidate METADATA db.571_market 
> ^ 
> Encountered: FLOATING POINT LITERAL 
> Expected: ADD, AS, CHANGE, COMMENT, CROSS, DROP, FULL, GROUP, HAVING, INNER, JOIN, LEFT, LIKE, LIMIT, LOCATION, ON, ORDER, PARTITION, RENAME, REPLACE, RIGHT, ROW, SELECT, SET, STORED, TBLPROPERTIES, UNION, USING, VALUES, WHERE, WITH, COMMA, IDENTIFIER 
> {code}



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