Documentation ¶
Index ¶
- Variables
- func GetCompression(codec string) (compress.Compression, error)
- func LogicalOrConvertedAnnotation(node pqschema.Node) string
- func LookupGroupNode(schema *pqschema.Schema, name string) (*pqschema.GroupNode, bool)
- func LookupListElementNode(sc *pqschema.Schema, name string) (*pqschema.PrimitiveNode, bool)
- func LookupNode(schema *pqschema.Schema, name string) (pqschema.Node, bool)
- func LookupPrimitiveNode(schema *pqschema.Schema, name string) (*pqschema.PrimitiveNode, bool)
- func ParquetSchemaString(schema *pqschema.Schema) string
- func TransformByColumn(config *TransformConfig) error
- type ArrowSchemaBuilder
- type ColumnTransformer
- type SchemaTransformer
- type TransformConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ParquetStringType = pqschema.StringLogicalType{}
Functions ¶
func GetCompression ¶
func GetCompression(codec string) (compress.Compression, error)
func LookupGroupNode ¶
func LookupListElementNode ¶
func LookupPrimitiveNode ¶
func ParquetSchemaString ¶
ParquetSchemaString generates a string representation of the schema as documented in https://pkg.go.dev/github.com/fraugster/parquet-go/parquetschema
func TransformByColumn ¶
func TransformByColumn(config *TransformConfig) error
Types ¶
type ArrowSchemaBuilder ¶
type ArrowSchemaBuilder struct {
// contains filtered or unexported fields
}
func NewArrowSchemaBuilder ¶
func NewArrowSchemaBuilder() *ArrowSchemaBuilder
func (*ArrowSchemaBuilder) AddGeometry ¶
func (b *ArrowSchemaBuilder) AddGeometry(name string, encoding string) error
func (*ArrowSchemaBuilder) Has ¶
func (b *ArrowSchemaBuilder) Has(name string) bool
func (*ArrowSchemaBuilder) Ready ¶
func (b *ArrowSchemaBuilder) Ready() bool
type ColumnTransformer ¶
type TransformConfig ¶
type TransformConfig struct { Reader parquet.ReaderAtSeeker Writer io.Writer Compression *compress.Compression RowGroupLength int TransformSchema SchemaTransformer TransformColumn ColumnTransformer BeforeClose func(*file.Reader, *file.Writer) error }
Click to show internal directories.
Click to hide internal directories.