mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 00:20:47 +00:00
"These patches fix more problems related to ORDER BY clauses. Firstly, mutation_partition::query() can now return rows in reveresed order which makes it easy for select statements to ask for data from single partition with clustering keys in reversed order even if limit of rows is set. That alone is not sufficient, though, if the request contains IN clause on partition keys and number of returned rows is limited. The information needed to determine which rows need to be in the reply isn't available before post-query sort is done, so select statement asks for more rows than the limit and trims the output later."