[ 
https://issues.apache.org/jira/browse/APEXMALHAR-2263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15582856#comment-15582856
 ] 

Matt Zhang commented on APEXMALHAR-2263:
----------------------------------------

For compatibility reason, we cannot modify the offset directly, and we have to 
keep existing constructor and function signatures. So just create a new long 
field, and move all logic correspondingly.

> Offsets in AbstractFileInputOperator should be long rather than int
> -------------------------------------------------------------------
>
>                 Key: APEXMALHAR-2263
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2263
>             Project: Apache Apex Malhar
>          Issue Type: Bug
>          Components: adapters other
>            Reporter: Munagala V. Ramanath
>            Assignee: Matt Zhang
>
> Offsets in AbstractFileInputOperator use the int type which means files with 
> more that (2**31 -1) records will cause overflows and mysterious failures.
> Should be changed to use long.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to