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

[jira] [Resolved] (SPARK-28083) Support ANSI SQL: LIKE ... ESCAPE syntax

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

Gengliang Wang resolved SPARK-28083.
------------------------------------
    Resolution: Fixed

This issue is resolved in https://github.com/apache/spark/pull/25001

> Support ANSI SQL: LIKE ... ESCAPE syntax
> ----------------------------------------
>
>                 Key: SPARK-28083
>                 URL: https://issues.apache.org/jira/browse/SPARK-28083
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Yuming Wang
>            Assignee: jiaan.geng
>            Priority: Major
>
> Format:
> {noformat}
> <like predicate> ::=
>     <character like predicate>
>   | <octet like predicate>
> <character like predicate> ::=
>   <row value predicand> <character like predicate part 2>
> <character like predicate part 2> ::=
>   [ NOT ] LIKE <character pattern> [ ESCAPE <escape character> ]
> <character pattern> ::=
>   <character value expression>
> <escape character> ::=
>   <character value expression>
> <octet like predicate> ::=
>   <row value predicand> <octet like predicate part 2>
> <octet like predicate part 2> ::=
>   [ NOT ] LIKE <octet pattern> [ ESCAPE <escape octet> ]
> <octet pattern> ::=
>   <binary value expression>
> <escape octet> ::=
>   <binary value expression>
> {noformat}
>  
> [https://www.postgresql.org/docs/11/functions-matching.html]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org