@Override
  public <T> void set(int pos, T value) {
    throw new UnsupportedOperationException("Cannot set fields in a TypeProjection");
  }
Creates a projecting wrapper for {@link StructLike} rows.

<p>This projection allows missing fields and does not work with repeated types like lists and
maps.

@param structType type of rows wrapped by this projection
@param projectedStructType result type of the projected rows
@return a wrapper to project rows
iceberg/patched-iceberg-api/src/main/java/org/apache/iceberg/util/StructProjection.java