public static String getTrashParentLocation(
      TableIdentifier tableIdentifier, String customTrashRootLocation) {
    Preconditions.checkNotNull(customTrashRootLocation);
    if (!customTrashRootLocation.endsWith("/")) {
      customTrashRootLocation = customTrashRootLocation + "/";
    }
    return customTrashRootLocation
        + tableIdentifier.getCatalog()
        + "/"
        + tableIdentifier.getDatabase()
        + "/"
        + tableIdentifier.getTableName();
  }
Get trash parent location, when table are deleted, the trash parent location should be deleted.

@param tableIdentifier - table identifier
@param customTrashRootLocation - from the table property table-trash.custom-root-location
@return trash parent location.
amoro-format-iceberg/src/main/java/org/apache/amoro/io/TableTrashManagers.java