git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (CALCITE-2646) Support nullable struct type


Ted Xu created CALCITE-2646:
-------------------------------

             Summary: Support nullable struct type
                 Key: CALCITE-2646
                 URL: https://issues.apache.org/jira/browse/CALCITE-2646
             Project: Calcite
          Issue Type: Improvement
            Reporter: Ted Xu
            Assignee: Julian Hyde


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)

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)