@Override public Partition appendPartition(String dbName, String tableName, String partName) throws TException { return appendPartition(getDefaultCatalog(conf), dbName, tableName, partName); }
@Override public Partition appendPartition(String db_name, String table_name, List<String> part_vals) throws TException { return appendPartition(getDefaultCatalog(conf), db_name, table_name, part_vals); }
msc.appendPartition(dbName, tblName, partVals, envContext); listSize++; assertEquals(notifyList.size(), listSize);
client.appendPartition(dbName, tblName, partName); Partition part5 = client.getPartition(dbName, tblName, part.getValues()); assertTrue("Append partition by name failed", part5.getValues().equals(vals));
int preEventListSize; preEventListSize = preNotifyList.size() + 1; Partition newPart = msc.appendPartition(dbName, tblName, part_vals);
@Override public Partition appendPartition(String dbName, String tableName, String partName) throws InvalidObjectException, AlreadyExistsException, MetaException, TException { return appendPartition(dbName, tableName, partName, null); }
@Override public Void call() throws TException { // purposely don't check if the partition already exists because // getPartition(db, table, path) will throw an exception to indicate the // partition doesn't exist also. this way, it's only one call. client.appendPartition(dbName, tableName, path); return null; } };
@Override public Void call() throws TException { // purposely don't check if the partition already exists because // getPartition(db, table, path) will throw an exception to indicate the // partition doesn't exist also. this way, it's only one call. client.appendPartition(dbName, tableName, path); return null; } };
public Partition appendPartition(String dbName, String tableName, String partName) throws InvalidObjectException, AlreadyExistsException, MetaException, TException { return appendPartition(dbName, tableName, partName, null); }
@Override public Partition appendPartition(String dbName, String tableName, String partName) throws InvalidObjectException, AlreadyExistsException, MetaException, TException { return appendPartition(dbName, tableName, partName, null); }
/** * @param table_name * @param db_name * @param part_vals * @return the appended partition * @throws InvalidObjectException * @throws AlreadyExistsException * @throws MetaException * @throws TException * @see org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Iface#append_partition(java.lang.String, * java.lang.String, java.util.List) */ @Override public Partition appendPartition(String db_name, String table_name, List<String> part_vals) throws InvalidObjectException, AlreadyExistsException, MetaException, TException { return appendPartition(db_name, table_name, part_vals, null); }
/** * @param table_name * @param db_name * @param part_vals * @return the appended partition * @throws InvalidObjectException * @throws AlreadyExistsException * @throws MetaException * @throws TException * @see org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Iface#append_partition(java.lang.String, * java.lang.String, java.util.List) */ public Partition appendPartition(String db_name, String table_name, List<String> part_vals) throws InvalidObjectException, AlreadyExistsException, MetaException, TException { return appendPartition(db_name, table_name, part_vals, null); }
/** * @param table_name * @param db_name * @param part_vals * @return the appended partition * @throws InvalidObjectException * @throws AlreadyExistsException * @throws MetaException * @throws TException * @see org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Iface#append_partition(java.lang.String, * java.lang.String, java.util.List) */ @Override public Partition appendPartition(String db_name, String table_name, List<String> part_vals) throws InvalidObjectException, AlreadyExistsException, MetaException, TException { return appendPartition(db_name, table_name, part_vals, null); }