use of org.apache.hadoop.hive.metastore.api.GetAllWriteEventInfoRequest in project hive by apache.
the class TestGetAllWriteEventInfo method testGetByWrongTxnId.
@Test
public void testGetByWrongTxnId() throws Exception {
GetAllWriteEventInfoRequest req = new GetAllWriteEventInfoRequest();
req.setTxnId(-1);
List<WriteEventInfo> writeEventInfoList = client.getAllWriteEventInfo(req);
Assert.assertTrue(writeEventInfoList.isEmpty());
}
Aggregations