arrow: github.com/apache/arrow/go/arrow/internal/arrdata Index | Files

package arrdata

import "github.com/apache/arrow/go/arrow/internal/arrdata"

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

Index

Package Files

arrdata.go ioutil.go

Variables

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

func CheckArrowFile Uses

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 Uses

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 Uses

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 Uses

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.

Package arrdata imports 11 packages (graph). Updated 2019-11-26. Refresh now. Tools for package owners.