Re: BytesWritable

2013-07-29 Thread Clum, Josh
y, July 29, 2013 11:33 AM To: "user@hive.apache.org<mailto:user@hive.apache.org>" mailto:user@hive.apache.org>> Subject: Re: BytesWritable Hi Josh, it doesn't have to. However, your table does not specify any input format, which makes Hive use the default HiveI

Re: BytesWritable

2013-07-29 Thread Roberto Congiu
adoop/hive/ql/io/HiveIgnoreKeyTextOutputFormat.java ). What's the bigger picture, meaning, what is the actual format you want to write down to disk ? If you're storing it in text format, your SerDe's serialize method has to return either a Text or a BytesWritable, as you can see in the

BytesWritable

2013-07-29 Thread Clum, Josh
Hi, I wrote a custom serde that stores takes data and stores it in objects called DocumentWritable that inherits from Writable. When I try to run code to insert into the table that uses my serde, I get an error saying that DocumentWritable cannot be cast to BytesWritable. Does my