Class CatalogCommitterUtils

Object
io.delta.kernel.commit.CatalogCommitterUtils

public class CatalogCommitterUtils extends Object
  • Field Details

    • METASTORE_LAST_UPDATE_VERSION

      public static final String METASTORE_LAST_UPDATE_VERSION
      Property key that specifies which version last updated the catalog entry.
      See Also:
    • METASTORE_LAST_COMMIT_TIMESTAMP

      public static final String METASTORE_LAST_COMMIT_TIMESTAMP
      Property key that specifies the timestamp (in milliseconds since the Unix epoch) of the last commit that updated the catalog entry.
      See Also:
  • Method Details

    • extractProtocolProperties

      public static Map<String,String> extractProtocolProperties(Protocol protocol)
      Extract protocol-related properties from the given protocol.

      For a Protocol(3, 7) with reader features ["columnMapping", "deletionVectors"] and writer features ["appendOnly", "columnMapping"], this would return properties like:

      • delta.minReaderVersion: 3
      • delta.minWriterVersion: 7
      • delta.feature.columnMapping: supported
      • delta.feature.deletionVectors: supported
      • delta.feature.appendOnly: supported