[ 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org