Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leiysky authored Jun 17, 2021
1 parent a71dd79 commit ac9a432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expression/expr_to_pb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ func (s *testEvaluatorSuite) TestExprPushDownToFlash(c *C) {
exprs = append(exprs, function)

// CastStringAsReal
function, err = NewFunction(mock.NewContext(), ast.Cast, types.NewFieldType(mysql.TypeString), realColumn)
function, err = NewFunction(mock.NewContext(), ast.Cast, types.NewFieldType(mysql.TypeDouble), stringColumn)
c.Assert(err, IsNil)
exprs = append(exprs, function)

Expand Down

0 comments on commit ac9a432

Please sign in to comment.