[ 
https://issues.apache.org/jira/browse/CALCITE-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Xu resolved CALCITE-2646.
-----------------------------
    Resolution: Duplicate

> Support nullable struct type
> ----------------------------
>
>                 Key: CALCITE-2646
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2646
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Ted Xu
>            Assignee: Julian Hyde
>            Priority: Major
>
> 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)

Reply via email to