[
https://issues.apache.org/jira/browse/CALCITE-5455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17652340#comment-17652340
]
Julian Hyde commented on CALCITE-5455:
--------------------------------------
Probably not a large enough change to warrant a reviewer's time. If I were you
I would batch up a few changes that add tests to big-query.iq and submit them
as one PR; or combine this change with a PR that implements one or more
functions.
Before you logging a bug, here's a quick way to check whether a function is
implemented in Calcite:
{code}
$ cd calcite
$ git ls-files | xargs grep -in nullif
{code}
> Add Quidem tests for NULLIF()
> -----------------------------
>
> Key: CALCITE-5455
> URL: https://issues.apache.org/jira/browse/CALCITE-5455
> Project: Calcite
> Issue Type: Improvement
> Reporter: Oliver Lee
> Assignee: Oliver Lee
> Priority: Minor
>
> Adding quidem tests for NULLIF().
>
> NULLIF(expr, expr_to_match)
> {quote}Returns {{NULL}} if {{expr = expr_to_match}} evaluates to
> {{{}TRUE{}}}, otherwise returns {{{}expr{}}}.
> {quote}
> NULLIF(0, 0) -> NULL
> NULLIF(10,0) -> 10
--
This message was sent by Atlassian Jira
(v8.20.10#820010)