From b467b73a96dd2d18c012da8ce527633c5d5ec0bb Mon Sep 17 00:00:00 2001 From: Yiding Cui Date: Thu, 2 Nov 2017 18:09:30 +0800 Subject: [PATCH] coprocessor: enable push float down to tikv. (#4967) --- store/tikv/coprocessor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/tikv/coprocessor.go b/store/tikv/coprocessor.go index 378e3b3274229..b828c5c1d00da 100644 --- a/store/tikv/coprocessor.go +++ b/store/tikv/coprocessor.go @@ -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: