Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18813

Simplify the bind marker and Term logic

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 5.1
    • CQL/Interpreter
    • None

    Description

      The current logic around Term and Terms classes is confusing specially with MultiItemTerminal and MultiColumnRaw that are used to handle different use cases that could be handled simply with the Term interface.

      On top of that IN marker add to the confusion because the are represented as single Term where in practice they are a set of terms. Representing them as a Terms could simplify the way we handle IN restrictions.

      The goal of this ticket is:

      • to refactor the Term and Terms interfaces to simplify the logic
      • Represents IN bind marker as Terms instead of having 2 different representations (a list of terms and a single MultiItemTerminal.
      • Simplify the AbstractMarker hierachy

      Attachments

        Activity

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

          People

            blerer Benjamin Lerer Assign to me
            blerer Benjamin Lerer
            Benjamin Lerer
            Andres de la Peña, Ekaterina Dimitrova, Maxwell Guo
            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 - 8h 50m
                8h 50m

                Slack

                  Issue deployment