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

AssertionError while serializing to JSON a RexLiteral with Enum type

    XMLWordPrintableJSON

    Details

      Description

      Calcite gives an AssertionError while serializing to JSON a RexLiteral with enum type.

      For example, serialize the RexCall of TRIM function cause java.lang.AssertionError exception. The first argument of TRIM is an enum SqlTrimFunction.Flag with values LEADING, TRAILING, BOTH.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                yanlin-Lynn Wang Yanlin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m