You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Vitalii Li (Jira)" <ji...@apache.org> on 2022/08/23 22:15:00 UTC
[jira] [Created] (SPARK-40194) SPLIT function on empty regex should truncate trailing empty string.
Vitalii Li created SPARK-40194:
----------------------------------
Summary: 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
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