I am quoting the reply I got on this - which for some reason did not get
posted here. The suggestion in the reply below worked perfectly for me. The
error mentioned in the reply is not related (or old).
 Hope this is helpful to someone.
Cheers,
BB


> Hi, BB
>    Ideally you can do the query like: select key, value.percent from
> mytable_data lateral view explode(audiences) f as key, value limit 3;
>    But there is a bug in HiveContext:
> https://issues.apache.org/jira/browse/SPARK-5237
>    I am working on it now, hopefully make a patch soon.
> 
> Cheng Hao





--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/using-hiveContext-to-select-a-nested-Map-data-type-from-an-AVROmodel-parquet-file-tp21168p21231.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to