public static List<String> getAllHiveTables(HMSClientPool hiveClient, String database) {
    try {
      return hiveClient.run(client -> client.getAllTables(database));
    } catch (TException e) {
      throw new RuntimeException("Failed to get tables of database " + database, e);
    } catch (InterruptedException e) {
      Thread.currentThread().interrupt();
      throw new RuntimeException("Interrupted in call to getAllTables", e);
    }
  }
Gets all the tables in a database.

@param hiveClient Hive client from MixedHiveCatalog
@param database Hive database
@return A List of table-names from hive database
amoro-format-mixed/amoro-mixed-hive/src/main/java/org/apache/amoro/hive/utils/HiveTableUtil.java