Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2646

Support nullable struct type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 1.18.0
    • 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

          Activity

            People

              julianhyde Julian Hyde
              tedxu Ted Xu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: