private static void updateNestedField(
      Types.NestedField newField,
      Types.NestedField oldField,
      UpdateSchema us,
      String fieldPrefix,
      Collection<Add> adds) {
    if (oldField.type().isMapType()) {
      updateMapField(newField, oldField, us, fieldPrefix, adds);
      return;
    }

    Type.NestedType newType = newField.type().asNestedType();
    Type.NestedType oldType = oldField.type().asNestedType();
    String prefix = getFullName(fieldPrefix, oldField.name());
    updateNestedField(newType, oldType, us, prefix, adds);
  }
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