ahmedabu98 commented on code in PR #34773:
URL: https://github.com/apache/beam/pull/34773#discussion_r2066808582


##########
sdks/java/io/iceberg/src/main/java/org/apache/beam/sdk/io/iceberg/ScanTaskReader.java:
##########
@@ -190,7 +192,8 @@ public Row getCurrent() throws NoSuchElementException {
     if (current == null) {
       throw new NoSuchElementException();
     }
-    return IcebergUtils.icebergRecordToBeamRow(source.getSchema(), current);
+    return icebergRecordToBeamRow(
+        icebergSchemaToBeamSchema(source.getSchema()), 
checkStateNotNull(current));

Review Comment:
   Oh wow great catch, that def would've eaten up a good chunk of CPU usage



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to