You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zhichun Wu (JIRA)" <ji...@apache.org> on 2013/10/01 07:00:00 UTC

[jira] [Updated] (HIVE-5407) show create table creating unusable DDL when some reserved keywords exist

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

Zhichun Wu updated HIVE-5407:
-----------------------------

    Summary: show create table creating unusable DDL when some reserved keywords  exist  (was: show create table creating unusable DDL when some reserved keywords  exists)

> show create table creating unusable DDL when some reserved keywords  exist
> --------------------------------------------------------------------------
>
>                 Key: HIVE-5407
>                 URL: https://issues.apache.org/jira/browse/HIVE-5407
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>         Environment: hive 0.11
>            Reporter: Zhichun Wu
>            Priority: Minor
>
> HIVE-701 already makes most reserved keywords available for table/column/partition names and 'show create table' produces usable DDLs.
> However I think it's better if we quote table/column/partition names for the output of 'show create table', which is how mysql works and seems more robust.
> For example, use select as column name will produce unusable DDL:
> {code}
> create table table_select(`select` string);
> show create table table_select;
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)