[ https://issues.apache.org/jira/browse/CALCITE-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mihai Budiu resolved CALCITE-6348. ---------------------------------- Resolution: Fixed Fixed by https://github.com/apache/calcite/commit/4c695885a50d2986008aa24a1122094b051c0872 > ARRAY_OVERLAP with a NULL argument crashes the compiler > ------------------------------------------------------- > > Key: CALCITE-6348 > URL: https://issues.apache.org/jira/browse/CALCITE-6348 > Project: Calcite > Issue Type: Bug > Components: core > Affects Versions: 1.36.0 > Reporter: Mihai Budiu > Assignee: Mihai Budiu > Priority: Minor > Labels: pull-request-available > Fix For: 1.37.0 > > > The following SqlOperatorTest: > {code:java} > f.checkScalar("arrays_overlap(null, null)", true, > "NULL"); > {code} > causes a crash: > {code:java} > at java.base/java.util.Objects.requireNonNull(Objects.java:222) > at > org.apache.calcite.sql.type.SqlTypeTransforms.lambda$static$6(SqlTypeTransforms.java:124) > at > org.apache.calcite.sql.type.SqlTypeTransformCascade.inferReturnType(SqlTypeTransformCascade.java:66) > at > org.apache.calcite.sql.SqlOperator.inferReturnType(SqlOperator.java:534) > at > org.apache.calcite.sql.SqlOperator.validateOperands(SqlOperator.java:503) > at org.apache.calcite.sql.SqlFunction.deriveType(SqlFunction.java:347) > at org.apache.calcite.sql.SqlFunction.deriveType(SqlFunction.java:231) > at > org.apache.calcite.sql.validate.SqlValidatorImpl$DeriveTypeVisitor.visit(SqlValidatorImpl.java:6714) > {code} > This issue is similar to [CALCITE-6283] -- This message was sent by Atlassian Jira (v8.20.10#820010)