Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TypeMappings = map[arrow.DataType]descriptorpb.FieldDescriptorProto_Type{ arrow.BinaryTypes.Binary: descriptorpb.FieldDescriptorProto_TYPE_BYTES, arrow.FixedWidthTypes.Boolean: descriptorpb.FieldDescriptorProto_TYPE_BOOL, arrow.PrimitiveTypes.Float64: descriptorpb.FieldDescriptorProto_TYPE_DOUBLE, arrow.PrimitiveTypes.Int64: descriptorpb.FieldDescriptorProto_TYPE_INT64, arrow.BinaryTypes.String: descriptorpb.FieldDescriptorProto_TYPE_STRING, arrow.FixedWidthTypes.Date32: descriptorpb.FieldDescriptorProto_TYPE_STRING, arrow.FixedWidthTypes.Timestamp_s: descriptorpb.FieldDescriptorProto_TYPE_STRING, }
TypeMappings maps Apache Arrow types to Protocol Buffers field types.
Functions ¶
func FormatArrowJSON ¶
func FormatArrowJSON(reader array.RecordReader, output io.Writer) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.