Hive does not support the blob data type. An option is to store your binary 
data encoded as string (such as using base64) and define them in Hive as string.


-----Original Message-----
From: Luke Forehand [mailto:luke.foreh...@networkedinsights.com] 
Sent: Monday, May 23, 2011 1:21 PM
To: user@hive.apache.org
Subject: hive storing a byte array

Hello,

Can someone please provide an example in Hive, how I can store a
serialized object in a field?  A field type of byte array or binary or
blob is really what I was looking for, but if something slightly less
trivial is involved some instruction would be much appreciated.  This
object is used in a custom UDF later on in the processing pipeline.

-Luke


Reply via email to