Documentation
¶
Overview ¶
Package flatten provides a RecordReader wrapper that flattens complex Arrow types (Struct, List, Map, Union) to simple columns.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
Converter wraps an array.RecordReader and flattens complex types. Implements array.RecordReader.
func NewConverter ¶
func NewConverter(source array.RecordReader) *Converter
NewConverter creates a flattening RecordReader wrapper. If the schema has no complex types, batches pass through unchanged.
func (*Converter) Record ¶
func (c *Converter) Record() arrow.RecordBatch
func (*Converter) RecordBatch ¶
func (c *Converter) RecordBatch() arrow.RecordBatch
Click to show internal directories.
Click to hide internal directories.