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.
Thanks Szehon On Mon, Mar 17, 2014 at 3:05 PM, Frank Luo <j...@merkleinc.com> 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? >