anup b created HIVE-10806:
-----------------------------
Summary: 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)