Skip to content

Commit

Permalink
coprocessor: enable push float down to tikv. (#4967) (#5153)
Browse files Browse the repository at this point in the history
  • Loading branch information
winoros authored and XuHuaiyu committed Nov 20, 2017
1 parent a2c2397 commit 0a01c10
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 @@ -59,7 +59,7 @@ func (c *CopClient) supportExpr(exprType tipb.ExprType) bool {
switch exprType {
case tipb.ExprType_Null, tipb.ExprType_Int64, tipb.ExprType_Uint64, tipb.ExprType_String, tipb.ExprType_Bytes,
tipb.ExprType_MysqlDuration, tipb.ExprType_MysqlTime, tipb.ExprType_MysqlDecimal,
tipb.ExprType_ColumnRef:
tipb.ExprType_Float32, tipb.ExprType_Float64, tipb.ExprType_ColumnRef:
return true
// logic operators.
case tipb.ExprType_And, tipb.ExprType_Or, tipb.ExprType_Not:
Expand Down

0 comments on commit 0a01c10

Please sign in to comment.