Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/1903#discussion_r61065029
--- Diff:
flink-core/src/main/java/org/apache/flink/api/common/io/ReplicatingInputFormat.java
---
@@ -133,4 +133,18 @@ public RuntimeContext getRuntimeContext(){
throw new RuntimeException("The underlying input format
to this ReplicatingInputFormat isn't context aware");
}
}
+
+ @Override
+ public void openInputFormat() {
+ if(this.replicatedIF instanceof RichInputFormat) {
+ ((RichInputFormat)this.replicatedIF).openInputFormat();
+ }
+ }
+
+ @Override
+ public void closeInputFormat() {
+ if(this.replicatedIF instanceof RichInputFormat) {
--- End diff --
missing space after if
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---