[
https://issues.apache.org/jira/browse/CASSANDRA-10435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sam Tunnicliffe updated CASSANDRA-10435:
----------------------------------------
Component/s: CQL
> Index selectivity calculation is incorrect
> ------------------------------------------
>
> Key: CASSANDRA-10435
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10435
> Project: Cassandra
> Issue Type: Bug
> Components: CQL
> Reporter: Sam Tunnicliffe
> Assignee: Sam Tunnicliffe
> Fix For: 3.0.0 rc2
>
>
> In {{SecondaryIndexManager::getBestIndexFor}}, the calculation to choose the
> most selective from a set of candidate indexes is incorrect. It currently
> chooses the index which returns the highest value from
> {{Index::getEstimatedResultRows}}. Obviously it should return the one with
> the fewest estimated results.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)