helper

package
v1.19.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrowToClickHouse

func ArrowToClickHouse(t arrow.DataType) string

func ArrowToCockroach

func ArrowToCockroach(t arrow.DataType) string

ArrowToCockroach converts arrow data type to cockroach data type. CockroachDB lacks support for some data types like macaddr and has different aliases for ints. See: https://www.cockroachlabs.com/docs/stable/int.html

func ArrowToPg10

func ArrowToPg10(t arrow.DataType) string

func GetValue

func GetValue(column arrow.Array, rowIndex int) interface{}

GetValue extracts the value at the specified row index from a column using reflection

func InferArrowType

func InferArrowType(value interface{}) arrow.DataType

func IsPrimitiveType

func IsPrimitiveType(fieldType string) bool

func MapPlainTypeToArrow

func MapPlainTypeToArrow(fieldType string) arrow.DataType

func NormalizeStreamName

func NormalizeStreamName(stream string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL