mirror of https://github.com/citusdata/citus.git
Fixes #394 This change adds LIMIT/OFFSET support for non router-plannable distributed queries. In cases that we can push the LIMIT down, we add the OFFSET value to that LIMIT in the worker queries. When a query with LIMIT x OFFSET y is issued, the query is propagated to the workers as LIMIT (x+y) OFFSET 0, and on the master table, the original LIMIT and OFFSET values are used. With this change, we can use OFFSET wherever we can use LIMIT. |
||
---|---|---|
.. | ||
data | ||
expected | ||
input | ||
output | ||
sql | ||
.gitignore | ||
Makefile | ||
multi_binary_schedule | ||
multi_fdw_schedule | ||
multi_schedule | ||
multi_task_tracker_extra_schedule | ||
pg_regress_multi.pl | ||
worker_schedule |