HiveMetastores.setTestClient(hiveServer.getClient());
}
@Test
public void testCheckEdge() throws Exception {
HiveToEdge hiveToEdge = new HiveIntNullEdge();
HiveInputDescription inputDesc = new HiveInputDescription();
HiveTableSchema schema = TestSchema.builder()
.addColumn("foo", HiveType.INT)
.addColumn("bar", HiveType.INT)
.build();
hiveToEdge.checkInput(inputDesc, schema);
schema = TestSchema.builder()
.addColumn("foo", HiveType.INT)
.addColumn("bar", HiveType.LONG)
.build();