arrdata

package
v18.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: Apache-2.0, BSD-3-Clause Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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][]arrow.RecordBatch)
	RecordNames []string
)

Functions

func CheckArrowConcurrentFile

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

func CheckArrowFile

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

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 []arrow.RecordBatch)

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 []arrow.RecordBatch)

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

func WriteFileCompressed

func WriteFileCompressed(t *testing.T, f *os.File, mem memory.Allocator, schema *arrow.Schema, recs []arrow.RecordBatch, codec flatbuf.CompressionType, concurrency int)

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 []arrow.RecordBatch)

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

func WriteStreamCompressed

func WriteStreamCompressed(t *testing.T, f *os.File, mem memory.Allocator, schema *arrow.Schema, recs []arrow.RecordBatch, codec flatbuf.CompressionType, np int)

WriteStreamCompressed writes a list of records to the given file descriptor as an ARROW stream using the provided compression type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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