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.configuration, log, partitionProperties, properties, tableProperties| Constructor and Description |
|---|
ArrowColumnarBatchSerDe() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(org.apache.hadoop.io.Writable writable) |
ObjectInspector |
getObjectInspector() |
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass() |
void |
initialize(org.apache.hadoop.conf.Configuration configuration,
Properties tableProperties,
Properties partitionProperties) |
ArrowWrapperWritable |
serialize(Object obj,
ObjectInspector objInspector) |
getColumnComments, getColumnNames, getColumnTypes, getConfiguration, getPartitionColumnComments, getPartitionColumnNames, getPartitionColumnTypes, getSerDeStats, parseColumnComments, parseColumnNames, parseColumnNames, parseColumnTypes, parseColumnTypes, shouldStoreFieldsInMetastore, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandleJobLevelConfigurationpublic void initialize(org.apache.hadoop.conf.Configuration configuration,
Properties tableProperties,
Properties partitionProperties)
throws SerDeException
initialize in class AbstractSerDeSerDeExceptionpublic Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
getSerializedClass in interface SerializergetSerializedClass in class AbstractSerDepublic ArrowWrapperWritable serialize(Object obj, ObjectInspector objInspector)
serialize in interface Serializerserialize in class AbstractSerDepublic Object deserialize(org.apache.hadoop.io.Writable writable)
deserialize in interface Deserializerdeserialize in class AbstractSerDepublic ObjectInspector getObjectInspector()
Copyright © 2024 The Apache Software Foundation. All rights reserved.