store/tikv: switch case when on. (#2171)
This commit is contained in:
@ -61,6 +61,8 @@ func supportExpr(exprType tipb.ExprType) bool {
|
||||
return true
|
||||
case tipb.ExprType_Plus, tipb.ExprType_Div:
|
||||
return true
|
||||
case tipb.ExprType_Case:
|
||||
return true
|
||||
case tipb.ExprType_Count, tipb.ExprType_First, tipb.ExprType_Max, tipb.ExprType_Min, tipb.ExprType_Sum, tipb.ExprType_Avg:
|
||||
return true
|
||||
case kv.ReqSubTypeDesc:
|
||||
|
||||
Reference in New Issue
Block a user