You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mike Adamson (Jira)" <ji...@apache.org> on 2023/03/20 17:30:00 UTC

[jira] [Updated] (CASSANDRA-18166) Improve the code model around IndexContext

     [ https://issues.apache.org/jira/browse/CASSANDRA-18166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Adamson updated CASSANDRA-18166:
-------------------------------------
    Labels: SAI  (was: )

> Improve the code model around IndexContext
> ------------------------------------------
>
>                 Key: CASSANDRA-18166
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18166
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Feature/SAI
>            Reporter: Mike Adamson
>            Priority: Normal
>              Labels: SAI
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org