rdblue commented on a change in pull request #3817:
URL: https://github.com/apache/iceberg/pull/3817#discussion_r780427503
##########
File path:
flink/v1.14/flink/src/main/java/org/apache/iceberg/flink/source/FlinkSource.java
##########
@@ -195,6 +205,7 @@ public FlinkInputFormat buildFormat() {
} else {
contextBuilder.project(FlinkSchemaUtil.convert(icebergSchema,
projectedSchema));
}
+ contextBuilder.exposeLocality(localityEnabled());
Review comment:
I think it should be possible to override `exposeLocality` in this
builder so that you can set it differently for different sources. Keeping a
boolean in this builder and passing that as an override for the environment
property in `localityEnabled()` should work.
--
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]