hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Langton <>
Subject Avro Aliases in Hive?
Date Fri, 08 Nov 2013 07:51:14 GMT

Quick question about Hive and Avro.

Can I create an Avro scheme that uses aliases? I have tried a couple
different ways, but so far I have not been able to get a hive query to
return data for the aliased fields.

for instance, I have tried the following but both return default values.

{ "name": "eventtime", "type": "long", "default": 0, "aliases":
["EventTime"] },
{ "name": "aeventtime", "type": "long", "default": 0, "aliases":
["EventTime"] },

where my records were written with "EventTime" as the field name.


View raw message