Skip to content
Snippets Groups Projects
Commit f6bc0489 authored by Denis Smirnov's avatar Denis Smirnov
Browse files

fix: broken commutativity in join distribution deduction

Join node deduces the distribution of its output tuple based on
the output tuples of its left and right children. The logic of
deduction was broken: if we swap the children the distribution
changed. So, current commit rewrites join distribution deduction.

Also we refactor some parts of the set_distribution() function.
Its code style is still bad, but now it is not so horrible as
before.
parent 17b87812
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment