hililiwei commented on code in PR #3991:
URL: https://github.com/apache/iceberg/pull/3991#discussion_r849487607
##########
flink/v1.14/flink/src/main/java/org/apache/iceberg/flink/source/FlinkSource.java:
##########
@@ -208,21 +218,30 @@ public FlinkInputFormat buildFormat() {
if (projectedSchema == null) {
contextBuilder.project(icebergSchema);
+ } else if (projectedFields != null) {
+ // Push down the nested projection so that don't need to get extra
fields when get data from files.
+ Schema icebergProjectionSchema = projectSchema(icebergSchema);
Review Comment:
Push the nesting down so that when try to get data, no longer get extra
fields.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]