You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Buntu Dev <bu...@gmail.com> on 2014/12/09 21:44:29 UTC
How to query avro map column
Hi -- I've got dataset in avro format with one of the columns as 'map' data
type defined as:
{"name": "data", "type": {"type": "map", "values": "string"}
If the data column has say:
{"param1":"value1","param2":"value2"}
How do I go about writing a hive query to only extract 'param1' column?
Thanks!