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

AssertionError while serializing to JSON a RexLiteral with Enum type

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

                Slack

                  Issue deployment