Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.36.0
Description
The following SqlOperatorTest:
f.checkScalar("arrays_overlap(null, null)", true, "NULL");
causes a crash:
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)
This issue is similar to CALCITE-6283
Attachments
Issue Links
- links to