hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Figueiredo <p...@89clouds.com>
Subject Field mapping with the Avro SerDe
Date Wed, 31 Oct 2012 14:59:40 GMT
Hi,

I'm working with some Avro data where a member of a struct has unfortunately been named 'data',
which is a reserved keyword. It's therefore impossible, to my knowledge, to do a select on
this.

Is there a way to remap fields, like the JSON SerDe[0] does? Or is there a workaround for
this (other than changing the Avro schema upstream) ? I'm running Hive 0.8.1 in CDH3, with
the haivvreo[1] SerDe..

[0]: https://github.com/rathboma/Hive-JSON-Serde-1
[1]: https://github.com/jghoman/haivvreo

Thank you in advance,

Pedro
Mime
View raw message