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.
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.