diff --git a/expression/expression.go b/expression/expression.go index 2ff54a3c5ba89..353f7fea209cc 100644 --- a/expression/expression.go +++ b/expression/expression.go @@ -1019,10 +1019,12 @@ func scalarExprSupportedByFlash(function *ScalarFunction) bool { ast.Concat, ast.ConcatWS, ast.Date, ast.Year, ast.Month, ast.Day, ast.DateDiff, ast.TimestampDiff, ast.DateFormat, ast.FromUnixTime, + ast.Sqrt, ast.Log, ast.Log2, ast.Log10, ast.Ln, ast.Exp, ast.Pow, ast.Sign, ast.Radians, ast.Degrees, ast.Conv, ast.CRC32, ast.JSONLength, - ast.InetNtoa, ast.InetAton, ast.Inet6Ntoa, ast.Inet6Aton: + ast.InetNtoa, ast.InetAton, ast.Inet6Ntoa, ast.Inet6Aton, + ast.Coalesce, ast.ASCII, ast.Length, ast.Trim, ast.Position: return true case ast.Substr, ast.Substring, ast.Left, ast.Right, ast.CharLength: switch function.Function.PbCode() {