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 2022/08/23 22:24:00 UTC

[jira] [Assigned] (SPARK-40194) SPLIT function on empty regex should truncate trailing empty string.

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

Apache Spark reassigned SPARK-40194:
------------------------------------

    Assignee: Apache Spark

> SPLIT function on empty regex should truncate trailing empty string.
> --------------------------------------------------------------------
>
>                 Key: SPARK-40194
>                 URL: https://issues.apache.org/jira/browse/SPARK-40194
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Vitalii Li
>            Assignee: Apache Spark
>            Priority: Major
>
> E.g. `select split('hello', '')` should convert to `['h', 'e', 'l', 'l', 'o']` instead of `['h', 'e', 'l', 'l', 'o', '']`. Requires explicit `limit` parameter to preserve trailing empty string.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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