Skip to content

Commit d258078

Browse files
authored
Merge branch 'space_push_down_5113' into master
2 parents 709ae4e + e31bece commit d258078

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

expression/expression.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ func scalarExprSupportedByFlash(function *ScalarFunction) bool {
10701070
return false
10711071
}
10721072
return true
1073-
case ast.Substr, ast.Substring, ast.Left, ast.Right, ast.CharLength, ast.SubstringIndex, ast.Reverse:
1073+
case ast.Substr, ast.Substring, ast.Left, ast.Right, ast.CharLength, ast.SubstringIndex, ast.Reverse, ast.Space:
10741074
switch function.Function.PbCode() {
10751075
case
10761076
tipb.ScalarFuncSig_LeftUTF8,
@@ -1080,7 +1080,8 @@ func scalarExprSupportedByFlash(function *ScalarFunction) bool {
10801080
tipb.ScalarFuncSig_Substring3ArgsUTF8,
10811081
tipb.ScalarFuncSig_SubstringIndex,
10821082
tipb.ScalarFuncSig_ReverseUTF8,
1083-
tipb.ScalarFuncSig_Reverse:
1083+
tipb.ScalarFuncSig_Reverse,
1084+
tipb.ScalarFuncSig_Space:
10841085
return true
10851086
}
10861087
case ast.Cast:

0 commit comments

Comments
 (0)