datafileavro

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package datafileavro is an internal bridge that lets the github.com/apache/iceberg-go/codec package consume the iceberg package's manifest-entry Avro decoder without iceberg having to export it publicly.

The iceberg package's init populates Unmarshal with a closure over its unexported decode function. The codec package calls Unmarshal through this indirection. The any-typed parameters break what would otherwise be a circular import between iceberg and codec.

Index

Constants

This section is empty.

Variables

View Source
var Unmarshal func(data []byte, spec, schema any, version int) (any, error)

Unmarshal is set by the iceberg package's init() function. It invokes the iceberg package's unexported manifest-entry Avro decoder and returns an iceberg.DataFile (typed as any to avoid an import cycle); callers must type-assert it back.

spec carries an iceberg.PartitionSpec; schema carries a *iceberg.Schema. version is the Iceberg format version (1, 2, or 3).

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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