public static void checkAndSkipIoConfigSerialization(Configuration config, Table table) {
    if (table != null && config.getBoolean(InputFormatConfig.CONFIG_SERIALIZATION_DISABLED,
            InputFormatConfig.CONFIG_SERIALIZATION_DISABLED_DEFAULT) && table.io() instanceof HadoopConfigurable) {
      ((HadoopConfigurable) table.io()).serializeConfWith(conf -> new NonSerializingConfig(config)::get);
    }
  }
If enabled, it ensures that the FileIO's hadoop configuration will not be serialized.
This might be desirable for decreasing the overall size of serialized table objects.

Note: Skipping FileIO config serialization in this fashion might in turn necessitate calling
{@link #checkAndSetIoConfig(Configuration, Table)} on the deserializer-side to enable subsequent use of the FileIO.

@param config Configuration to set for FileIO in a transient manner, if enabled
@param table The Iceberg table object
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java