private Identifier originIdentifierOfSubTable(Identifier identifier) {
    String[] namespace = identifier.namespace();
    if (identifier.namespace().length == 2) {
      for (SparkTableFormat sparkTableFormat : tableFormats.values()) {
        if (sparkTableFormat.isSubTableName(identifier.name())) {
          String[] ns = Arrays.copyOf(namespace, namespace.length - 1);
          String name = namespace[ns.length];
          return Identifier.of(ns, name);
        }
      }
    }
    return null;
  }
Unified catalog implement for spark engine.
amoro-format-mixed/amoro-mixed-spark/amoro-mixed-spark-3-common/src/main/java/org/apache/amoro/spark/SparkUnifiedCatalogBase.java