Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
The struct type (or RelRecordType) is hard coded NOT nullable, which lead exception thrown when invoking:
RexBuilder.makeLiteral(null, structType);
The exception looks like following:
java.lang.IllegalArgumentException
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:108)
at org.apache.calcite.rex.RexLiteral.<init>(RexLiteral.java:217)
Attachments
Issue Links
- duplicates
-
CALCITE-2464 Allow to set nullability for columns of structured types
- Closed