Skip to content

Commit 576e9cb

Browse files
Mark the JoinPredicate as handled.
Signed-off-by: Arthur Schreiber <[email protected]>
1 parent feb4c8e commit 576e9cb

File tree

1 file changed

+1
-0
lines changed
  • go/vt/vtgate/planbuilder/operators

1 file changed

+1
-0
lines changed

go/vt/vtgate/planbuilder/operators/union.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ func (u *Union) AddPredicate(ctx *plancontext.PlanningContext, expr sqlparser.Ex
106106

107107
if jp, ok := expr.(*predicates.JoinPredicate); ok {
108108
expr = jp.Current()
109+
ctx.PredTracker.Skip(jp.ID)
109110
}
110111

111112
needsFilter, exprPerSource := u.predicatePerSource(expr, offsets)

0 commit comments

Comments
 (0)