Commit Graph

3474 Commits

Author SHA1 Message Date
eae64e40fe executor: support exact staleness begin statement (#21897) 2020-12-31 22:08:14 +08:00
56ef0ab2a6 executor: improve the runtime stats of index lookup reader (#21982)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-31 17:35:15 +08:00
fb4426b675 executor: avoid log duplicate index name in slow-log (#22057)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-30 20:13:43 +08:00
d754770e50 executor: fix incompatible escape behaviors in select into outfile (#22100) 2020-12-30 17:39:36 +08:00
8144e1395d *:Adapt ScanDetailV2 in KvGet and KvBatchGet Response (#21562) 2020-12-30 17:02:44 +08:00
f2a68ee28a executor: fix update ignore into not exists partition (#21984) 2020-12-30 16:44:13 +08:00
d9d693fb43 select into outfile untime error: index out of range (#22038) 2020-12-30 14:49:14 +08:00
795e88ae93 executor: fix signed cluster index behavior (#22085)
Signed-off-by: lysu <sulifx@gmail.com>
2020-12-30 11:27:44 +08:00
b1bd2856ca config: disable list partition by default since it's an experimental feature (#22045) 2020-12-29 09:56:18 +08:00
5e67a597cc planner, store/tikv, executor:Support shuffled hash join and refine codes (#20894) 2020-12-28 15:14:15 +08:00
933e456beb executor: disallow split table region by null values (#20496) 2020-12-26 15:26:02 +08:00
27071f14d7 session/bootstrap: disable clustered index by default (#21777) 2020-12-25 15:44:07 +08:00
edce3b75ad tests: add mpp mock test, part 2 (#21631) 2020-12-25 13:46:40 +08:00
c3e54962d1 executor: fix a bug that can not insert null into a not null column in the empty SQL mode (#21237)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-25 11:44:00 +08:00
38792204f9 executor, session, sessionctx: make last_plan_from_cache and last_plan_from_binding read-only (#21953) 2020-12-24 16:09:30 +08:00
092a01a0a4 statistics, executor: refactor statistics on columns (#21817) 2020-12-24 13:56:30 +08:00
5aebcee5cf executor, session, sessionctx: fix the error message of read-only variable is corrupted (#21948) 2020-12-23 20:09:00 +08:00
61e068a4d6 executor: throw error when prepared statement is execute, deallocate or prepare (#21962) 2020-12-23 17:55:59 +08:00
0735a0c924 executor: fix insert ignore into not exists partition (#21904)
Signed-off-by: lysu <sulifx@gmail.com>
2020-12-23 17:19:29 +08:00
b112c3c9a3 types: Add a limitation about float data type (#20929) 2020-12-23 16:47:59 +08:00
9ef7246d29 executor: fix data race in extractTxnScope (#21929) 2020-12-23 15:34:30 +08:00
0370fbf6a3 types: Regard TypeNewDecimal as not a hasVariantFieldLength type. (#21849) 2020-12-23 12:59:48 +08:00
e172656e37 expression: fix comparing json with string (#21903) 2020-12-23 11:54:17 +08:00
c3576fa0f0 planner: fix unknown columns in join using below agg (#21922)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-23 11:26:06 +08:00
1f16f74bd9 planner: add special partition pruner for list columns partition (#21577) 2020-12-23 11:21:53 +08:00
d44e123395 planner: prevent agg push down if it is in the outer child of apply (#21902) 2020-12-22 16:43:26 +08:00
7b76edcfe1 *: support baseline capture for prepared statements (#21271) 2020-12-22 16:21:59 +08:00
56d3f6b471 executor: support forbiding cross dc read for pointGet (#21840) 2020-12-22 15:31:31 +08:00
1265a115f6 chunk: fix min/max for enum/set is incompatible with MySQL (#21566) 2020-12-21 17:07:00 +08:00
f9092ad3fd executor: generated column make overflow error as warning when no strict sql mode (#21879)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-21 16:21:30 +08:00
ce5ce53fa9 ddl, distsql: Support forbiding cross txnScope query all *Reader Executor (#21650) 2020-12-21 15:30:30 +08:00
5cb50070bd planner: fix union doesn't handle collate correctly (#21854)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-21 15:06:33 +08:00
e9b11b72a3 util: fix bad number error with DISTINCT when dividing long decimals (#21783) 2020-12-18 16:29:35 +08:00
f6c8de385e session: check character set value valid when set global variable (#21609) 2020-12-18 15:59:24 +08:00
6e2bc8fe01 ddl: filter the feature switches in show variables (#21873) 2020-12-18 15:29:50 +08:00
f687ebd91c planner: fix correlated aggregates which should be evaluated in outer query (#21431) 2020-12-18 14:51:35 +08:00
fd587c3552 session: add a switch for index merge join (#21830)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-18 11:05:05 +08:00
efc0759961 *: add enable-global-kill with default value FALSE (#21859) 2020-12-17 20:48:34 +08:00
91ec971961 session: Support getting last query info for test purpose (#21557)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2020-12-17 19:29:35 +08:00
5825c56764 *: fix invalid txn with DDL (#21837)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-12-17 19:14:35 +08:00
259a89ade2 executor: set StmtType correctly in SummaryStmt for failed queries (#21855)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-12-17 18:41:15 +08:00
a42aa31dc9 executor: add auto_random, auto_increment, generated column, global index test for list (columns) partition (#21725)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-17 11:19:35 +08:00
9f095242b5 exeutor: add a switch for memory tracker in aggregate (#21597) 2020-12-16 15:01:35 +08:00
3cbfec31d9 *: add a switch for extended stats to disable the feature by default (#21716) 2020-12-15 18:27:23 +08:00
67d66d68f2 expression: fix casting year 0 to string 0000 (#21469) 2020-12-15 17:33:55 +08:00
25daaee0c0 add switch for point get cache (#21669) 2020-12-15 17:00:15 +08:00
41eb594924 expression: handle hybrid field types for where clause (#21724) 2020-12-15 16:06:54 +08:00
d878fe193b executor: introduce new variables to control Apply's behaviors and add more tests for it (#20844) 2020-12-15 14:31:25 +08:00
f5a3a38bfe *: fix bug that broadcast join/MPP not compatible with clustered index (#21663) 2020-12-15 11:42:55 +08:00
ab9cd019be *: make expression index as an experiment feature (#21721)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-14 20:52:44 +08:00