Expand description
§SuperTable Metadata
This module defines the core metadata structures for SuperTable, a next-generation open table format. The design is inspired by Apache Iceberg’s metadata specification while adding modern enhancements for better concurrency control and auditability.
§Key Concepts
- TableMetadata: The root metadata object containing all table state
- Snapshot: An immutable point-in-time view of a table
- Schema: The table’s column definitions with evolution support
- PartitionSpec: How the table is partitioned (planned)
§Concurrency Model
SuperTable uses optimistic concurrency control (OCC) with compare-and-swap (CAS)
semantics. Each metadata update increments the last_sequence_number, enabling
conflict detection during concurrent writes.
Structs§
- Snapshot
LogEntry - A log entry recording a snapshot change.
- Table
Metadata - The root metadata object for a SuperTable table.
- Table
Metadata Builder - Builder for constructing
TableMetadatainstances. - Table
Metrics - Aggregate metrics for a table.
Enums§
- Metadata
Error - Errors that can occur during metadata operations.
Constants§
- FORMAT_
VERSION - The format version of SuperTable metadata. Increment this when making breaking changes to the metadata format.