rheem-ecosystem / rheem

Rheem - a cross-platform data processing system
https://rheem-ecosystem.github.io
5 stars 0 forks source link

Avoid cross-product in concatenation of plan enumerations #62

Closed sekruse closed 7 years ago

sekruse commented 7 years ago

When the optimizer concatenates several PlanEnumerations via some Slots, it creates the cross-product of their PlanImplementations and tries to concatenate them. This scales exponentially with the number of PlanEnumerations and should be avoided. For that matter, there is room for improvement:

While this pruning technique is of course not taking away the exponential complexity of the whole problem (because it might not always be applicable), I have some good hope that in practical situations it can be quite effective.

Furthermore, this observation should also be incorporated with the concatenation priorities.

sekruse commented 7 years ago

Closed in #63.