You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ted Xu (JIRA)" <ji...@apache.org> on 2018/10/29 12:43:07 UTC

[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)