[ https://issues.apache.org/jira/browse/SPARK-45398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SPARK-45398: ----------------------------------- Labels: pull-request-available (was: ) > Include `ESCAPE` to `sql()` of `Like` > ------------------------------------- > > Key: SPARK-45398 > URL: https://issues.apache.org/jira/browse/SPARK-45398 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 4.0.0 > Reporter: Max Gekk > Assignee: Max Gekk > Priority: Major > Labels: pull-request-available > > Fix the `sql()` method of the `Like` expression and append the `ESCAPE` > closure. That should become consistent to `toString` and fix the issue: > {code:sql} > spark-sql (default)> create temp view tbl as (SELECT 'a|_' like 'a||_' escape > '|', 'a|_' like 'a||_' escape 'a'); > [COLUMN_ALREADY_EXISTS] The column `a|_ like a||_` already exists. Consider > to choose another name or rename the existing column. > {code} -- 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