hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Chakka (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-294) Support MAP(a.*), REDUCE(a.*) and TRANSFORM(a.*)
Date Mon, 23 Feb 2009 02:17:02 GMT

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

Prasad Chakka commented on HIVE-294:
------------------------------------

the new grammar will accept queries like this also

FROM src
INSERT OVERWRITE TABLE dest1
MAP src.*, src.key, CAST(src.key / 10 AS INT), CAST(src.key % 10 AS INT), src.value
USING '/bin/cat' AS (k, v, tkey, ten, one, *)
SORT BY tvalue, tkey;


since the AS parenthesis can also contain  tableAllColumns. Would that mean the remaining
columns from the MAP() should map to the remaining columns of src?

> Support MAP(a.*), REDUCE(a.*) and TRANSFORM(a.*)
> ------------------------------------------------
>
>                 Key: HIVE-294
>                 URL: https://issues.apache.org/jira/browse/HIVE-294
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.2.0, 0.3.0
>            Reporter: Zheng Shao
>         Attachments: HIVE-294.1.patch
>
>
> Hive language does not accept  MAP(a.*), REDUCE(a.*) and TRANSFORM(a.*) now. We should
support it.

-- 
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