Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…ns for clustering columns Summary: When analyzing the condition to construct the scan specification, doc_ql_scanspec will now detect if all conditions on clustering columns are '=' or 'IN' conditions (and hash columns are all set) and then aggregate the set of options for each clustering column. Then, the DocDB iterator will iterate (seek) only through those options, and skip the values in between. Therefore, the results require no additional filtering for the conditions on the clustering columns (only for any additional conditions in the where clause, e.g. on value columns). Additionally fix a bug with static columns not being added correctly when using reverse iterators (i.e. SELECT with ORDER BY clause in reverse order). Test Plan: jenkins, TestSelect Reviewers: robert, mikhail Reviewed By: robert, mikhail Subscribers: bogdan, bharat, yql Differential Revision: https://phabricator.dev.yugabyte.com/D4426
- Loading branch information