package internal

import "github.com/apache/arrow-go/v18/arrow/internal"

Index

Constants

const CurMetadataVersion = flatbuf.MetadataVersionV5

Functions

func DefaultHasValidityBitmap

func DefaultHasValidityBitmap(id arrow.Type) bool

DefaultHasValidityBitmap is a convenience function equivalent to calling HasValidityBitmap with CurMetadataVersion.

func HasBufferSizesBuffer

func HasBufferSizesBuffer(id arrow.Type) bool

HasBufferSizesBuffer returns whether a given type has an extra buffer in the C ABI to store the sizes of other buffers. Currently this is only StringView and BinaryView.

func HasValidityBitmap

func HasValidityBitmap(id arrow.Type, version flatbuf.MetadataVersion) bool

HasValidityBitmap returns whether the given type at the provided version is expected to have a validity bitmap in it's representation.

Typically this is necessary because of the change between V4 and V5 where union types no longer have validity bitmaps.

Source Files

utils.go

Directories

PathSynopsis
arrow/internal/arrdataPackage arrdata exports arrays and records data ready to be used for tests.
arrow/internal/arrjsonPackage arrjson provides types and functions to encode and decode ARROW types and data to and from JSON files.
arrow/internal/debugPackage debug provides APIs for conditional runtime assertions and debug logging.
arrow/internal/dictutils
arrow/internal/flatbuf
arrow/internal/flight_integration
arrow/internal/flight_integration/cmd
arrow/internal/flight_integration/cmd/arrow-flight-integration-clientClient for use with Arrow Flight Integration tests via archery
arrow/internal/flight_integration/cmd/arrow-flight-integration-server
arrow/internal/testing
arrow/internal/testing/gen
arrow/internal/testing/tools
Version
v18.2.0 (latest)
Published
Mar 12, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
3 days ago

Tools for package owners.