You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "wombatu-kun (via GitHub)" <gi...@apache.org> on 2026/09/11 02:39:57 UTC

Re: [PR] Flink: Build nested field getters once in RowDataProjection [iceberg]

wombatu-kun commented on code in PR #16790:
URL: https://github.com/apache/iceberg/pull/16790#discussion_r3985463829


##########
flink/v2.1/flink/src/main/java/org/apache/iceberg/flink/data/RowDataProjection.java:
##########
@@ -109,16 +113,18 @@ private static RowData.FieldGetter createFieldGetter(
     switch (projectField.type().typeId()) {
       case STRUCT:
         RowType nestedRowType = (RowType) rowType.getTypeAt(position);
+        RowDataProjection nestedProjection =
+            RowDataProjection.create(
+                nestedRowType, rowField.type().asStructType(), projectField.type().asStructType());

Review Comment:
   Done 24e47ed8ed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org