arrdata

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 9 more Imports: 11 Imported by: 0

Documentation

Overview

Package arrdata exports arrays and records data ready to be used for tests.

Index

Constants

This section is empty.

Variables

View Source
var (
	Records     = make(map[string][]array.Record)
	RecordNames []string
)

Functions

func CheckArrowFile

func CheckArrowFile(t *testing.T, f *os.File, mem memory.Allocator, schema *arrow.Schema, recs []array.Record)

CheckArrowFile checks whether a given ARROW file contains the expected list of records.

func CheckArrowStream

func CheckArrowStream(t *testing.T, f *os.File, mem memory.Allocator, schema *arrow.Schema, recs []array.Record)

CheckArrowStream checks whether a given ARROW stream contains the expected list of records.

func WriteFile

func WriteFile(t *testing.T, f *os.File, mem memory.Allocator, schema *arrow.Schema, recs []array.Record)

WriteFile writes a list of records to the given file descriptor, as an ARROW file.

func WriteStream

func WriteStream(t *testing.T, f *os.File, mem memory.Allocator, schema *arrow.Schema, recs []array.Record)

WriteStream writes a list of records to the given file descriptor, as an ARROW stream.

Types

This section is empty.

Jump to

Keyboard shortcuts

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