hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Zhang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-1009) UNION ALL throws schema-not-match exception if one subquery is TRANSFORM and the other is a simple select
Date Wed, 23 Dec 2009 01:47:31 GMT

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

Ning Zhang updated HIVE-1009:
-----------------------------

    Attachment: HIVE-1009.patch

patch has the following changes:
1) in genScriptPlan, the script operator's row resolver was generated using alias as internal
column name. We should generate a unique internal column name and set the alias as alias in
ColumnInfo. 
2) many log changes due to different explain column name changes. 

> UNION ALL throws schema-not-match exception if one subquery is TRANSFORM and the other
is a simple select
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1009
>                 URL: https://issues.apache.org/jira/browse/HIVE-1009
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>         Attachments: HIVE-1009.patch
>
>
> select s.key, s.value from 
>  ( select transform(key, value) using 'cat' as (key, value) from src
>    UNION ALL
>    select key, value from src) s;
> throws schema-not-match exception.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message