[
https://issues.apache.org/jira/browse/FLINK-1980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14539500#comment-14539500
]
ASF GitHub Bot commented on FLINK-1980:
---------------------------------------
Github user StephanEwen commented on the pull request:
https://github.com/apache/flink/pull/658#issuecomment-101185563
That is a good point. It is a bit tricky, though, since the skip method
does not guarantee efficient skipping. It also reserves the right to skip less
(and return the number of bytes skipped, iirc).
> Allowing users to decorate input streams
> ----------------------------------------
>
> Key: FLINK-1980
> URL: https://issues.apache.org/jira/browse/FLINK-1980
> Project: Flink
> Issue Type: New Feature
> Components: Core
> Reporter: Sebastian Kruse
> Assignee: Sebastian Kruse
> Priority: Minor
>
> Users may have to do unforeseeable operations on file input streams before
> they can be used by the actual input format logic, e.g., exotic compression
> formats or preambles such as byte order marks. Therefore, it would be useful
> to provide the user with a hook to decorate input streams in order to handle
> such issues.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)