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

Serialize Sarg objects to and from JSON

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.35.0
    • None

    Description

      Context: Bounded filter conditions (e.g. SUM(field> > 1 AND SUM(field) < 10) are converted to calls to a SEARCH operator. If this is then serialized and deserialized, it will throw an exception when resolving SEARCH.

       

       

      To complete this ticket: Add functionality such that Sarg literals can be serialized and deserialized.

       

      RelJson.java should be updated so that toRex can serialize Sarg objects

       

      RexBuilder.java should be updated to be able to successfully deserialize a JSON string that includes Sarg literals 

      Attachments

        Issue Links

          Activity

            People

              oliverlee Oliver Lee
              oliverlee Oliver Lee
              Votes:
              1 Vote for this issue
              Watchers:
              4 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 20m
                  1h 20m