Skip to content

Commit

Permalink
tikv: Enable xapi for avg/max/min (pingcap#1487)
Browse files Browse the repository at this point in the history
  • Loading branch information
shenli authored Jul 22, 2016
1 parent c66576b commit 7ea6516
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 @@ -65,7 +65,7 @@ func supportExpr(exprType tipb.ExprType) bool {
return true
case tipb.ExprType_Plus:
return true
case tipb.ExprType_Count, tipb.ExprType_First, tipb.ExprType_Sum:
case tipb.ExprType_Count, tipb.ExprType_First, tipb.ExprType_Sum, tipb.ExprType_Avg, tipb.ExprType_Max, tipb.ExprType_Min:
return true
case kv.ReqSubTypeDesc:
return true
Expand Down

0 comments on commit 7ea6516

Please sign in to comment.