[
https://issues.apache.org/jira/browse/FLINK-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15461121#comment-15461121
]
ASF GitHub Bot commented on FLINK-4572:
---------------------------------------
GitHub user greghogan opened a pull request:
https://github.com/apache/flink/pull/2469
[FLINK-4572] [gelly] Convert to negative in LongValueToIntValue
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/greghogan/flink
4572_convert_to_negative_in_longvaluetointvalue
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2469.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2469
----
commit 8a9fad5bb72e2f399b2afd0d095b6e29c9e5c9d0
Author: Greg Hogan <[email protected]>
Date: 2016-09-02T16:01:29Z
[FLINK-4572] [gelly] Convert to negative in LongValueToIntValue
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.
----
> 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)