SnapshotDescriptor¶
SnapshotDescriptor is an abstraction of descriptions of the versioned snapshots of a delta table.
Contract¶
DeltaLog¶
Used when:
GeneratedColumnis requested to generatePartitionFilters (for reporting purposes only)
Metadata¶
Used when:
GeneratedColumnis requested to generatePartitionFiltersSnapshotDescriptoris requested for the table schemaTahoeFileIndexis requested for the partition schema
Protocol¶
Used when:
GeneratedColumnis requested to generatePartitionFilters
Version¶
Used when:
TahoeFileIndexis requested for the string representation
Implementations¶
Table Schema¶
schema requests the Metadata for the table schema.
schema is used when:
DeltaCatalogis requested to alterTableDeltaTableV2is requested for the table schemaShowTableColumnsCommandis executedTahoeLogFileIndexis requested to getSnapshotDeltaDataSourceis requested for the source schema and createSourceDeltaSourceBaseis requested for the table schema, checkColumnMappingSchemaChangesOnStreamStartOnce (for reporting purposes)
isCatalogOwned¶
isCatalogOwned is enabled (true) when all the following holds:
- version is at least
0 - CatalogOwnedTableFeature is among the reader and writer features (of this Protocol)
isCatalogOwned is used when:
OptimisticTransactionImplis requested to isUCManagedTableSnapshotis requested to ensureCommitFilesBackfilledSnapshotManagementis requested to getUpdatedSnapshot and populateCommitCoordinatorCreateDeltaTableCommandis requested to replaceMetadataIfNecessaryDeltaReorgTableCommandcommand is executedOptimizeTableCommandcommand is executedVacuumCommandcommand is executedCatalogOwnedTableUtilsis requested to populateTableCommitCoordinatorFromCatalog, validatePropertiesForAlterTableSetPropertiesDeltaCommand, validatePropertiesForAlterTableUnsetPropertiesDeltaCommand and validatePropertiesForCreateDeltaTableCommandCoordinatedCommitsUtilsis requested to backfillWhenCoordinatedCommitsDisabled and commitFilesIteratorTransactionHelperis requested to createCoordinatedCommitsStats and readSnapshotTableCommitCoordinatorClientOpt