Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
  • Loading branch information
wjhuang2016 committed Dec 6, 2021
1 parent 8c9febb commit 1726932
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions expression/expr_to_pb.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,7 @@ func (pc PbConverter) columnToPBExpr(column *Column) *tipb.Expr {

return &tipb.Expr{
Tp: tipb.ExprType_ColumnRef,
Val: codec.EncodeInt(nil, id),
}
Val: codec.EncodeInt(nil, id)}
}

func (pc PbConverter) scalarFuncToPBExpr(expr *ScalarFunction) *tipb.Expr {
Expand Down

0 comments on commit 1726932

Please sign in to comment.