public class MetastoreUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
alterTable(org.apache.hadoop.hive.metastore.IMetaStoreClient client,
java.lang.String databaseName,
java.lang.String tblName,
org.apache.hadoop.hive.metastore.api.Table table)
Calls alter_table method using the metastore client.
|
static void |
alterTable(org.apache.hadoop.hive.metastore.IMetaStoreClient client,
java.lang.String databaseName,
java.lang.String tblName,
org.apache.hadoop.hive.metastore.api.Table table,
java.util.Map<java.lang.String,java.lang.String> extraEnv)
Calls alter_table method using the metastore client.
|
public static void alterTable(org.apache.hadoop.hive.metastore.IMetaStoreClient client, java.lang.String databaseName, java.lang.String tblName, org.apache.hadoop.hive.metastore.api.Table table) throws org.apache.thrift.TException
org.apache.thrift.TException
public static void alterTable(org.apache.hadoop.hive.metastore.IMetaStoreClient client, java.lang.String databaseName, java.lang.String tblName, org.apache.hadoop.hive.metastore.api.Table table, java.util.Map<java.lang.String,java.lang.String> extraEnv) throws org.apache.thrift.TException
org.apache.thrift.TException