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

Max Gekk resolved SPARK-39744.
------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 37154
[https://github.com/apache/spark/pull/37154]

> 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: Max Gekk
>            Priority: Major
>             Fix For: 3.4.0
>
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to