private boolean containsPk(String name) {
    if (!keyedTable.primaryKeySpec().primaryKeyExisted()) {
      return false;
    }
    return keyedTable.primaryKeySpec().fieldNames().contains(name);
  }
Apply the pending changes to the original schema and returns the result.

<p>This does not result in a permanent update.

@return the result Schema when all pending updates are applied
amoro-format-iceberg/src/main/java/org/apache/amoro/op/KeyedSchemaUpdate.java