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

Julian Hyde commented on CALCITE-6278:
--------------------------------------

Use a real comma in the subject, please.

Does RLIKE have identical semantics to REGEXP_LIKE in Spark? If so, say so in 
the test.

Calcite's RLIKE function is used by the Hive library as well as Spark. Have 
your changes to escaping broken Hive?

The escaping behavior is very subtle. Add more tests, and comments in those 
tests explaining what is going on.

> Add REGEXP、REGEXP_LIKE  function (enabled in Spark library)
> -----------------------------------------------------------
>
>                 Key: CALCITE-6278
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6278
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter:  EveyWu
>            Priority: Minor
>              Labels: pull-request-available
>
> Add Spark functions that have been implemented but have different 
> OperandTypes/Returns.
> Add Function 
> [REGEXP|https://spark.apache.org/docs/latest/api/sql/index.html#regexp]
> Since this function has the same implementation as the Big Query 
> [REGEXP_CONTAINS|https://cloud.google.com/bigquery/docs/reference/standard-sql/string_functions#regexp_contains]
>  function. the implementation can be directly reused.



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

Reply via email to