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

Apache Spark commented on SPARK-24452:
--------------------------------------

User 'kiszk' has created a pull request for this issue:
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
>            Priority: Minor
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to