use of org.apache.hadoop.hive.metastore.api.PrimaryKeysRequest in project hive by apache.
the class TestPrimaryKey method getNoSuchDb.
@Test
public void getNoSuchDb() throws TException {
PrimaryKeysRequest rqst = new PrimaryKeysRequest("nosuch", testTables[0].getTableName());
List<SQLPrimaryKey> pk = client.getPrimaryKeys(rqst);
Assert.assertTrue(pk.isEmpty());
}
Aggregations