|
183 KB
|
83 KB
|
91 KB
|
146 KB
|
66 KB
|
66 KB
|
17 KB
What happens when you create an object in beeline ? do you get the same error ?
I got syntax error in beeline, Please refer screenshot
I got syntax error in beeline, Please refer screenshot
@umesh: can you try 1 more time after you fix the error - you have entered "storad" as textfile instead of stored.
Fix that syntax and then try again in beeline
@umesh: can you try 1 more time after you fix the error - you have entered "storad" as textfile instead of stored.
Fix that syntax and then try again in beeline
Sorry, create table syntax was wrong.
No exception in the beeline if we create table with numeric characters - screenshot
Sorry, create table syntax was wrong.
No exception in the beeline if we create table with numeric characters - screenshot
Observations for : Hortonworks , Apache hive, Amazon EMR, MapR
Table is created with numeric characters but when we expand the columns folder in tree node we get below error - screenshot
Error while compiling statement: FAILED: ParseException line 1:19 cannot recognize input near 'FORMATTED' '123' '' in describe statement
Exception :
Observations for : Hortonworks , Apache hive, Amazon EMR, MapR
Table is created with numeric characters but when we expand the columns folder in tree node we get below error - screenshot
Error while compiling statement: FAILED: ParseException line 1:19 cannot recognize input near 'FORMATTED' '123' '' in describe statement
Exception :
Reference Links :
Impala : http://www.cloudera.com/documentation/enterprise/latest/topics/impala_identifiers.html#identifiers
I found this in the above mention hive link :
In Hive 0.13 and later, column names can contain any Unicode character (see HIVE-6013). Any column name that is specified within backticks (`
) is treated literally. Within a backtick string, use double backticks (``
) to represent a backtick character. Backtick quotation also enables the use of reserved keywords for table and column identifiers.
ADS observation : when we create a table with numeric characters, In Preview SQL tab query is generated with backticks but when we expand the columns we get error as mention in the above comment.
Also observe the SQL log in the screenshot
Reference Links :
Impala : http://www.cloudera.com/documentation/enterprise/latest/topics/impala_identifiers.html#identifiers
I found this in the above mention hive link :
In Hive 0.13 and later, column names can contain any Unicode character (see HIVE-6013). Any column name that is specified within backticks (`
) is treated literally. Within a backtick string, use double backticks (``
) to represent a backtick character. Backtick quotation also enables the use of reserved keywords for table and column identifiers.
ADS observation : when we create a table with numeric characters, In Preview SQL tab query is generated with backticks but when we expand the columns we get error as mention in the above comment.
Also observe the SQL log in the screenshot
Pls provide a regression analysis matrix. Discuss w/ @shilpa or @tariq if you have any questions on how to generate such a matrix.
Pls provide a regression analysis matrix. Discuss w/ @shilpa or @tariq if you have any questions on how to generate such a matrix.
Distribution-Cloudera(CDH5.7) Connection Type - Impala(2.5) |
Distribution-Cloudera(CDH5.7) Connection Type - HS2(1.1) |
|
ADS 15 | Y | error - which is mention here |
ADS 16 | Y | error - which is mention here |
ADS 17 | Y | error - which is mention here |
Y : Issue Observed
Distribution-Cloudera(CDH5.7) Connection Type - Impala(2.5) |
Distribution-Cloudera(CDH5.7) Connection Type - HS2(1.1) |
|
ADS 15 | Y | error - which is mention here |
ADS 16 | Y | error - which is mention here |
ADS 17 | Y | error - which is mention here |
Y : Issue Observed
For Other Distributions :
ADS Version | Hive version : Which is default with ADS builds | Distributions | Observations |
ADS 15 | 0.13 |
Amazon EMR 5.0,HDP 2.4
Apache Hive 2.0 MapR 5.1 |
error - which is mention here
|
ADS 16 | 0.14 | ||
ADS 17 | 1.0 |
For Other Distributions :
ADS Version | Hive version : Which is default with ADS builds | Distributions | Observations |
ADS 15 | 0.13 |
Amazon EMR 5.0,HDP 2.4
Apache Hive 2.0 MapR 5.1 |
error - which is mention here
|
ADS 16 | 0.14 | ||
ADS 17 | 1.0 |
Hi Sachin, This will take a couple of hours. Thanks, Tom
Hi Sachin, This will take a couple of hours. Thanks, Tom
@tom: pls explain the nature of the fix. Is there a bug in our scripting / extraction that needs to be fixed?
@tom: pls explain the nature of the fix. Is there a bug in our scripting / extraction that needs to be fixed?
Hi Sachin,
The problem is that different distributions allow different file name characters. Currently for all distributions, we backtic our creates and alters which allow names like 123 or _tom to be used. When we display columns in the schema tree we don't use backtics with our describe's and this is causing exceptions with certain names. I added backtics to the describes and that fixes the problem across all distributions.
return "DESCRIBE FORMATTED " + cp.withQuotedIdentifier(tablename);
Thanks, Tom
Patch in email.
Hi Sachin,
The problem is that different distributions allow different file name characters. Currently for all distributions, we backtic our creates and alters which allow names like 123 or _tom to be used. When we display columns in the schema tree we don't use backtics with our describe's and this is causing exceptions with certain names. I added backtics to the describes and that fixes the problem across all distributions.
return "DESCRIBE FORMATTED " + cp.withQuotedIdentifier(tablename);
Thanks, Tom
Patch in email.
svn #53630 - Added code to backtic the describe statement.
Hi QA Team,
Please also test with the distribution Apache drivers.
Thanks, Tom
svn #53630 - Added code to backtic the describe statement.
Hi QA Team,
Please also test with the distribution Apache drivers.
Thanks, Tom
Issue #14688 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 19.0.0-dev-3 |
No time estimate |
1 issue link |
relates to #13876
Issue #13876Alter Table window doesn't open for Table having TableName as reserved keyword |
What happens when you create an object in beeline ? do you get the same error ?