You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gabor Liptak (JIRA)" <ji...@apache.org> on 2015/05/23 19:41:17 UTC
[jira] [Commented] (HIVE-10806) Incorrect example for exploding map
function in hive wiki
[ https://issues.apache.org/jira/browse/HIVE-10806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557443#comment-14557443 ]
Gabor Liptak commented on HIVE-10806:
-------------------------------------
This is the section referenced:
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-explode
I do not seem to have permissions to edit the wiki ...
> Incorrect example for exploding map function in hive wiki
> ---------------------------------------------------------
>
> Key: HIVE-10806
> URL: https://issues.apache.org/jira/browse/HIVE-10806
> Project: Hive
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 0.10.0
> Reporter: anup b
> Priority: Trivial
>
> In hive wiki, example for exploding map is wrong it doesnt work in hive 0.10
> Example given in wiki which doesnt work:
> SELECT explode(myMap) AS myMapKey, myMapValue FROM myMapTable;
> It should be updated to :
> SELECT explode(myMap) AS (myMapKey, myMapValue) FROM myMapTable;
> Link : https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-explode
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)