Clone
Xikui Wang <xkkwww@gmail.com>
committed
on 22 Jun 18
[NO ISSUE][COMP] Prevent broadcast hint changes left-outer-join semantic
- user model changes: no
- storage format changes: no
- interface c… Show more
[NO ISSUE][COMP] Prevent broadcast hint changes left-outer-join semantic

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

The current way of handling broadcast hint can cause a problem in a

certain case. When we have a subquery containing join, the inline

subplan rule will transform it into a left-outer-join. If the join in

the subquery has a broadcast hint and the broadcast side is left, then

the JoinUtils will switch the two branches blindly which can break the

semantic of the left-outer-join.

Change-Id: I522b5f1edf35a1c46f2e2ef1b265049d3c18a575

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2721

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

Show less