hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Buntu Dev <buntu...@gmail.com>
Subject Querying Uniontype with Hive
Date Tue, 24 Feb 2015 18:43:50 GMT
Hi,

This might've been asked previously but I couldn't find any examples of how
to query uniontype in Hive.

I have this field in the table:

`location`
uniontype<struct<latitude:string,longitude:string,country_short:string,country_long:string,region:string,city:string>,boolean>

How do I go about querying: "select location.latitiude, location.latitude
from ..." since I get this error:

. Operator is only supported on struct or list of struct types


If this is currently not supported via Hive, would appreciate if anyone can
throw some light on how to go about this outside of Hive?


Thanks!

Mime
View raw message