Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zz-jason committed Nov 28, 2018
1 parent e7b92f2 commit 21a6efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plan/predicate_push_down.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func splitSetGetVarFunc(filters []expression.Expression) ([]expression.Expressio
func (p *LogicalSelection) PredicatePushDown(predicates []expression.Expression) ([]expression.Expression, LogicalPlan) {
canBePushDown, canNotBePushDown := splitSetGetVarFunc(p.Conditions)
retConditions, child := p.children[0].PredicatePushDown(append(canBePushDown, predicates...))
retConditions = append(retConditions, canNotBePushDown...)
retConditions = append(canNotBePushDown, retConditions...)
if len(retConditions) > 0 {
p.Conditions = expression.PropagateConstant(p.ctx, retConditions)
return nil, p
Expand Down

0 comments on commit 21a6efd

Please sign in to comment.