Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-941

Impala Parser issue when using fully qualified table names that start with a number.

    XMLWordPrintableJSON

Details

    Description

      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.

      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 
      
      

      Attachments

        Issue Links

          Activity

            People

              fredyw Fredy Wijaya
              udai Udai Kiran Potluri
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: