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

Add a public toRex() instance method for RelJson

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.32.0
    • 1.34.0
    • core

    Description

      CALCITE-5349 added several improvements for creating org.apache.calcite.rel.externalize.RelJson such as the withOperatorTable, withLibraryOperatorTable and, withJsonBuilder methods.

      However, the only method to deserialize JSON with the RelJson class is a the static readExpression() which creates a generic RelJson.

      It would be advantageous to have a RelJson instance method capable of deserializing JSON into a RexNode after it has been customized.

      Attachments

        Activity

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

          People

            tjbanghart TJ Banghart
            tjbanghart TJ Banghart
            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 - 1h 10m
                1h 10m

                Slack

                  Issue deployment