incubator-hcatalog-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Travis Crawford <traviscrawf...@gmail.com>
Subject pig/hive case sensitivity issue
Date Mon, 25 Jun 2012 18:24:10 GMT
Hey hcat gurus -

Has anyone run into issues with pig fields being case sensitive, but
hive lowercasing all field names? We have some existing data stored
with camelCase schemas and the pig scripts require some changes when
porting. Its pretty straightforward to update the scripts, but
confusing for users who don't realize their capitol letters are
swallowed by hive.

Looking at https://github.com/apache/hive/blob/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
it seems pretty straightforward to make case sensitive fields
optional. Or should pig deal with this automatically? Curious what
others are doing here.

--travis

Mime
View raw message