Skip to content

Commit

Permalink
expression: support date function pushed down to tiflash
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxin9014 committed Jul 23, 2021
1 parent 4116dd2 commit 93a7dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expression/expression.go
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ func scalarExprSupportedByFlash(function *ScalarFunction) bool {
ast.Plus, ast.Minus, ast.Div, ast.Mul, ast.Abs, /*ast.Mod,*/
ast.If, ast.Ifnull, ast.Case,
ast.Concat, ast.ConcatWS,
ast.Year, ast.Month, ast.Day,
ast.Date, ast.Year, ast.Month, ast.Day,
ast.DateDiff, ast.TimestampDiff, ast.DateFormat, ast.FromUnixTime,
ast.Sqrt,
ast.JSONLength:
Expand Down

0 comments on commit 93a7dd0

Please sign in to comment.