citus/src/backend/distributed/planner
Murat Tuncer 1440caeef2
Fix incorrect limit pushdown when distinct clause is not superset of group by (#2035)
Pushing down limit and order by into workers may produce
wrong output when distinct on() clause has expressions,
aggregates, or window functions.

This checking allows pushing down of limits only if
distinct clause is a superset of group by clause. i.e. it contains all clauses in group by.
2018-03-07 13:24:56 +03:00
..
deparse_shard_query.c Don't try to add restrictions for reference tables in insert into select 2017-10-31 19:44:10 +02:00
distributed_planner.c Remove duplicate join restrictions 2018-02-12 18:35:05 +02:00
insert_select_planner.c Support non-co-located joins between subqueries 2018-02-26 13:50:37 +02:00
multi_explain.c Recursively plan subqueries that are not safe to pushdown 2017-12-21 08:37:40 +02:00
multi_join_order.c Support PostgreSQL 10 (#1379) 2017-06-26 02:35:46 -06:00
multi_logical_optimizer.c Fix incorrect limit pushdown when distinct clause is not superset of group by (#2035) 2018-03-07 13:24:56 +03:00
multi_logical_planner.c Add support for window functions that can be pushed down to worker (#2008) 2018-03-01 19:07:07 +03:00
multi_master_planner.c Fix incorrect limit pushdown when distinct clause is not superset of group by (#2035) 2018-03-07 13:24:56 +03:00
multi_physical_planner.c Add support for window functions that can be pushed down to worker (#2008) 2018-03-01 19:07:07 +03:00
multi_router_planner.c Improve error messages for INSERT queries that have subqueries 2018-03-05 14:46:47 +02:00
postgres_planning_functions.c Add select distinct, and distinct on support 2017-10-13 14:59:48 +03:00
query_colocation_checker.c Support non-co-located joins between subqueries 2018-02-26 13:50:37 +02:00
recursive_planning.c Add support for modifying CTEs 2018-02-27 15:08:32 +02:00
relation_restriction_equivalence.c Support non-co-located joins between subqueries 2018-02-26 13:50:37 +02:00
shard_pruning.c Rename MultiPlan to DistributedPlan 2017-11-22 09:36:24 +01:00