/** * Create a table if not exists, or alter a table if exists. * * @param table a {@link HiveTable} to be created or altered * @throws IOException */ public void createOrAlterTable(HiveTable table) throws IOException { if (!createTableIfNotExists(table)) { alterTable(table); } }
/** * Create a table if not exists, or alter a table if exists. * * @param table a {@link HiveTable} to be created or altered * @throws IOException */ public void createOrAlterTable(HiveTable table) throws IOException { if (!createTableIfNotExists(table)) { alterTable(table); } }