hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JunHo Cho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14) selecting fields from a complex object column in transform clause is throwing a Parse Error.
Date Mon, 04 Jul 2011 09:00:23 GMT

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

JunHo Cho commented on HIVE-14:
-------------------------------

I think that this query's syntax is wrong. "as tx" must follows "using 'mapper'". so this
query should is changed like
"from (from cdx select transform(cdx.a.b) using 'mapper' as tx cluster by tx) mo insert into
output select tx;". also hive should be patched about "insert into" - HIVE-2207.

> selecting fields from a complex object column in transform clause is throwing a Parse
Error.
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-14
>                 URL: https://issues.apache.org/jira/browse/HIVE-14
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Prasad Chakka
>            Priority: Critical
>
> For a thrift table whose columns are complex objects the following query throws up an
error
> from ( from cdx select transform(cdx.a.b) as tx using 'mapper' cluster by tx ) mo insert
into output select tx;
> the error thrown on the second . of expresion 'cdx.a.b'.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message