spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ulysses you (Jira)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-35005) Improve error msg if UTF8String concatWs length overflow
Date Fri, 09 Apr 2021 09:50:00 GMT

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

ulysses you updated SPARK-35005:
--------------------------------
    Summary: Improve error msg if UTF8String concatWs length overflow  (was: Improve error
msg if UTF8String concatWs over int length)

> Improve error msg if UTF8String concatWs length overflow
> --------------------------------------------------------
>
>                 Key: SPARK-35005
>                 URL: https://issues.apache.org/jira/browse/SPARK-35005
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: ulysses you
>            Priority: Minor
>
> We encounter a very extreme case with expression `concat_ws`, and the error msg is
> {code:java}
> Caused by: java.lang.NegativeArraySizeException
> 	at org.apache.spark.unsafe.types.UTF8String.concatWs
> {code}
> Seems the `UTF8String.concat` has already done the length check, so it's better to add
in `concatWs`.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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


Mime
View raw message