You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sahil Takiar (JIRA)" <ji...@apache.org> on 2017/11/09 16:55:01 UTC
[jira] [Updated] (HIVE-16646) Alias in transform ... as clause
shouldn't be case sensitive
[ https://issues.apache.org/jira/browse/HIVE-16646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sahil Takiar updated HIVE-16646:
--------------------------------
Fix Version/s: 2.3.2
> Alias in transform ... as clause shouldn't be case sensitive
> ------------------------------------------------------------
>
> Key: HIVE-16646
> URL: https://issues.apache.org/jira/browse/HIVE-16646
> Project: Hive
> Issue Type: Bug
> Components: hpl/sql
> Reporter: Yibing Shi
> Assignee: Yibing Shi
> Fix For: 3.0.0, 2.4.0, 2.3.2
>
> Attachments: HIVE-16646.1.patch, HIVE-16646.2.patch
>
>
> Create a table like below:
> {code:sql}
> CREATE TABLE hive_bug(col1 string);
> {code}
> Run below query in Hive:
> {code}
> from hive_bug select transform(col1) using '/bin/cat' as (AAAA string);
> {code}
> The result would be:
> {noformat}
> 0: jdbc:hive2://localhost:10000> from hive_bug select transform(col1) using '/bin/cat' as (AAAA string);
> ......
> INFO : OK
> +-------+--+
> | AAAA |
> +-------+--+
> +-------+--+
> {noformat}
> The output column name is *AAAA* instead of the lowercase aaaa.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)