public void loadTable(Context ctx) {
    handleTable(
        ctx,
        handler -> {
          TableOperations ops = handler.newTableOperator();
          TableMetadata tableMetadata = ops.current();
          if (tableMetadata == null) {
            throw new NoSuchTableException("failed to load table from metadata file.");
          }
          return LoadTableResponse.builder().withTableMetadata(tableMetadata).build();
        });
  }
GET PREFIX/v1/catalogs/{catalog}/namespaces/{namespace}/tables/{table}
amoro-ams/src/main/java/org/apache/amoro/server/RestCatalogService.java