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:44:00 UTC

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

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

Ted Xu updated CALCITE-2646:
----------------------------
    Issue Type: Bug  (was: Improvement)

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