zhouqingqing / qpmodel

A Relational Optimizer and Executor
MIT License
64 stars 18 forks source link

modify gather for loop and enable some tpch dist test #201

Closed arzuschen closed 3 years ago

arzuschen commented 3 years ago

Previously, gather can only be run once, leaving the execution in another loop to return empty. This may happen for nested loops like NLJoin and MarkJoin. Now the results are cached to make sure every run returns the same result. This modification does slow down the execution but it can ensure correct and consistent outputs. After this fix distributed tpch q04 can be run.

Some other tpch tests are able to run after the distribution property change.