.create(databaseName, tableName, cols)
.ifNotExists(true)
.comments("falcon integration test")
.partCols(new ArrayList<HCatFieldSchema>(partitionSchema))
.build();
client.createTable(tableDesc);
}
public static void createExternalTable(String metaStoreUrl, String databaseName, String tableName,
List<String> partitionKeys, String externalLocation) throws Exception {
ArrayList<HCatFieldSchema> cols = new ArrayList<HCatFieldSchema>();