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

Improve the code model around IndexContext

    XMLWordPrintableJSON

Details

    Description

      We currently have a situation where we need to create an IndexContext that is for a non-indexed column and therefore is never going to be used for indexing or searching. This results in the IndexContext having to check for this at points in the code with assertions. The reason for this that, even when the column is non-indexed, we need to have information about the column for the purpose of post-filtering.

      It would make sense to split out the column / index information needed for filtering from the indexing / searching requirements such that we could avoid unnecessary assertions in the code.

      Attachments

        Issue Links

          Activity

            People

              mike_tr_adamson Mike Adamson
              mike_tr_adamson Mike Adamson
              Mike Adamson
              Andres de la Peña, Caleb Rackliffe
              Votes:
              0 Vote for this issue
              Watchers:
              6 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 - 9h 10m
                  9h 10m