You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (Jira)" <ji...@apache.org> on 2025/07/19 00:08:00 UTC

[jira] [Assigned] (SPARK-52817) Spark SQL LIKE expressions show poor performance when using multiple '%'

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

Yuming Wang reassigned SPARK-52817:
-----------------------------------

    Assignee: zhixingheyi-tian

> Spark SQL LIKE expressions show poor performance when using multiple '%'
> ------------------------------------------------------------------------
>
>                 Key: SPARK-52817
>                 URL: https://issues.apache.org/jira/browse/SPARK-52817
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.5.3
>            Reporter: zhixingheyi-tian
>            Assignee: zhixingheyi-tian
>            Priority: Major
>              Labels: pull-request-available
>
>  
> ```
> SELECT * FROM testData where value not like '%%HotFocus%%'
> SELECT * FROM testData where value not like '%%%HotFocus%%%'
> ```
>  
>  In these SQL queries,  cannot convert Like expressions to contains function in logical planning. So  the performance is very poor.



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