Class HMSTablePropertyHelper

java.lang.Object
org.apache.iceberg.hive.HMSTablePropertyHelper

public class HMSTablePropertyHelper extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    updateHmsTableForIcebergTable(String newMetadataLocation, org.apache.hadoop.hive.metastore.api.Table tbl, org.apache.iceberg.TableMetadata metadata, Set<String> obsoleteProps, boolean hiveEngineEnabled, long maxHiveTablePropertySize, String currentLocation)
    Updates the HMS Table properties based on the Iceberg Table metadata.
    static void
    updateHmsTableForIcebergView(String newMetadataLocation, org.apache.hadoop.hive.metastore.api.Table tbl, org.apache.iceberg.view.ViewMetadata metadata, Set<String> obsoleteProps, long maxHiveTablePropertySize, String currentLocation, String sqlQuery)
    Updates the HMS Table properties based on the Iceberg View metadata.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • updateHmsTableForIcebergTable

      public static void updateHmsTableForIcebergTable(String newMetadataLocation, org.apache.hadoop.hive.metastore.api.Table tbl, org.apache.iceberg.TableMetadata metadata, Set<String> obsoleteProps, boolean hiveEngineEnabled, long maxHiveTablePropertySize, String currentLocation)
      Updates the HMS Table properties based on the Iceberg Table metadata.
    • updateHmsTableForIcebergView

      public static void updateHmsTableForIcebergView(String newMetadataLocation, org.apache.hadoop.hive.metastore.api.Table tbl, org.apache.iceberg.view.ViewMetadata metadata, Set<String> obsoleteProps, long maxHiveTablePropertySize, String currentLocation, String sqlQuery)
      Updates the HMS Table properties based on the Iceberg View metadata.