|
|
bd06d239a2
|
tablecodec: support decode common handle bytes to strings (#18953)
* tablecodec: support decode common handle bytes to strings
* address comments
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-08-04 13:35:48 +08:00 |
|
|
|
d0639b0056
|
*: use the newly designed memdb (#18657)
* *: use the newly designed memdb
* address comments
* remove duplicated comments
Co-authored-by: Evan Zhou <coocood@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-08-03 20:51:05 +08:00 |
|
|
|
6088e58fa7
|
ddl: check the tiflash replica count when setting tiflash replica (#18826)
|
2020-08-03 15:10:47 +08:00 |
|
|
|
03003538d1
|
*: fix a lot of typos (#18917)
|
2020-08-03 11:03:33 +08:00 |
|
|
|
5f393fde7e
|
*: support user defined variable and SET clause in LOAD DATA statement (#18753)
|
2020-08-03 10:42:10 +08:00 |
|
|
|
2a8b968453
|
test: stabilize TestClusterIndexShowTableRegion (#18868)
|
2020-07-31 16:42:53 +08:00 |
|
|
|
a50fbab55d
|
sessionctx: Make it possible to set allow_auto_random_explicit_insert as global (#18896)
|
2020-07-31 16:23:14 +08:00 |
|
|
|
a63fa79d90
|
transaction: lazy check not exists error for pessimistic transaction (#18877)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-31 08:44:49 +08:00 |
|
|
|
4000174c8c
|
executor: fix batch point get return wrong result for in(null) (#18851)
* executor: fix batch point get return wrong result for in(null)
* fix CI
* address comment
Co-authored-by: crazycs <crazycs520@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: Evan Zhou <coocood@gmail.com>
|
2020-07-30 17:17:03 +08:00 |
|
|
|
5dd7cd8553
|
planner/core: implement Explain for the new partition table (#18834)
Co-authored-by: lysu <sulifx@gmail.com>
|
2020-07-30 15:37:02 +08:00 |
|
|
|
c397584065
|
executor: add runtime information for the batch-point-get executor (#18828)
|
2020-07-30 12:35:41 +08:00 |
|
|
|
1905ea0f55
|
executor: reduce log spam on pessimistic conflict (#18365)
Fixes #18255
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-30 11:27:03 +08:00 |
|
|
|
a1dc4381c5
|
planner,executor: implement PartitionTable executor for the three reader (#18823)
|
2020-07-30 11:00:55 +08:00 |
|
|
|
ccfc9b2ad0
|
executor: add foreign keys to SHOW CREATE TABLE (#18360)
This is backwards compatible with dumpers due to the way that TiDB handles foreign keys (set foreign_key_checks=0 behavior).
Co-authored-by: Nullnotnil <nullnotnil@ubuntu.lan>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-29 17:35:08 +08:00 |
|
|
|
98d58f31dd
|
executor: fix bug of stuck in query information_schema.columns (#18847)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
|
2020-07-29 12:29:22 +08:00 |
|
|
|
6ce8f0f56a
|
txn: support pessimistic transaction amend for specific ddls (#18447)
|
2020-07-29 11:35:31 +08:00 |
|
|
|
1e7454c81d
|
executor: batch point get support clustered index partition table. (#18829)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-28 21:34:09 +08:00 |
|
|
|
5973d144de
|
brie: add integration test for br (#18797)
* brie: add integration test for br
* update br dependency
* fix ci
* fix ci
* address comment
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-28 19:59:02 +08:00 |
|
|
|
2849e3b5b4
|
diagnose: refine config diagnose result (#18816)
|
2020-07-28 19:36:02 +08:00 |
|
|
|
ac581ee01e
|
planner: support plan cache for cluster index (#18716)
|
2020-07-28 14:39:48 +08:00 |
|
|
|
8b19d67bad
|
executor: add runtime information for point-get executor (#18666)
|
2020-07-28 14:20:36 +08:00 |
|
|
|
936b3007e3
|
store/tikv: fix BatchPointGetCache wrong result. (#18814)
|
2020-07-28 11:01:44 +08:00 |
|
|
|
56fd348d20
|
executor: support index merge on cluster index (#18699)
* executor: support index merge on cluster index
* fix fmt
* fix
* fix
* fix
* fix
* address comments
* address comments
* address comments
* fix
* fix
* fix
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-27 18:09:32 +08:00 |
|
|
|
f3554241bb
|
planner, executor: support except and intersect set operator (#18459)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-27 17:56:07 +08:00 |
|
|
|
f6ef1c371f
|
executor: implement parallel apply (#18044)
|
2020-07-27 17:49:28 +08:00 |
|
|
|
5f2df2eca8
|
executor: modify the default value of actRows to be 0 instead of empty(#18528) (#18800)
|
2020-07-27 17:37:36 +08:00 |
|
|
|
29178dfa8d
|
planner, executor: support broadcast join for tiflash engine. (#17232)
* support batch cop for tiflash
* support batch cop
* support join push down to tiflash
* refine
* change pb
* push join
* fix
* add hint
* refine hint
* add ranges
* fix
* fix
* fix push down
* fix index
* enable distsql for join
* add a session var to disable/enable broadcast join
* fix bug
* fix bug
* tiny fix
* enable cast decimal pushdown to tiflash
* fix
* fix bc join bug
* make broadcast plan stable
* refine code
* fix bug
* basic support for multi table broadcast join
* fix bug
* basic cbo for broadcast join
* improve
* fix bug
* remote useless code
* add tests
* pass unit tests
* refine code
* support execute summary info for broadcast join
* fix bug in explain for broadcast join
* format code
* remove un-needed code
* fix make dev
* address comments
* Hanfei/join merge (#7)
* enable exec details for batch cop
* format code
* fix test
* change tidb_opt_broadcast_join to global vars
* Ban cartesian join to be pushed down to TiFlash (#8)
* merge master (#10)
* merge master
* fix bug
* fix bug
* fix ut
* check session var conflict
* Add perfer local hint for broadcast join (#12)
* update
* remove useless code
* remove useless code
* update parser
* add test for prefer local join
* use bcj_local
* update go.mod
* refine planner
* refine comments
* fix make dev
* fix make dev
* update parser
* address comments
* fix make dev
* disable broadcast join when new collation is enabled
* Update planner/core/exhaust_physical_plans.go
Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com>
* address comments
* fix
* address comments
* fix tests
* address comments
Co-authored-by: xufei <xufeixw@mail.ustc.edu.cn>
Co-authored-by: xufei <xufei@pingcap.com>
Co-authored-by: 虎 <ichneumon.hu@foxmail.com>
Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com>
|
2020-07-27 12:41:36 +08:00 |
|
|
|
1fed1fb895
|
tests: remove incorrect use of FLUSH PRIVILEGES (#18361)
|
2020-07-24 23:25:14 +08:00 |
|
|
|
e80ba034f4
|
brie: set default config for backup and restore (#18768)
* brie: set default config for backup and restore
|
2020-07-24 17:16:31 +08:00 |
|
|
|
b642045ff2
|
charset: add utf8_unicode_ci and utf8mb4_unicode_ci interface (#18678)
* add unicode_ci interface
* fix build
* fix check
* fix test
* change comments
* add test
* Update util/collate/unicode_ci.go
Co-authored-by: djshow832 <zhangming@pingcap.com>
Co-authored-by: djshow832 <zhangming@pingcap.com>
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
Co-authored-by: djshow832 <873581766@qq.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-24 17:16:03 +08:00 |
|
|
|
baf6c99b95
|
*: fix a bug causes indexed virtual generated column return wrong value and refine admin check table (#18408)
|
2020-07-24 12:59:47 +08:00 |
|
|
|
9995ad7451
|
brie: add default backup gc-ttl to 5m (#18750)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-24 10:12:17 +08:00 |
|
|
|
820f2cd939
|
executor: fix the key representation of 'show table regions' (#18721)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-24 08:54:02 +08:00 |
|
|
|
0b035c850a
|
util: oom-action waits spilling result when acting again (#18381)
|
2020-07-23 14:08:20 +08:00 |
|
|
|
bead251b8b
|
try to make TestSplitRegion stable (#18688)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
|
2020-07-21 22:33:20 +08:00 |
|
|
|
168fcbb54f
|
executor: make test stable (#18497)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
|
2020-07-21 16:26:17 +08:00 |
|
|
|
847a3b73dc
|
planner: don't put the handle column twice into the index column (#18565)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-21 15:38:50 +08:00 |
|
|
|
af685f511f
|
Revert "coprocessor: Exceed action for copiterator (#17324)" (#18706)
|
2020-07-21 15:21:20 +08:00 |
|
|
|
8e4575eb21
|
executor: 'select * from information_schema.tables' fail after setting @@tidb_snapshot (#18676)
|
2020-07-20 22:41:39 +08:00 |
|
|
|
2d54bfa16a
|
executor: make test TestForServersInfo stable (#18633)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
|
2020-07-20 19:52:11 +08:00 |
|
|
|
ace80c7411
|
planner: apply min-max eliminator on common handle columns (#18589)
* planner: apply min-max eliminator on common handle columns
* reuse AccessPath.IsTablePath()
* planner: apply min-max eliminator on common handle columns
* address comments
* address comment
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-17 18:01:47 +08:00 |
|
|
|
88bddc961d
|
executor: fix wrong result for keep desc order in index merge join (#18637)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-16 19:45:09 +08:00 |
|
|
|
f0e5876353
|
util/execdetails: refactor execdetails information of runtime collect (#18530)
|
2020-07-15 20:05:29 +08:00 |
|
|
|
c2b56e96c8
|
executor: return error from indexHashJoin worker to main thread (#18573)
|
2020-07-15 16:41:24 +08:00 |
|
|
|
297acf7e82
|
log: add tidb_log_desensitization global variable to control whether do desensitization when log query (#18578)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
|
2020-07-15 15:44:56 +08:00 |
|
|
|
761a961ba0
|
kv: refactor MemBuffer and reduce the memory usage (#18372)
|
2020-07-15 15:26:25 +08:00 |
|
|
|
b12f94b967
|
executor: fix mislead inconsistent log after Context.Cancel (#18537)
|
2020-07-14 20:21:41 +08:00 |
|
|
|
a6971dd685
|
*: support 'admin check table' on clustered index table (#18346)
|
2020-07-14 15:59:37 +08:00 |
|
|
|
b193db8b49
|
planner: ban tiflash engine when the statement is not read only (#18458)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-14 11:43:48 +08:00 |
|
|
|
9d536c426d
|
*: add HTTP API to generate TiDB metric profile (#18272)
|
2020-07-14 11:10:47 +08:00 |
|