test

package
v0.0.0-...-bea810b Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClickHouseTestVersion

func GetClickHouseTestVersion() string

func GetEnv

func GetEnv(key, fallback string) string

func NewFakeClickhouseClient

func NewFakeClickhouseClient(tables map[string][]string) fakeClickhouseClient

Types

type FakeDataFrame

type FakeDataFrame struct {
	Rows        [][]interface{}
	ColumnNames []string
	// contains filtered or unexported fields
}

func NewFakeDataFrame

func NewFakeDataFrame(name string, columns []string, rows [][]interface{}) FakeDataFrame

func (FakeDataFrame) Columns

func (f FakeDataFrame) Columns() []string

func (FakeDataFrame) FilterColumns

func (f FakeDataFrame) FilterColumns(excludeColumns []string) FakeDataFrame

func (FakeDataFrame) Limit

func (f FakeDataFrame) Limit(rowLimit int64) FakeDataFrame

func (FakeDataFrame) Name

func (f FakeDataFrame) Name() string

func (FakeDataFrame) Next

func (f FakeDataFrame) Next() ([]interface{}, bool, error)

func (FakeDataFrame) Order

func (f FakeDataFrame) Order(orderBy data.OrderBy) FakeDataFrame

func (*FakeDataFrame) Reset

func (f *FakeDataFrame) Reset()

Jump to

Keyboard shortcuts

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