You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Rui Wang (Jira)" <ji...@apache.org> on 2019/10/15 19:11:00 UTC
[jira] [Commented] (CALCITE-3415) Cannot parse REGEXP_SUBSTR in
BigQuery
[ https://issues.apache.org/jira/browse/CALCITE-3415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16952231#comment-16952231 ]
Rui Wang commented on CALCITE-3415:
-----------------------------------
I am not aware of REGEXP_SUBSTR exist in BigQuery (check [1]). The most closest one is [2].
Could you elaborate a bit on which BigQuery function you intent to use?
[1]: https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-and-operators
[2]: https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-and-operators#regexp_extract
> Cannot parse REGEXP_SUBSTR in BigQuery
> --------------------------------------
>
> Key: CALCITE-3415
> URL: https://issues.apache.org/jira/browse/CALCITE-3415
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Pranay Parmar
> Priority: Minor
> Fix For: 1.22.0
>
>
> REGEXP_SUBSTR error :
> {code:java}
> No match found for function signature REGEXP_SUBSTR(<CHARACTER>, <CHARACTER>, [<INT>, <CHARACTER>, <CHARACTER>]){code}
>
> Example query:
> {code:sql}
> SELECT REGEXP_SUBSTR('chocolate Chip cookies', 'c+.{2}', 1, product_id, 'i')
> FROM public.account{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)