citus/src/backend/distributed/operations
Sait Talha Nisanci 5693cabc41 Not convert an already routable plannable query
We should not recursively plan an already routable plannable query. An
example of this is (SELECT * FROM local JOIN (SELECT * FROM dist) d1
USING(a));

So we let the recursive planner do all of its work and at the end we
convert the final query to to handle unsupported joins. While doing each
conversion, we check if it is router plannable, if so we stop.

Only consider range table entries that are in jointree

If a range table is not in jointree then there is no point in
considering that because we are trying to convert range table entries to
subqueries for join use case.
2020-12-15 18:17:10 +03:00
..
citus_create_restore_point.c rename node/worker utilities (#4003) 2020-07-09 15:30:35 +03:00
citus_tools.c Comment user provided input memory allocation (#4163) 2020-09-17 13:18:13 +03:00
create_shards.c Fix int32 overflow and use PG macros for INT32_XX (#4061) 2020-07-23 18:30:08 +03:00
delete_protocol.c Remove master_drop_sequences 2020-10-06 10:57:33 +02:00
modify_multiple_shards.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
node_protocol.c Not convert an already routable plannable query 2020-12-15 18:17:10 +03:00
repair_shards.c refactor table ddl events scoped for shards (#4342) 2020-11-26 13:31:59 +01:00
shard_rebalancer.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
split_shards.c Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
stage_protocol.c refactor table ddl events scoped for shards (#4342) 2020-11-26 13:31:59 +01:00
worker_node_manager.c Not allow removing a single node with ref tables (#4127) 2020-09-18 15:35:59 +03:00