datafileavro

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 0 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 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