Files
scylladb/tests
Piotr Sarna adeea0a022 cql3: fix fetching clustering key columns for filtering
When a column is not present in the select clause, but used for
filtering, it usually needs to be fetched from replicas.
Sometimes it can be avoided, e.g. if primary key columns form a valid
prefix - then, they will be optimized out before filtering itself.
However, clustering key prefix can only be qualified for this
optimization if the whole partition key is restricted - otherwise
the clustering columns still need to be present for filtering.

This commit also fixes tests in cql_query_test suite, because they now
expect more values - columns fetched for filtering will be present as
well (only internally, the clients receive only data they asked for).

Fixes #4541
Message-Id: <f08ebae5562d570ece2bb7ee6c84e647345dfe48.1560410018.git.sarna@scylladb.com>
2019-06-13 10:38:37 +03:00
..
2019-02-07 20:18:14 +02:00
2019-04-28 15:50:12 +02:00
2019-02-07 20:18:14 +02:00
2019-05-09 17:38:24 +01:00
2019-06-12 13:14:53 +03:00
2019-02-07 20:18:14 +02:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2019-05-07 10:00:58 +03:00
2019-05-07 10:00:58 +03:00
2019-03-28 14:21:10 +02:00
2019-03-28 14:21:10 +02:00
2019-05-07 10:00:58 +03:00
2018-12-05 21:51:01 +02:00