Caican Cai created CALCITE-7461:
-----------------------------------

             Summary: 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
             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)

Reply via email to