public class ArrowColumnarBatchSerDe extends AbstractSerDe
ArrowWrapperWritable, which doesn't support Writable.readFields(DataInput) and Writable.write(DataOutput).
Followings are known issues of current implementation.
A list column cannot have a decimal column. UnionListWriter doesn't have an
implementation for BaseWriter.ListWriter#decimal().
A union column can have only one of string, char, varchar fields at a same time. Apache Arrow
doesn't have string and char, so ArrowColumnarBatchSerDe uses varchar to simulate
string and char. They will be considered as a same data type in
UnionVector.
Timestamp with local timezone is not supported. VectorAssignRow doesn't support it.| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
configErrors| Constructor and Description |
|---|
ArrowColumnarBatchSerDe() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(org.apache.hadoop.io.Writable writable)
Deserialize an object out of a Writable blob.
|
ObjectInspector |
getObjectInspector()
Get the object inspector that can be used to navigate through the internal
structure of the Object returned from deserialize(...).
|
SerDeStats |
getSerDeStats()
Returns statistics collected when serializing
|
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass()
Returns the Writable class that would be returned by the serialize method.
|
void |
initialize(org.apache.hadoop.conf.Configuration conf,
Properties tbl)
Initialize the HiveSerializer.
|
ArrowWrapperWritable |
serialize(Object obj,
ObjectInspector objInspector)
Serialize an object by navigating inside the Object with the
ObjectInspector.
|
getConfigurationErrors, initialize, shouldStoreFieldsInMetastorepublic void initialize(org.apache.hadoop.conf.Configuration conf,
Properties tbl)
throws SerDeException
AbstractSerDeinitialize in interface Deserializerinitialize in interface Serializerinitialize in class AbstractSerDeconf - System properties. Can be null in compile timetbl - table propertiesSerDeExceptionpublic Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
AbstractSerDegetSerializedClass in interface SerializergetSerializedClass in class AbstractSerDepublic ArrowWrapperWritable serialize(Object obj, ObjectInspector objInspector)
AbstractSerDeserialize in interface Serializerserialize in class AbstractSerDepublic SerDeStats getSerDeStats()
AbstractSerDegetSerDeStats in interface DeserializergetSerDeStats in interface SerializergetSerDeStats in class AbstractSerDepublic Object deserialize(org.apache.hadoop.io.Writable writable)
AbstractSerDedeserialize in interface Deserializerdeserialize in class AbstractSerDewritable - The Writable object containing a serialized objectpublic ObjectInspector getObjectInspector()
AbstractSerDegetObjectInspector in interface DeserializergetObjectInspector in class AbstractSerDeCopyright © 2019 The Apache Software Foundation. All Rights Reserved.