Skip to content

Commit

Permalink
coprocessor: support coalesce push down. (pingcap#4288)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanfei1991 authored Aug 22, 2017
1 parent 2a89535 commit 0b63d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/tikv/coprocessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (c *CopClient) supportExpr(exprType tipb.ExprType) bool {
case tipb.ExprType_Plus, tipb.ExprType_Div, tipb.ExprType_Minus, tipb.ExprType_Mul:
return true
// control functions
case tipb.ExprType_Case, tipb.ExprType_If, tipb.ExprType_IfNull:
case tipb.ExprType_Case, tipb.ExprType_If, tipb.ExprType_IfNull, tipb.ExprType_Coalesce:
return true
// aggregate functions.
case tipb.ExprType_Count, tipb.ExprType_First, tipb.ExprType_Max, tipb.ExprType_Min, tipb.ExprType_Sum, tipb.ExprType_Avg:
Expand Down

0 comments on commit 0b63d0c

Please sign in to comment.