calcite
calcite copied to clipboard
[CALCITE-1956] Allow MultiJoin to chain multiple FULL joins
Currently, JoinToMultiJoinRule does not collapse well joins if they are null-generating (e.g. full/left/right). In particular, if all the joins are FULL joins, then it should be able to collapse all the joins into a single MultiJoin and apply LoptOptimizeJoinRule to re-order the join inputs.
Change-Id: Ia6f72df9c4dfd0a8317a884dc28835b34011fb4e
Copy of #523, since the original pull request seems to be stalled. @minji-kim @michaelmior let me know if you're okay with this.
Hey @laurentgo what do you mean by copy? I've seen that @jcamachor had some blocking comments in the old PR. Are they resolved?