[ 
https://issues.apache.org/jira/browse/HIVE-21166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16807359#comment-16807359
 ] 

Jianguo Tian edited comment on HIVE-21166 at 4/2/19 2:22 AM:
-------------------------------------------------------------

You can query DESC column like this: 
{code:sql}
select `DESC` from DBS limit 10;
{code}


was (Author: jonnyr):
You can query DESC column like this: 
{code:java}
// select `DESC` from DBS limit 10;
{code}

> Keyword as column name in DBS table of Hive metastore
> -----------------------------------------------------
>
>                 Key: HIVE-21166
>                 URL: https://issues.apache.org/jira/browse/HIVE-21166
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Vamsi UCSS
>            Priority: Blocker
>
> The table "DBS" in hive schema (metastore) has a column called "DESC" which 
> is a Hive keyword. This is causing any queries on this table to result in a 
> syntax error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to