[jira] [Created] (FLINK-4572) Convert to negative in LongValueToIntValue

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-4572) Convert to negative in LongValueToIntValue

Shang Yuanchun (Jira)
Greg Hogan created FLINK-4572:
---------------------------------

             Summary: 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)