Commit Graph

2381 Commits

Author SHA1 Message Date
6aa9c3f58b executor: make the groupChecker vectorized (#12903) 2019-11-27 07:38:36 -06:00
6a59557500 executor: show operators' concurrency information in results of EXPLAIN ANALYZE (#13539) 2019-11-27 16:46:25 +08:00
e979cff6bb planner: add column mapping in explain result (#13640) 2019-11-27 16:39:19 +08:00
596fb64233 planner: support a hint to force using a IndexMerge path (#12843) 2019-11-27 15:44:25 +08:00
d811fbb461 util: remove some unused code in admin package (#13742) 2019-11-27 14:37:25 +08:00
6b7e19ab41 extract a LogicalMemTable from DataSource to decouple memory/stored tables (#13741)
Signed-off-by: Lonng <heng@lonng.org>
2019-11-27 10:19:17 +08:00
3a48a48630 *: remove the assertion proto (#13732)
The assertion proto was introduced to verify the data consistency, but I find
it's complex and hard to achieve that goal. Adding additional assertions just
makes more memory occupation, especially in the large transaction.
So it's better to remove it.
2019-11-26 22:58:49 +08:00
a1dc0477a5 types: add error code for package types (#13300) 2019-11-26 19:45:14 +08:00
acfc7be794 infoschema: refine error code for package infoschema (#13646) 2019-11-26 10:21:43 +08:00
8ed87c181e executor, test: copy the index join tests for index hash join and index merge join (#13618) 2019-11-25 21:27:30 +08:00
189d89e00a planner, executor: build ColWithCmpFuncManager.TmpConstant for indexHashJoin.innerWorker individually (#13714) 2019-11-25 14:36:17 +08:00
17fda43487 planner, executor: build ColWithCmpFuncManager.TmpConstant for indexMergeJoin.innerWorker individually (#13713) 2019-11-25 13:57:16 +08:00
518692c14c bindinfo: support evolve plan (#13465) 2019-11-22 17:09:37 +08:00
71e19a7308 Allocate continuous row id for single INSERT statement (#13648) 2019-11-22 16:22:08 +08:00
4b830aa7f6 *: Remove unused code (#13674) 2019-11-22 11:37:07 +08:00
af2a2c5321 bindinfo: support bindings management (#13608) 2019-11-22 11:01:07 +08:00
17ffc8031b executor: do not set priority when tidb_force_priority is set (#13633) 2019-11-22 10:51:38 +08:00
de6277fe2d planner, executor: build ColWithCmpFuncManager.TmpConstant for indexJoin.innerWorker individually (#13669) 2019-11-21 21:31:08 +08:00
da0fe6fd14 infoschema, util: Add more fields to table events_statements_summary_by_digest (#13484) 2019-11-21 15:54:19 +08:00
f98a1077c1 executor: refine the check of onlyFullGroupBy when groupByItem is parenthesesExpr or UnaryPlusExpr (#13655) 2019-11-21 12:39:07 +08:00
275984501f planner: Support assign DEFAULT in ON DUPLICATE KEY UPDATE statement (#13168) 2019-11-21 12:33:37 +08:00
a0ea49c342 expression : fix bug in insert select union select. (#13632) 2019-11-20 20:36:03 +08:00
889ad618cf planner: projection don't new unnecessary column (#13406) 2019-11-20 13:58:38 +08:00
380216ed20 planner: Fixup error when assign DEFAULT in `INSERT/UPDATE/R… (#13211) 2019-11-19 18:23:02 +08:00
1d4ac098db executor: getNewJoinResult after handling a task for orderd IndexHashJoin (#13451) 2019-11-19 14:59:53 +08:00
163132a5ca *: update the forUpdateTS for insert/replace into select statements (#13561) 2019-11-19 14:54:23 +08:00
ebed3d606c executor: pessimistic txn update forUpdateTS for concurrent insert (#13553) 2019-11-19 10:51:53 +08:00
ceee144692 executor: fix unstable fast analyze test (#13546) 2019-11-19 10:44:23 +08:00
ee1ac01282 planner, executor: fix wrong result in index merge join. (#13192) 2019-11-18 13:34:24 +08:00
39a6f7f4cc *: make transaction duration metrics more reasonable (#13444) 2019-11-15 19:17:36 +08:00
40c9f9c6e4 executor: fix a batch get executor bug inside a transaction (#13473)
When the BatchGetExec runs inside a transaction, it should consider the data changes
in the membuffer.
2019-11-15 16:55:05 +08:00
df1baca19f *: support adding/dropping the primary key by a configuration (#13229) 2019-11-15 01:10:51 +08:00
b5bb7fee67 table, executor: fix the data race of the partition table's hashcode (#13421) 2019-11-15 00:08:24 +08:00
2baaf1f048 planner: support hint for IndexHashJoin and IndexMergeJoin (#13238) 2019-11-13 21:21:04 +08:00
4283263b13 store : add store limit to restrain bad store from occupying too much token limit. (#12779) 2019-11-13 18:49:24 +08:00
aca3f47292 *: Refactoring reading logic of virtual generate column (#12407) 2019-11-13 17:39:53 +08:00
343bb640a0 bindinfo: support drop specific binding (#13245) 2019-11-13 12:32:24 +08:00
b84c5a73ad executor: implement the execution part of the outer hash join (#12882) 2019-11-12 17:48:30 +08:00
5886055b6b ddl: fix error code and error name (#13329) 2019-11-12 17:23:18 +08:00
5c521c8e43 executor: vectorized calculation the key for the group by items in hash aggregation (#12729) 2019-11-12 17:00:00 +08:00
4afbf001ea stats: fix merge cm sketch panic (#13391) 2019-11-12 16:44:59 +08:00
5bc709f13c executor: speed up TestEarlyClose (#13386) 2019-11-12 15:39:10 +08:00
59fedf27b9 executor: fix fast analyze unit test fail (#13367) 2019-11-12 13:57:58 +08:00
2dfaf55410 sysvars: error code package for sysvar.go (#13366) 2019-11-12 13:01:29 +08:00
dffc5152f2 planner: freeze the output order of UPDATE's select (#13166) 2019-11-11 23:09:21 +08:00
413643e25a planner: support point get by _tidb_rowid (#13360) 2019-11-11 19:37:29 +08:00
60bfdf5ba4 Revert "executor, util: rename original List to ListInMemory and add a new interface List (#13353)" (#13363)
This reverts commit 2b5f81add11497b5b5595b3ba16ac88cddf33a65.
2019-11-11 18:30:34 +08:00
2b5f81add1 executor, util: rename original List to ListInMemory and add a new interface List (#13353) 2019-11-11 15:50:43 +08:00
613373e78f planner: refactor the code of buildUpdate to solve some bugs (#13208) 2019-11-11 12:50:35 +08:00
cd7a053dbb ddl, executor: limit the length of the index name when executing "create table" (#13016) 2019-11-09 14:19:42 +08:00