convert

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertCSVToParquet

func ConvertCSVToParquet(
	ctx context.Context,
	csvFilePath, parquetFilePath string,
	schema *arrow.Schema,
	hasHeader bool, chunkSize int64,
	delimiter rune,
	nullValues []string,
	stringsCanBeNull bool,
) error

func ConvertParquetToCSV

func ConvertParquetToCSV(
	ctx context.Context,
	parquetFilePath, csvFilePath string,
	memoryMap bool, chunkSize int64,
	columns []string, rowGroups []int, parallel bool,
	delimiter rune, includeHeader bool,
	nullValue string, stringsReplacer *strings.Replacer,
	boolFormatter func(bool) string,
) error

func ConvertParquetToJSON

func ConvertParquetToJSON(ctx context.Context, parquetFilePath, jsonFilePath string, memoryMap bool, chunkSize int64, columns []string, rowGroups []int, parallel bool, includeStructs bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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