### Question:
HiveSourceTableLoader { public static Set<String> reloadHiveTables(String[] hiveTables, KylinConfig config) throws IOException { Map<String, Set<String>> db2tables = Maps.newHashMap(); for (String table : hiveTables) { String[] parts = HadoopUtil.parseHiveTableName(table); Set<String> set = db2tables.get(parts[0]); if (set == null) { set = Sets.newHashSet(); db2tables.put(parts[0], set); } set.add(parts[1]); } Set<String> loadedTables = Sets.newHashSet(); for (String database : db2tables.keySet()) { List<String> loaded = extractHiveTables(database, db2tables.get(database), config); loadedTables.addAll(loaded); } return loadedTables; }  static Set<String> reloadHiveTables(String[] hiveTables, KylinConfig config); static final String OUTPUT_SURFIX; static final String TABLE_FOLDER_NAME; static final String TABLE_EXD_FOLDER_NAME; }### Answer:
@Test public void test() throws IOException { if (!useSandbox()) return; KylinConfig config = getTestConfig(); String[] toLoad = new String[] { "DEFAULT.TEST_KYLIN_FACT", "EDW.TEST_CAL_DT" }; Set<String> loaded = HiveSourceTableLoader.reloadHiveTables(toLoad, config); assertTrue(loaded.size() == toLoad.length); for (String str : toLoad) assertTrue(loaded.contains(str)); }