Class IcebergUniversalFormatMetadataValidatorAndUpdater
Object
io.delta.kernel.internal.icebergcompat.IcebergUniversalFormatMetadataValidatorAndUpdater
Utility class that enforces dependencies of UNIVERSAL_FORMAT_* options.
This class currently only does validation, in the future it might also update metadata to be conformant and thus has "Updater suffix".
-
Method Summary
-
Method Details
-
validate
Ensures the metadata is consistent with the enabled Universal output targets.If required dependent TableConfigs are not set in
metadatathen an exception is raised."hudi" is trivially compatible with Metadata.
"iceberg" requires that TableConfig.ICEBERG_COMPAT_V2_ENABLED is set to true.
- Throws:
InvalidConfigurationValueException- metadata has ICEBERG universal format enabled and TableConfig.ICEBERG_COMPAT_V2_ENABLED is not enabled in metadata
-