You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/07/11 11:06:00 UTC

[jira] [Assigned] (SPARK-39744) Add the REGEXP_INSTR function

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

Apache Spark reassigned SPARK-39744:
------------------------------------

    Assignee: Apache Spark  (was: Max Gekk)

> Add the REGEXP_INSTR function
> -----------------------------
>
>                 Key: SPARK-39744
>                 URL: https://issues.apache.org/jira/browse/SPARK-39744
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Max Gekk
>            Assignee: Apache Spark
>            Priority: Major
>
> The function should return the position of the specified occurrence of the regular expression pattern in the input string. If no match is found, returns 0. See other DBMSs:
>  - MariaDB: [https://mariadb.com/kb/en/regexp_instr/]
>  - Oracle: [https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions129.htm]
>  - DB2: [https://www.ibm.com/docs/en/db2/11.5?topic=functions-regexp-instr]
>  - Snowflake: [https://docs.snowflake.com/en/sql-reference/functions/regexp_instr.html]
>  - BigQuery: [https://cloud.google.com/bigquery/docs/reference/standard-sql/string_functions#regexp_instr]
>  - Redshift: [https://docs.aws.amazon.com/redshift/latest/dg/REGEXP_INSTR.html]
>  - Exasol DB: [https://docs.exasol.com/db/latest/sql_references/functions/alphabeticallistfunctions/regexp_instr.htm]
> - Vertica: [https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/Functions/RegularExpressions/REGEXP_INSTR.htm]
>  



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