testfile

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New[T any](t testing.TB, data []T) string

func Open

func Open(t testing.TB, name string) (*os.File, *parquet.File)

Types

type Flat

type Flat struct {
	ColA int     `parquet:",snappy"`
	ColB string  `parquet:",snappy"`
	ColC *string `parquet:",snappy,optional"`
}

type Inner

type Inner struct {
	InnerA string `parquet:",snappy"`
	Map    []InnerMap
}

type InnerMap

type InnerMap struct {
	Key string `parquet:",snappy,dict"`
	Val *int   `parquet:",snappy,optional"`
}

type Nested

type Nested struct {
	ColA int `parquet:",snappy"`
	ColB []Inner
	ColC string `parquet:",snappy"`
}

func RandomNested

func RandomNested(rows, levels int) []Nested

Jump to

Keyboard shortcuts

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