meta

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ClickhouseCodecMetadata = "d8a.warehouse.clickhouse.codec"

ClickhouseCodecMetadata is the metadata key used to indicate that a field should have a CODEC clause in ClickHouse DDL

View Source
const ClickhouseLowCardinalityMetadata = "d8a.warehouse.clickhouse.low_cardinality"

ClickhouseLowCardinalityMetadata is the metadata key used to indicate that a field should be stored as LowCardinality in ClickHouse

View Source
const ColumnDescriptionMetadataKey = "d8a.column.description"

ColumnDescriptionMetadataKey is the metadata key used to store column descriptions in Arrow field metadata. This is used to pass descriptions from schema definitions to warehouse drivers (e.g., BigQuery) that support column descriptions.

Variables

This section is empty.

Functions

func Codec

func Codec(codec, compressionAlg string) string

Codec returns a CODEC clause string for ClickHouse DDL. If compressionAlg is empty, returns "CODEC(codec)". If both are provided, returns "CODEC(codec, compressionAlg)".

Types

This section is empty.

Jump to

Keyboard shortcuts

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