Module commit

Source
Expand description

Commit operations for atomic metadata updates in Iceberg catalogs

This module provides the core functionality for atomic commits to Iceberg tables and views:

  • Commit structures for tables and views
  • Update operations that can be applied
  • Requirements that must be satisfied
  • Functions to validate requirements and apply updates

All changes are made atomically - either all updates succeed or none are applied. Requirements are checked first to ensure concurrent modifications don’t corrupt state.

Structs§

CommitTable
A commit operation to update table metadata in an Iceberg catalog
CommitView
A commit operation to update view metadata in an Iceberg catalog

Enums§

TableRequirement
Requirements that must be met before applying updates to table metadata
TableUpdate
Updates that can be applied to table metadata in a commit operation
ViewRequirement
Requirements that must be met before applying updates to view metadata
ViewUpdate
Updates that can be applied to view metadata in a commit operation

Functions§

apply_table_updates
Applies a sequence of updates to table metadata
apply_view_updates
Applies a sequence of updates to view metadata
check_table_requirements
Validates that table metadata meets all specified requirements
check_view_requirements
Validates that view metadata meets all specified requirements