hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-4295) Lateral view makes invalid result if CP is disabled
Date Mon, 22 Apr 2013 15:37:16 GMT

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

Ashutosh Chauhan updated HIVE-4295:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.12.0
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Navis!
                
> Lateral view makes invalid result if CP is disabled
> ---------------------------------------------------
>
>                 Key: HIVE-4295
>                 URL: https://issues.apache.org/jira/browse/HIVE-4295
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>             Fix For: 0.12.0
>
>         Attachments: HIVE-4295.2.patch.txt, HIVE-4295.D9963.1.patch
>
>
> For example,
> {noformat}
> >SELECT src.key, myKey, myVal FROM src lateral view explode(map(1,'one',2,'two',3,'three'))
x AS myKey,myVal LIMIT 3;
> 238	1	one
> 238	2	two
> 238	3	three
> {noformat}
> After CP disabled,
> {noformat}
> >SELECT src.key, myKey, myVal FROM src lateral view explode(map(1,'one',2,'two',3,'three'))
x AS myKey,myVal LIMIT 3;
> 238	0	hdfs://localhost:9000/user/hive/warehouse/src/kv1.txt
> 238	0	hdfs://localhost:9000/user/hive/warehouse/src/kv1.txt
> 238	0	hdfs://localhost:9000/user/hive/warehouse/src/kv1.txt
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message