Github user StephanEwen commented on the pull request:
https://github.com/apache/incubator-flink/pull/65#issuecomment-52231599
I think this one is tricky. If not all the header lines are in the first
split, it will not work - worse, the behavior changes with the DOP.
One line is safe, because it is always in the first split, but any
successive one is not safe.
Only sure way to do this for more than one line is run code on the master
and modify the splits.
There is a hook for something like that in the FileOutputFormat: The
`InitializeOnMaster` interface. We can make sure such a hook exists for input
formats as well.
BTW: When do you ever have more than one header line?
---
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.
---