Hello fellow secondary index enjoyers!

If you're familiar with index queries, you probably know that they are
treated as range reads no matter what. This is true even if the user query
restricts results to a single partition. This means that they bypass the
digest read process that normal single-partition reads do.

While I don't think this is something that we need to consider for 5.0, I
would be very interested in the next major release being able to use proper
single-partition reads for partition-restricted index queries, allowing
them to take advantage of digest reads. (If single partition slice queries
do it, why not index queries?)

To that end, I've come up w/ a patch here
<https://issues.apache.org/jira/browse/CASSANDRA-19968> with CI results.
(Better to have something concrete to talk about, and to illustrate that
legacy 2i, SASI, and SAI didn't require much effort to fix.)

What do you think?

Reply via email to