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 2023/09/25 04:02:00 UTC

[jira] [Updated] (SPARK-37508) Add CONTAINS() function

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

ASF GitHub Bot updated SPARK-37508:
-----------------------------------
    Labels: pull-request-available  (was: )

> Add CONTAINS() function
> -----------------------
>
>                 Key: SPARK-37508
>                 URL: https://issues.apache.org/jira/browse/SPARK-37508
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Max Gekk
>            Assignee: angerszhu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.3.0
>
>
> {{contains()}} is a common convenient function supported by a number of database systems:
>  # [https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-and-operators#contains_substr]
>  # [https://docs.snowflake.com/en/_static/apple-touch-icon.png!CONTAINS — Snowflake Documentation|https://docs.snowflake.com/en/sql-reference/functions/contains.html]
> Proposed syntax:
> {code:java}
> contains(haystack, needle)
> return type: boolean {code}
> It is semantically equivalent to {{haystack like '%needle%'}}



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