Hi,
Im trying to use HiveColumnarLoader to load some Hive data into my pig
process.
I have 2 questions.
1. Should the parameters to HiveColumnarLoader be the complete table schema
(all fields) or can it be a limited number of selected columns ?
2. I use Pig-0.9 and Hive 0.8 , I get this exception when I load an RCFile;
FATAL org.apache.hadoop.mapred.Child: Error running child :
java.lang.NoSuchMethodError:
org.apache.hadoop.hive.serde2.columnar.ColumnarStruct.getField(ILorg/apache/hadoop/io/Text;)Ljava/lang/Object;
at
org.apache.pig.piggybank.storage.HiveColumnarLoader.readColumnarTuple(HiveColumnarLoader.java:500)
Any help is appreciated.
Sam William
[email protected]