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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Impala 1.2.4
    • Fix Version/s: None
    • Component/s: Frontend
    • Labels:

      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

              • Assignee:
                divayjindal Divay Jindal
                Reporter:
                udai Udai Kiran Potluri
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: