Details
-
Improvement
-
Status: Open
-
Low
-
Resolution: Unresolved
-
None
-
None
Description
That's a small followup to optimize the DISTINCT support added by CASSANDRA-4536 if we feel like it's worth it.
Quoting the initial ticket: it should be possible to optimize that further if we consider it worth it by adding a 1 bit per key info in the sstable index saying 'is there at least one live column for that key in that sstable' (we could even add that bit-per-key without augmenting the on-disk index size if we want to by using the first bit of the key position (since we use it as a signed long and thus the first bit is unused)).