You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2022/04/04 09:27: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 ]
Max Gekk updated SPARK-37508:
-----------------------------
Epic Link: SPARK-38783
> 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
> 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.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org