Commit Graph

1 Commits (001a9bf61029a8ca4b46d4f74299b207ad641825)

Author SHA1 Message Date
Onder Kalaci 001a9bf610 Enabling physical planner for subquery pushdown changes
This commit applies the logic that exists in INSERT .. SELECT
planning to the subquery pushdown changes.

The main algorithm is followed as :
   - pick an anchor relation (i.e., target relation)
   - per each target shard interval
       - add the target shard interval's shard range
         as a restriction to the relations (if all relations
         joined on the partition keys)
        - Check whether the query is router plannable per
          target shard interval.
        - If router plannable, create a task
2017-04-13 13:50:43 +03:00