public final class AlterTableUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
allowOperationInReplicationScope(Hive db,
String tableName,
Map<String,String> partSpec,
ReplicationSpec replicationSpec)
Validate if the given table/partition is eligible for update.
|
static boolean |
isFullPartitionSpec(Table table,
Map<String,String> partitionSpec) |
static boolean |
isSchemaEvolutionEnabled(Table table,
org.apache.hadoop.conf.Configuration conf) |
public static boolean allowOperationInReplicationScope(Hive db, String tableName, Map<String,String> partSpec, ReplicationSpec replicationSpec) throws HiveException
HiveExceptionpublic static boolean isSchemaEvolutionEnabled(Table table, org.apache.hadoop.conf.Configuration conf)
Copyright © 2024 The Apache Software Foundation. All rights reserved.