[
https://issues.apache.org/jira/browse/CALCITE-7461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-7461:
------------------------------------
Labels: pull-request-available (was: )
> Add @Strict to ByteArrayFunction and ByteArrayLengthFunction
> ------------------------------------------------------------
>
> Key: CALCITE-7461
> URL: https://issues.apache.org/jira/browse/CALCITE-7461
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.41.0
> Reporter: Caican Cai
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.42.0
>
>
> Follow-up to CALCITE-7187.
> The test UDFs ByteArrayFunction andByteArrayLengthFunction in Smalls.java are
> missing the @Strict annotation.
> Adding @Strict lets Calcite automatically return null when any argument is
> null, without calling eval. This is the idiomatic way to handle null in
> Calcite UDFs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)