Commit Graph

32 Commits (51d498e2c26c9a8d135588005ed14e05a9e4b237)

Author SHA1 Message Date
Nils Dijk 51d498e2c2
wip for repartition join 2021-12-01 12:54:43 +01:00
Nils Dijk 071cae2f6d
fix check for outer rel to take mapped varno's into account 2021-12-01 12:54:42 +01:00
Nils Dijk 2a67d0057d
implement parameterized inner loops 2021-12-01 12:54:42 +01:00
Nils Dijk 29010333cf
make compatible with pg14 2021-12-01 12:54:42 +01:00
Nils Dijk 7ee4646e96
use patternmatcher for join pushdown 2021-12-01 12:54:42 +01:00
Nils Dijk 089650db11
rewriting tree to distributed plan 2021-12-01 12:54:41 +01:00
Nils Dijk 1aa86f6b1c
more simplification and removal of unused code 2021-12-01 12:54:41 +01:00
Nils Dijk 4362502bb5
generic way of matching fields for Var/Const 2021-12-01 12:54:41 +01:00
Nils Dijk 2b4072ebe8
rework the capture logic 2021-12-01 12:54:41 +01:00
Nils Dijk 766ed2ad33
collapse closing braces as suggested by dim 2021-12-01 12:54:40 +01:00
Nils Dijk cc84b48fd1
formatting and cleanup 2021-12-01 12:54:40 +01:00
Nils Dijk e3953b2459
prototype of pattern matcher 2021-12-01 12:54:40 +01:00
Nils Dijk bac16a3785
basic geo partitioning planning 2021-12-01 12:54:40 +01:00
Nils Dijk ff187ce5e1
expand shard model for geo distribution 2021-12-01 12:54:40 +01:00
Nils Dijk 6bc9209baf
update pg and citus 2021-12-01 12:54:39 +01:00
Nils Dijk b5ac6d2048
add broadcast optimization rule 2021-12-01 12:54:39 +01:00
Nils Dijk f952d9c614
easily add new join optimization functions 2021-12-01 12:54:39 +01:00
Nils Dijk 6b8e0a6105
fix subtle bug in adding to a list we are iterating over 2021-12-01 12:54:39 +01:00
Nils Dijk 23b11b470b
add paths for joins instead of rewriting them 2021-12-01 12:54:39 +01:00
Nils Dijk 84068f79b2
fix refactor and renames 2021-12-01 12:54:38 +01:00
Nils Dijk 2e178d21d6
fix targetlist to prevent projection that failed 2021-12-01 12:54:38 +01:00
Nils Dijk 5cef5b20a3
simple group by push down 2021-12-01 12:54:38 +01:00
Nils Dijk e570149c0a
propagate partition value during joins 2021-12-01 12:54:38 +01:00
Nils Dijk 30d9380f46
implement beginning of shard pruning 2021-12-01 12:54:38 +01:00
Nils Dijk ffa33b096a
Add support for optimising nested loop a bit (primary key lookup). 2021-12-01 12:54:38 +01:00
Nils Dijk 2937d4edc9
Fix misread of colocation id 2021-12-01 12:54:37 +01:00
Nils Dijk f858efd2f2
Implement beginnings of join pushdown 2021-12-01 12:54:37 +01:00
Nils Dijk b361386e05
Record the colocation id on the DU 2021-12-01 12:54:37 +01:00
Nils Dijk 8d73ff6779
Define a custom path structure 2021-12-01 12:54:37 +01:00
Nils Dijk 9acf41a9d9
Remove RTE reference from DU 2021-12-01 12:54:37 +01:00
Nils Dijk 00083afeaa
Use path object to recreate range table entry etc 2021-12-01 12:54:36 +01:00
Nils Dijk 285f1b1d1e
move path based planner to its own files 2021-12-01 12:54:36 +01:00