Github user XuPingyong commented on the issue:
https://github.com/apache/flink/pull/4525
Thanks @greghogan.
I think the InputFormat can return anything, may be null or other
immutable objects that cannot be passed to nextRecord.
And I am also not clear why the object passed to nextRecord may be
reused internally by the InputFormat. The param of nextRecord named reuse means
it may be re-passed to this call again?
What do you think?
---
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.
---