hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Szehon Ho <>
Subject Re: read a Hive Map without knowing keys
Date Mon, 17 Mar 2014 22:14:27 GMT
Select *?  There are other built-in functions like map_keys and map_values
you can use in queries on maps.  Not sure if this addresses the question.


On Mon, Mar 17, 2014 at 3:05 PM, Frank Luo <> wrote:

>  Is there a way to read Hive Map datatype without knowing keys?
> According to Hive document, the only way to read a Map is to access
> through keys, ie:   myMap['myKey']. However, in many cases, the keys are
> unknown, for example, HTable sparse columns, so in that kind of situation,
> what is the ways to read the map?

View raw message