Class UniformAdapter

Object
io.delta.kernel.unitycatalog.adapters.UniformAdapter

public class UniformAdapter extends Object
Adapter for Delta Uniform metadata to UniformMetadata.

This adapter extracts Uniform metadata (e.g., Iceberg) from committer properties and provides it in the format expected by Unity Catalog.

The committer properties are provided by the connector which is responsible for computing the Uniform metadata during write operations. The connector injects these properties into Kernel via the CommitMetadata.withCommitterProperties, and Kernel propagates them to the UCCatalogManagedCommitter, which then forwards them to Unity Catalog.

  • Field Details

  • Method Details

    • fromCommitterProperties

      public static Optional<io.delta.storage.commit.uniform.UniformMetadata> fromCommitterProperties(Map<String,String> properties)
      Extracts Uniform metadata from committer properties.
      Parameters:
      properties - the committer properties map
      Returns:
      an Optional containing the UniformMetadata if all required fields are present, Optional.empty() otherwise