[ https://issues.apache.org/jira/browse/SPARK-40194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17583877#comment-17583877 ]
Apache Spark commented on SPARK-40194: -------------------------------------- User 'vitaliili-db' has created a pull request for this issue: https://github.com/apache/spark/pull/37631 > 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 > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org