You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/06/25 09:14:00 UTC

[jira] [Assigned] (SPARK-48686) Improve performance of ParserUtils.unescapeSQLString

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

ASF GitHub Bot reassigned SPARK-48686:
--------------------------------------

    Assignee: Josh Rosen  (was: Apache Spark)

> Improve performance of ParserUtils.unescapeSQLString
> ----------------------------------------------------
>
>                 Key: SPARK-48686
>                 URL: https://issues.apache.org/jira/browse/SPARK-48686
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>            Priority: Major
>              Labels: pull-request-available
>
> The `ParserUtils.unescapeSQLString` method is currently implemented using regexes for part of the parsing, but is costly because multiple Matcher instances are created for every input cahracter.
> I think that we should optimize this to remove the use of regexes.
> I will submit a PR for this.



--
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