[ 
https://issues.apache.org/jira/browse/CALCITE-3415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16952641#comment-16952641
 ] 

Pranay Parmar commented on CALCITE-3415:
----------------------------------------

[~danny0405]

Yes this function is present in Oracle, MySql, Teradata and a bunch of other 
major dialects. I have already worked on this function and have added it into 
SqlLibraryOperators with all the variations. Can you please assign it to me, I 
will raise a pull request for the same in a couple of days.

I think it is a good candidate to be added into SqlStdOperatorTable, let me 
know your thoughts.

> 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
>    Affects Versions: 1.21.0
>            Reporter: Pranay Parmar
>            Priority: Minor
>
> REGEXP_SUBSTR error :
> {code:java}
> No match found for function signature REGEXP_SUBSTR(<CHARACTER>, <CHARACTER>, 
> [<INT>, <INT>, <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)

Reply via email to