[
https://issues.apache.org/jira/browse/CALCITE-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644522#comment-17644522
]
Julian Hyde commented on CALCITE-5389:
--------------------------------------
Good catch. I think that BigQuery's behavior is surprising to users. So, let's
stick with our current behavior - {{STARTS_WITH}} and {{ENDS_WITH}} return
{{UNKNOWN}} if either argument is {{NULL}} - and this comment can serve as
notice that we are different from BigQuery's behavior.
> Add STARTS_WITH and ENDS_WITH functions (for BIG_QUERY compatibility)
> ---------------------------------------------------------------------
>
> Key: CALCITE-5389
> URL: https://issues.apache.org/jira/browse/CALCITE-5389
> Project: Calcite
> Issue Type: Improvement
> Reporter: Oliver Lee
> Assignee: Oliver Lee
> Priority: Trivial
> Labels: pull-request-available
> Fix For: 1.33.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Adding support for {{STARTS_WITH}} and {{ENDS_WITH}} SQL functions. They are
> for compatibility with BIG_QUERY, and are enabled only in the BigQuery
> function library ({{lib=bigquery}} in the connect string).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)