logictest

package
v0.0.0-...-72c1dcb Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB interface {
	CreateTable(name string, schema *schemapb.Schema) (Table, error)
	// ScanTable returns a query.Builder prepared to scan the given table.
	ScanTable(name string) query.Builder
}

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(db DB, schemas map[string]*schemapb.Schema) *Runner

func (*Runner) RunCmd

func (r *Runner) RunCmd(ctx context.Context, c *datadriven.TestData) string

RunCmd parses and runs datadriven command with the associated arguments, and returns the result.

type Table

type Table interface {
	Schema() *dynparquet.Schema
	InsertRecord(context.Context, arrow.Record) (uint64, error)
}

Jump to

Keyboard shortcuts

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