bigquerylive

package
v3.18.41 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDataset

func CreateDataset(ctx context.Context, svc *bq.Service, projectID, datasetID, location string) error

func DropDataset

func DropDataset(ctx context.Context, svc *bq.Service, projectID, datasetID string) error

func NewConnector

func NewConnector(ctx context.Context, conf Config) (driver.Connector, error)

func NewService

func NewService(ctx context.Context) (*bq.Service, error)

func SQLRowCounts

func SQLRowCounts(sql string) map[string]uint64

func SeedFile

func SeedFile(ctx context.Context, svc *bq.Service, projectID, datasetID, location, seedPath string) error

func SeedRowCounts

func SeedRowCounts(seedPath string) (map[string]uint64, error)

Types

type Config

type Config struct {
	ProjectID  string
	DatasetID  string
	Location   string
	CaptureDir string
	TestName   string
	RunID      string
	TableRows  map[string]uint64
}

Jump to

Keyboard shortcuts

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