spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wenchen Fan (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-24452) long = int*int or long = int+int may cause overflow.
Date Fri, 15 Jun 2018 22:07:00 GMT

     [ https://issues.apache.org/jira/browse/SPARK-24452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wenchen Fan resolved SPARK-24452.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.2
                   2.4.0

Issue resolved by pull request 21481
[https://github.com/apache/spark/pull/21481]

> long = int*int or long = int+int may cause overflow.
> ----------------------------------------------------
>
>                 Key: SPARK-24452
>                 URL: https://issues.apache.org/jira/browse/SPARK-24452
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core, SQL
>    Affects Versions: 2.4.0
>            Reporter: Kazuaki Ishizaki
>            Assignee: Kazuaki Ishizaki
>            Priority: Minor
>             Fix For: 2.4.0, 2.3.2
>
>
> The following assignment cause overflow in right hand side. As a result, the result may
be negative.
> {code:java}
> long = int*int
> long = int+int{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message