[
https://issues.apache.org/jira/browse/FLINK-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15474038#comment-15474038
]
ASF GitHub Bot commented on FLINK-4572:
---------------------------------------
Github user greghogan commented on the issue:
https://github.com/apache/flink/pull/2469
I split the long to int translator into both signed and unsigned
translators so the conversion would not be ambiguous. The test will fail
without the fix in FLINK-4594.
> Convert to negative in LongValueToIntValue
> ------------------------------------------
>
> Key: FLINK-4572
> URL: https://issues.apache.org/jira/browse/FLINK-4572
> Project: Flink
> Issue Type: Bug
> Components: Gelly
> Affects Versions: 1.2.0
> Reporter: Greg Hogan
> Assignee: Greg Hogan
> Priority: Minor
>
> The Gelly drivers expect that scale 32 edges, represented by the lower 32
> bits of {{long}} values, can be converted to {{int}} values. Values between
> 2^31 and 2^32 - 1 should be converted to negative integers, which is not
> supported by {{MathUtils.checkedDownCast}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)