Commit Graph

1227 Commits

Author SHA1 Message Date
4cbe896b5b expression: fix json_contains_path not compatible with MySQL (#9992) 2019-04-02 19:46:31 +08:00
ad752611c8 expression: fix issue that function dayname is incompatible with Mysql when doing arithmetic (#9975) 2019-04-02 13:45:05 +08:00
873d9514bc expression: move FindIndexByName to parser (#9951) 2019-04-01 13:36:49 +08:00
37c128b64f expression: set correct return field type of builtin CONVERT() (#9305) 2019-03-31 15:11:20 +08:00
cebc7ffad9 types: refine the parsing logic of INTERVAL to correct DATE_ADD/DATE_SUB (#9874) 2019-03-30 18:34:37 +08:00
424995d1fa types: fix converting decimal to datetime and timestamp (#9899) 2019-03-30 11:27:05 +08:00
94f163d98e expression: fix issue that date_add and date_sub is incompatible with MySQL (#9702) 2019-03-29 17:57:29 +08:00
97f88f70d5 expression: fix issue that results of unix_timestamp()-unix_timestamp(now()) is wrong and not stable (#9884) 2019-03-29 15:20:28 +08:00
39a21e9eea config: add test for config (#9850) 2019-03-28 16:27:46 +08:00
99defc0c48 types: fix time_format is not compatible with MySQL (#9841) 2019-03-25 13:47:16 +08:00
9251724533 ddl, expression: disable nondeterministic function calls for generated columns (#9239) 2019-03-23 10:43:06 +08:00
f478af034c expression: fix overflow when signed + unsigned (#9840) 2019-03-22 13:37:24 +08:00
b4cc3e4893 fix str_to_date func compatible issues 9773 (#9819) 2019-03-21 15:00:29 +08:00
778c3f4a5a privilege, executor: add SET ROLE and CURRENT_ROLE support (#9581) 2019-03-21 13:11:27 +08:00
3a48d9c877 executor: add window function NTILE (#9682) 2019-03-15 16:01:56 +08:00
Fox
9187e3d9e5 Fix last_day function (#9746) 2019-03-15 15:31:13 +08:00
7a20e65e51 expression: fix panic when wrap cast for window func (#9719) 2019-03-15 11:06:48 +08:00
ba26012231 expression: using pingcap/log and unify the log format (#9507) 2019-03-14 19:05:27 +08:00
4422a23d9b executor: support window function lead and lag (#9672) 2019-03-14 14:40:51 +08:00
b76b2da8f6 types: fix incompatible issue for builtin function str_to_date (#9693) 2019-03-14 13:04:44 +08:00
ec7514f603 expression: add builtin json_array_append (#9609) 2019-03-14 11:43:24 +08:00
133a1ee8f8 expression: fix week func format (#9685) 2019-03-13 15:25:11 +08:00
f5a4dd986a executor: add window function PERCENT_RANK (#9671) 2019-03-13 11:34:09 +08:00
52b7bfda0e types: use switch table to save memory (#9650) 2019-03-12 22:04:22 +08:00
6e8cd3c7dd executor: support window function nth_value (#9596) 2019-03-12 00:42:37 +08:00
f0aca29fff executor: support window function cume_dist (#9619) 2019-03-11 19:30:54 +08:00
35829101ae expression: support bit for addtime & subtime (#6316) 2019-03-11 16:50:35 +08:00
a968f91fc9 expression: remove useless functin fieldTypeFromPB (#9629) 2019-03-11 12:10:47 +08:00
7072052316 expression,types: improve str_to_date builtin function compatibility (#9617) 2019-03-09 15:15:31 +08:00
247777d870 executor: support window function first_value and last_value (#9560) 2019-03-06 21:43:14 +08:00
2b646cb58b planner, executor: handle default frame for window functions (#9544) 2019-03-06 19:37:30 +08:00
ae91405e61 sessionctx/variable: fix panic when set variable='' (#9533) 2019-03-04 12:28:05 +08:00
560e8cfe57 *: sleep 0 when retry whole transaction (#9454) 2019-03-02 13:16:28 +08:00
2433e28d8d *: fix ineffectual assignments and misspellings (#9481) 2019-02-28 19:25:07 +08:00
9259785455 executor: support window function rank and dense_rank (#9500) 2019-02-28 14:44:08 +08:00
9da174902a expression: fix timezone for timestamp constant when converting expression to pb (#9473) 2019-02-27 10:41:28 +08:00
a59a5f41e1 planner, executor: support range framed window functions (#9450) 2019-02-27 10:07:28 +08:00
5a283a98dd plan/executor: make semi joins null and empty aware (#9051) 2019-02-25 15:42:38 +08:00
2f3842a8da executor, planner: refine merge join compare methods to avoid some rare cases (#9390) 2019-02-25 14:19:26 +08:00
8d4db9fb0e expression: refactor builtin function RAND to be compatible with MySQL (#9387) 2019-02-22 17:22:09 +08:00
38a453d29c expression: should not pass nil pointer to HashCode() function (#9324) 2019-02-21 21:18:03 +08:00
0ffb2f612c expression: refactor constant folding for IF&IFNULL (#9094) 2019-02-19 11:41:59 +08:00
bc0e70dc5c planner/core: implement skyline pruning (#9337) 2019-02-19 11:19:30 +08:00
ed7bb00417 planner, expression: support builtin function NAME_CONST (#9261) 2019-02-19 10:02:46 +08:00
cc085693f1 executor: support window function row number (#9098) 2019-02-18 17:14:37 +08:00
0081e17b02 expression, planner: support builtin function benchmark (#9252) 2019-02-13 19:53:28 +08:00
469fa877d6 util/hack: define a MutableString type for function hack.String (#9230) 2019-02-12 12:30:40 +08:00
84750e8550 expression: handle ENUM in builtin function Values() (#9225) 2019-02-12 11:48:55 +08:00
0b363f1712 expression: add builtin function JSON_QUOTE (#7832) 2019-02-12 10:57:09 +08:00
eb2578bc42 expression: fix date_add interval month,year diffs from mysql (#8988) 2019-02-11 19:52:58 +08:00