hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabor Liptak (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10806) Incorrect example for exploding map function in hive wiki
Date Sun, 24 May 2015 23:12:17 GMT

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

Gabor Liptak commented on HIVE-10806:
-------------------------------------

I updated the wiki. Please consider closing.

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

Mime
View raw message