flight_integration

package
v11.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Schema to be returned for mocking the statement/prepared statement
	// results. Must be the same across all languages
	QuerySchema = arrow.NewSchema([]arrow.Field{{
		Name: "id", Type: arrow.PrimitiveTypes.Int64, Nullable: true,
		Metadata: flightsql.NewColumnMetadataBuilder().
			TableName("test").IsAutoIncrement(true).IsCaseSensitive(false).
			TypeName("type_test").SchemaName("schema_test").IsSearchable(true).
			CatalogName("catalog_test").Precision(100).Metadata(),
	}}, nil)
)

Functions

func CheckActionResults

func CheckActionResults(ctx context.Context, client flight.Client, action *flight.Action, results []string) error

Types

type Scenario

type Scenario interface {
	MakeServer(port int) flight.Server
	RunClient(addr string, opts ...grpc.DialOption) error
}

func GetScenario

func GetScenario(name string, args ...string) Scenario

Directories

Path Synopsis
cmd
arrow-flight-integration-client
Client for use with Arrow Flight Integration tests via archery
Client for use with Arrow Flight Integration tests via archery

Jump to

Keyboard shortcuts

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