You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jerin John (Jira)" <ji...@apache.org> on 2023/09/05 22:18:00 UTC

[jira] [Created] (CALCITE-5978) Add REGEXP_INSTR function (enabled in BigQuery library)

Jerin John created CALCITE-5978:
-----------------------------------

             Summary: Add REGEXP_INSTR function (enabled in BigQuery library)
                 Key: CALCITE-5978
                 URL: https://issues.apache.org/jira/browse/CALCITE-5978
             Project: Calcite
          Issue Type: Task
            Reporter: Jerin John
            Assignee: Jerin John
             Fix For: 1.36.0


Add support for [REGEXP_EXTRACT_ALL|https://cloud.google.com/bigquery/docs/reference/standard-sql/string_functions#regexp_extract_all] function from BigQuery.

*{{REGEXP_EXTRACT_ALL(value, regexp)}}*
Returns an array of all substrings of value that match the re2 regular expression, regexp. Returns an empty array if there is no match.

* If the regular expression contains a capturing group ((...)), and there is a match for that capturing group, that match is added to the results. If there are multiple matches for a capturing group, the last match is added to the results.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)