You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2009/02/19 02:35:01 UTC
[jira] Created: (HIVE-294) Support MAP(a.*), REDUCE(a.*) and
TRANSFORM(a.*)
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
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.
[jira] Commented: (HIVE-294) Support MAP(a.*), REDUCE(a.*) and
TRANSFORM(a.*)
Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (HIVE-294) Support MAP(a.*), REDUCE(a.*) and
TRANSFORM(a.*)
Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-294:
--------------------------------
Affects Version/s: (was: 0.6.0)
Fix Version/s: (was: 0.6.0)
> 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.3.0
> Reporter: Zheng Shao
> Assignee: Zheng Shao
> Fix For: 0.3.0
>
> 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.
[jira] Assigned: (HIVE-294) Support MAP(a.*), REDUCE(a.*) and
TRANSFORM(a.*)
Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zheng Shao reassigned HIVE-294:
-------------------------------
Assignee: Zheng Shao
> 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
> Assignee: Zheng Shao
> Fix For: 0.2.0, 0.3.0
>
> 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.
[jira] Commented: (HIVE-294) Support MAP(a.*), REDUCE(a.*) and
TRANSFORM(a.*)
Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675751#action_12675751 ]
Prasad Chakka commented on HIVE-294:
------------------------------------
yeah, you are right.
+!
> 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.
[jira] Resolved: (HIVE-294) Support MAP(a.*), REDUCE(a.*) and
TRANSFORM(a.*)
Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zheng Shao resolved HIVE-294.
-----------------------------
Resolution: Fixed
Fix Version/s: 0.3.0
0.2.0
Release Note: HIVE-294. Support MAP(a.*), REDUCE(a.*) and TRANSFORM(a.*). (zshao)
Hadoop Flags: [Reviewed]
trunk: Committed revision 746906.
branch 0.2: Committed revision 746936.
> 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
> Fix For: 0.2.0, 0.3.0
>
> 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.
[jira] Commented: (HIVE-294) Support MAP(a.*), REDUCE(a.*) and
TRANSFORM(a.*)
Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675744#action_12675744 ]
Zheng Shao commented on HIVE-294:
---------------------------------
I don't think that will be accepted. The list after AS is an alias list.
> 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.
[jira] Updated: (HIVE-294) Support MAP(a.*), REDUCE(a.*) and
TRANSFORM(a.*)
Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zheng Shao updated HIVE-294:
----------------------------
Attachment: HIVE-294.1.patch
> 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.