public static StructProjection create(Schema dataSchema, Schema projectedSchema) {
    return new StructProjection(dataSchema.asStruct(), projectedSchema.asStruct());
  }
Creates a projecting wrapper for {@link StructLike} rows.

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

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