mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-22 17:40:34 +00:00
Currently the heuristics for picking an index for a query are not very well defined. It would be best if we used statistics to pick the index which is likely to perform the fastest, but for starters we should at least let the user decide which index to pick by picking the first one by the order of restrictions passed to the query. The (failing) test case from this patch shows the expected results. Ref: #7969 Closes #8414 * github.com:scylladb/scylla: cql-pytest: add a failing test for index picking order cql3: add tracing used secondary index