Gergely Fürnstáhl created IMPALA-11758:
------------------------------------------

             Summary: Databases named "iceberg" confuses the parser, throws 
ParseException
                 Key: IMPALA-11758
                 URL: https://issues.apache.org/jira/browse/IMPALA-11758
             Project: IMPALA
          Issue Type: Bug
            Reporter: Gergely Fürnstáhl
            Assignee: Gergely Fürnstáhl


Impala can't create a database named "iceberg" but hive can. Valid queries 
fails in impala using that database.
{code:java}
[localhost:21050] default> create database iceberg;
Query: create database iceberg
ERROR: ParseException: Syntax error in line 1:
create database iceberg
                ^
Encountered: ICEBERG
Expected: DEFAULT, EXTENDED, FORMATTED, IF, IDENTIFIER {code}
Created database in hive.
{code:java}
[localhost:21050] default> use iceberg;
Query: use iceberg
ERROR: ParseException: Syntax error in line 1: use iceberg   
  ^
Encountered: ICEBERG
Expected: DEFAULT, IDENTIFIER CAUSED BY: Exception: Syntax error
 {code}
Selects fails too on existing tables.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to