@Override
  public Table loadTable(Identifier ident) throws NoSuchTableException {
    if (isManagedSubTable(ident)) {
      // if it's a sub table identifier, must be a managed table
      return getTargetCatalog().loadTable(ident);
    }

    Table table = getSessionCatalog().loadTable(ident);
    if (isManagedTable(table)) {
      return getTargetCatalog().loadTable(ident);
    }
    return table;
  }
Check if the table should be loaded via target catalog.
amoro-format-mixed/amoro-mixed-spark/amoro-mixed-spark-3-common/src/main/java/org/apache/amoro/spark/SessionCatalogBase.java