Commit Graph

17 Commits

Author SHA1 Message Date
b200cef223 support function rpad (#2270) 2016-12-19 16:36:41 +08:00
74a1c9935d *: add StatementContext argument to functions. (#2157)
Add StatementContext argument to more functions where it is needed.
2016-12-02 23:28:11 +08:00
5230f5eabd variable: define StatementContext. (#2121)
StatementContext is used to hold statement execution mode and state.
As every computation need this, there are many API changes.
2016-11-29 14:25:38 +08:00
5a3f87d099 support unhex. (#1675) 2016-09-01 19:25:04 +08:00
4a4faccba3 Add builtin function hex (#1504) 2016-07-28 13:53:54 +08:00
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +08:00
b3bd0dce4d *: add builtin string function SPACE (#1332) 2016-06-21 15:45:26 +08:00
e3597b6548 Add Datum.IsNull() fucntion (#1298)
Add IsNull function for Datum to simplify null check.
2016-06-07 23:35:25 +08:00
55ed68ca6c add builtin-reverse func (#1224) 2016-05-13 20:53:55 +08:00
4ced2f7e10 *: implement some other builtin functions (#1137)
Support ISNULL(), LTRIM(), RTRIM(), LCASE() and UCASE().
Add alias for LOWER() and UPPER().
2016-04-23 21:04:26 +08:00
cd3d424252 evaluator: partially fix issue #1098 (#1100)
Fix the incorrect behavior of `substring` function, multi-byte charset still hasn't been supported.
2016-04-17 00:43:30 +08:00
8c164bc078 evaluator,parser: support ASCII(). (#309) (#1083)
* evaluator: add a builtin function wanted by #310.

* parser: update parser for ASCII().
2016-04-14 01:53:50 -05:00
2ef0c56ccc Make some change. 2016-03-22 16:12:07 +08:00
abeea90449 evaluator: change the remaining string functions.
Change the remaining string functions.
2016-03-22 14:04:23 +08:00
1ba2f08a71 evaluator: change concat_ws, left, length, lower, repeat, upper.
Change the interfaces of concat_ws, left, length, lower, repeat, upper to datums.
2016-03-21 20:09:54 +08:00
c960c81d86 evaluator: Change the interfaces of builtinConcat to datums.
Change the interfaces of builtinConcat to datums.
2016-03-21 16:31:03 +08:00
79962174ef evaluator: move the files in buildin package to evaluator package
Move the files in buildin package to evaluator package.
2016-03-10 10:03:47 +08:00