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

Lefty Leverenz commented on HIVE-13299:
---------------------------------------

Agreed it's just a bug fix and we don't usually document those, but 
occasionally we do when the bug affects HiveQL behavior.  Examples:

* [Create/Drop/Alter Index | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Create/Drop/AlterIndex]
* [Describe Table/View/Column (two info boxes at end of section) | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-DescribeTable/View/Column]

So I thought this might be helpful information for users, but I'll defer to 
your judgment.

As for the commits, I have no opinion.  I just wanted to be sure Fix Version/s 
is correct.

> Column Names trimmed of leading and trailing spaces
> ---------------------------------------------------
>
>                 Key: HIVE-13299
>                 URL: https://issues.apache.org/jira/browse/HIVE-13299
>             Project: Hive
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: 2.0.0
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>              Labels: TODOC2.0
>             Fix For: 2.1.0, 2.0.1
>
>         Attachments: HIVE-13299.01.patch
>
>
> PROBLEM:
> As per the Hive Language DDL: 
> https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL
> In Hive 0.12 and earlier, only alphanumeric and underscore characters are 
> allowed in table and column names.
> 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.
> However column names
> {code}
> ` left` resulted in `left`
> ` middle ` resulted in `middle`
> `right ` resulted in `right`
> `middle space` resulted in `middle space`
> ` middle space ` resulted in `middle space`
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to