[ https://issues.apache.org/jira/browse/SPARK-27839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Rosen resolved SPARK-27839. -------------------------------- Resolution: Fixed Fix Version/s: 3.0.0 Issue resolved by pull request 24707 [https://github.com/apache/spark/pull/24707] > Improve UTF8String.replace() / StringReplace performance > -------------------------------------------------------- > > Key: SPARK-27839 > URL: https://issues.apache.org/jira/browse/SPARK-27839 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 2.4.0 > Reporter: Josh Rosen > Assignee: Josh Rosen > Priority: Major > Fix For: 3.0.0 > > > The UTF8String.replace() function and StringReplace expression are missing a > few common-case optimizations, such as avoiding copies when the replacement > does not change the string and avoiding redundant copying / decoding of the > search and replacement strings in case they are constants. > I think there's room to significantly improve performance here, especially > for single-character replacements. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org