Commit Graph

1102 Commits

Author SHA1 Message Date
aec4814ffe expression: fix painc on substring_index (#7806) 2018-10-08 22:07:06 +08:00
78303cbb4d planner/core: separate aggPrune from aggPushDown (#7676) 2018-10-08 19:51:09 +08:00
f33e04f486 expression: make sysdate unfoldable (#7838) 2018-10-08 16:47:45 +08:00
177c155161 plan: exclude IsNull from constant propagation (#7835) 2018-10-08 14:47:13 +08:00
5baedaa21c expression, types: fix some corner case when parsing string to datetime (#7701) 2018-10-08 10:35:52 +08:00
73cab9252d Fix some misspells (#7830) 2018-10-08 09:40:03 +08:00
bca8c2709f expression: fix cast unsigned integer to decimal (#7792) 2018-09-27 17:18:46 +08:00
9fd4072acb expression: add builtin function json_length (#7739) 2018-09-27 09:23:45 +08:00
e79bd946ed *: change package name from plan to planner (#7760) 2018-09-25 11:16:39 +08:00
038ac639ba expression: ECB/CBC modes with 128/192/256-bit key length for AES (#7425) 2018-09-23 22:09:02 +08:00
7b4686d8c2 expression, plan: aggressive constant fold for null parameter expression to simplify outer join (#7696) 2018-09-23 19:46:52 +08:00
115c345593 expression: fix incorrect uniquote json escapse (#7745) 2018-09-20 16:22:40 +08:00
506dcceea2 plan: enhance predicate pushdown over join (#7645)
Derive superset of DNF predicates and push it to children plan nodes as much as possible.
2018-09-17 14:36:52 +08:00
b3cda9a7dc expression: fix comments mistake (#7713) 2018-09-17 14:28:14 +08:00
29441950a3 *: write system timezone into mysql.tidb in bootstrap stage. (#7638) 2018-09-14 22:15:00 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
5ad005b941 types,expression: Fix parse time from string (#7654) 2018-09-11 14:00:25 +08:00
893d546222 expression: json builtin function archetypes (#7651) 2018-09-10 22:17:07 +08:00
8b1feeb9d4 Add two buildin function ( decode and encode) (#7622) 2018-09-10 18:48:15 +08:00
96e44a80f8 executor, expression: calculating the default value for datetime should consider the time zone (#7655) 2018-09-10 16:11:07 +08:00
30ae420242 expression: support builtin function json_contains_path (#7596) 2018-09-09 12:32:15 +08:00
b3d4ed79b9 server, mysql: return correct column name and column label name (#7600) 2018-09-08 13:06:14 +08:00
6fb1a637fb expression: Fix some datetime related cases that is inconsistent with MySQL (#7636) 2018-09-07 14:38:43 +08:00
3f5bd3bb28 expression: support builtin function json_contains (#7443) 2018-09-07 12:45:13 +08:00
15e709ca0d plan: change the logic of converting to index join (#7553) 2018-09-05 13:18:32 +08:00
418cdf2308 plan: use point get plan for UPDATE statement (#7586)
* plan: use point get plan for UPDATE statement
2018-09-04 07:56:42 +08:00
1f2841fbd4 ddl: year type should have an unsigned flag (#7542) 2018-08-31 16:45:38 +08:00
40a4a2dfe8 fix compatibility bug with convert string to int return wrong result (#7483) 2018-08-31 14:47:01 +08:00
87c54b2610 plan, statistics: maintain HistColl in DataSource's StatsInfo (#7385) 2018-08-31 01:14:43 +08:00
7f37bad60f expression: propagate more filters in PropagateConstant (#7276) 2018-08-31 00:11:04 +08:00
c625c27239 expression: check max_allowed_packet constraint for function insert (#7502) 2018-08-29 13:52:15 +08:00
55565f1c93 expression: fix out of range error for intdiv (#7492) 2018-08-28 11:24:48 +08:00
38c939f4f9 *: add comment and fix lint tool (#7503) 2018-08-27 21:52:04 +08:00
d9f7ffe539 plan: fix a bug when using correlated column as index (#7357) 2018-08-24 16:52:40 +08:00
db873d68f3 infoschema: set right columns in infoschema by differ type (#7463) 2018-08-24 13:15:21 +08:00
d9ea38b2ad expression: fix type infer when wrap cast decimal as string (#7451) 2018-08-21 19:40:26 +08:00
4836aa33c3 executor: support new aggregate framework for HashAggExec (#7268) 2018-08-21 15:17:25 +08:00
5754f624c9 expression: fix builtin 'CharLength' for binary string input (#7410) 2018-08-20 12:08:23 +08:00
H
2fbd5e7a70 expression: handle max_allowed_packet warnings for repeat function. (#7181) 2018-08-17 23:39:47 +08:00
4624785b37 expression: handle max_allowed_packet warnings for from_base64 function. (#7409) 2018-08-17 23:12:37 +08:00
8f1b494055 expression: fix missing microsecond for timestamp (#7418) 2018-08-17 14:40:49 +08:00
6e7d75299d test: refine test (#7414) 2018-08-16 17:05:59 +08:00
016006f5c5 expression: handle max_allowed_packet warnings for to_base64 function. (#7266) 2018-08-15 10:49:20 +08:00
360ef5cee7 expression: tiny change to extend SimpleRewriter's ability (#7373) 2018-08-14 15:22:38 +08:00
fc89a6421a expression,ddl: fix fraction part handle of current_timestamp (#7355) 2018-08-14 13:20:01 +08:00
f98ef22ded expression, executor: add a new interface MergePartialResult for the new aggregation framework (#7281) 2018-08-13 14:54:06 +08:00
3efb8d7dfd util/charset: Add utf8mb4 as alias for utf8 (#7339) 2018-08-10 11:48:12 +08:00
6e33d2e3b7 expression: fix behavior for builtin 'LTrim', 'RTrim' and 'Trim' (#7291) 2018-08-07 15:07:02 +08:00
9eb197f754 executor: remove the old evaluate logic of stream agg (#7251) 2018-08-03 08:34:28 +08:00
H
6287b24f43 expression: handle max_allowed_packet warnings for space function. (#7210) 2018-08-02 12:57:06 +08:00