to

package
v1.1.20 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package to provides simple methods to write chutils.Input data to a CSV or ClickHouse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CSVToTable added in v1.1.19

func CSVToTable(inCSV, outTable string, separator, eol, quote rune, after int, conn *chutils.Connect) error

CSVToTable moves a CSV to a ClickHouse table.

func TableToCSV added in v1.1.19

func TableToCSV(table, outCSV string, separator, eol, quote rune, conn *chutils.Connect) error

TableToCSV creates a CSV from a ClickHouse table with a header row.

func ToCSV added in v1.1.19

func ToCSV(rdr chutils.Input, outCSV string, separator, eol, quote rune) error

ToCSV writes the rdr data out to the CSV toFile. The CSV includes a header row.

func ToTable added in v1.1.19

func ToTable(rdr chutils.Input, outTable string, after int, conn *chutils.Connect) error

ToTable writes the rdr data out to a ClickHouse table

Types

This section is empty.

Jump to

Keyboard shortcuts

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