You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/04/13 12:08:00 UTC

[jira] [Commented] (SPARK-23976) UTF8String.concat() or ByteArray.concat() may allocate shorter structure.

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

Apache Spark commented on SPARK-23976:
--------------------------------------

User 'kiszk' has created a pull request for this issue:
https://github.com/apache/spark/pull/21064

> UTF8String.concat() or ByteArray.concat() may allocate shorter structure.
> -------------------------------------------------------------------------
>
>                 Key: SPARK-23976
>                 URL: https://issues.apache.org/jira/browse/SPARK-23976
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.3.0
>            Reporter: Kazuaki Ishizaki
>            Priority: Minor
>
> When the three inputs has `0x7FFF_FF00`, `0x7FFF_FF00`, and `0xE00`, the current algorithm allocate the result structure with 0x1000 length due to integer sum overflow.
> We should detect overflow.



--
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