Commit Graph

1204 Commits

Author SHA1 Message Date
3f4c71bdbb *: add parser and definition for all unsupported builtin funcs (part 1) (#2649)
* *: add parser and definition for builtin funcs:
bin, elt, exportSet, format, fromBase64, insert, instr, loadFile, lpad
2017-02-16 11:37:42 +08:00
59e8ccf0a5 expression: workaround for wrong timediff function input (#2611) 2017-02-08 20:57:27 +08:00
395a9c6129 *: add builtin function UTC_TIMESTAMP (#2592)
* *: add builtin function UTC_TIMESTAMP
2017-02-05 02:16:18 -06:00
15d2065287 Support builtin function timestamp (#2498) 2017-02-05 13:06:27 +08:00
1c01055496 plan: add Contains function on Schema (#2588)
Improve readablity.
2017-02-04 14:25:12 +08:00
006436a14a expression: use isDeterministic interface. (#2570) 2017-01-30 15:42:45 +08:00
e68dcf77dc *: remove ctx from function args. (#2566) 2017-01-28 18:44:02 +08:00
7e92364dd1 expression: refactor time function. (#2560) 2017-01-26 10:33:05 +08:00
b9e62d69ef expression: make and/ or expression faster. (#2561) 2017-01-26 00:02:02 +08:00
26d54c8866 expression,util/stringutil: move LIKE pattern match to stringutil package (#2548) 2017-01-25 22:28:36 +08:00
3c9bb15d29 expression: refactor functions. (#2556) 2017-01-25 20:34:41 +08:00
f6547abc7a expression: refactor function. (#2551) 2017-01-25 20:27:54 +08:00
d2db2b3c15 expression: refactor functions. (#2555) 2017-01-25 20:17:27 +08:00
a534a50ff4 expression: refactor functions. (#2558) 2017-01-25 19:55:02 +08:00
f896757b83 expression: refactor functions. (#2550)
* expression: refactor functions.

* address comment
2017-01-25 15:22:34 +08:00
461fd98bb0 *: rename the plan interface. (#2547) 2017-01-25 15:10:44 +08:00
21e21c4a3c *: move the code of distinct logic. (#2539) 2017-01-23 20:43:47 +08:00
150574bacf plan: remove aggregation grouped by unique key. (#2424) 2017-01-23 19:08:48 +08:00
fb429408c9 *: make schema as a pointer. (#2533) 2017-01-23 16:23:47 +08:00
96ee4446e3 *: refactor function. (#2499) 2017-01-22 18:10:38 +08:00
5aec72ce81 expression,plan: fix some issues of ROUND func (#2461) 2017-01-22 11:35:26 +08:00
383f203735 *: add builtin function FLOOR (#2484) 2017-01-22 11:18:15 +08:00
f145a32063 *: refactor apply plan and executor. (#2411) 2017-01-22 11:06:17 +08:00
30f97af07f *: fixed a mistake whileing adding sqrt math func (#2513) 2017-01-19 19:24:05 +08:00
a3f4cf7beb expression: Fix a null point bug in unix_timestamp() (#2497) 2017-01-18 12:54:18 +08:00
72403f3578 *: added builtin function sqrt (#2493) 2017-01-18 12:43:59 +08:00
a680ffcfbb expression: change builtin time test. (#2494) 2017-01-18 02:52:42 +08:00
475d7e3842 expression: change test. (#2488) 2017-01-17 20:08:13 +08:00
e79a460a28 expression: change test for string_test. (#2458) 2017-01-17 14:27:25 +08:00
c470a46283 *: remove useless code. (#2457) 2017-01-15 11:37:48 +08:00
67313335fa *: Support builtin function field (#2449) 2017-01-15 11:10:39 +08:00
8a62fc1caf *: clean code. (#2464) 2017-01-15 10:00:03 +08:00
3bfac81a4e *: add builtin function FROM_DAYS (#2434) 2017-01-15 01:10:47 +08:00
d1ef3e5687 *: add builtin function SIGN (#2427) 2017-01-13 10:31:05 +08:00
5969e9ecad *: add builtin function TIMESTAMPDIFF (#2386) 2017-01-11 00:12:48 +08:00
19c87888b4 expression: add new funcs map. (#2433) 2017-01-10 19:21:10 +08:00
52c267959b expression: refactor rest functions. (#2416) 2017-01-09 23:53:46 +08:00
b2ce51a06d *: support substr. (#2422) 2017-01-09 23:25:22 +08:00
962cd0c1fb expression: move some funcs out of builtin.go (#2418) 2017-01-09 16:33:00 +08:00
15b9956e57 *: add buildin function CONV (#2390)
*: add buildin function CONV
2017-01-09 10:57:19 +08:00
b17b83378d expression: add functionClass and builtinFunc for time funcs. (#2410) 2017-01-07 14:20:26 +08:00
2521ab4dec *: extract a builtin function factory for date arithmetic (#2403)
* *: refactor DATE_ARITH according to #2368
2017-01-07 10:52:31 +08:00
1dd0945cf3 *: add unique key info into schema (#2376) 2017-01-06 17:36:39 +08:00
ac06325a1d *: add builtin function DATEDIFF (#2374) 2017-01-06 10:01:20 +08:00
9c38f89241 expression: add functionClass and builtinFunc for str funcs. (#2399) 2017-01-05 17:02:12 +08:00
18fc9aa630 expression: implement functionClass and builtinFunction for op funcs. (#2391) 2017-01-05 16:23:31 +08:00
ef7eac6104 expression: implement functionClass and builtinFunction for math funcs. (#2389) 2017-01-05 15:25:05 +08:00
a44d9c3891 *: add builtin function UNIX_TIMESTAMP (#2369) 2017-01-05 14:09:21 +08:00
e3e7b624f2 expression,parser: add support for FIND_IN_SET function (#2373) 2017-01-05 10:58:58 +08:00
8e109b7df9 expression,parser: add support for INTERVAL function (#2370) 2017-01-05 10:38:03 +08:00