f30108d88c
executor, expression: fix the incorrect result of AVG function ( #23285 )
2021-03-17 13:42:55 +08:00
9c48b24cb1
*: add clustered index info in show index from stmt ( #23329 )
2021-03-16 20:16:55 +08:00
5bafb3203e
planner: show cast type in EXPLAIN in coptask ( #23123 )
2021-03-16 16:16:55 +08:00
3641cd4fe0
executor: fix split table with large integers ( #21277 )
2021-03-15 16:18:56 +08:00
b534ec7b49
store/tikv: remove kv.Version from package store/tikv ( #23282 )
2021-03-13 10:38:55 +08:00
cd199b23aa
planner: not push down mpp/join to TiFlash in some cases that TiFlash not supported the query ( #23259 )
2021-03-12 21:34:55 +08:00
0b68d8a0f0
test: work around goroutine leak ( #23288 )
2021-03-12 19:24:55 +08:00
f77bbc4cb2
planner/core: pass the elems info to fieldtype only for exchanger ( #23203 )
...
* planner/core: pass the elems info to fieldtype only for exchange receiver.
* address comments
* address comments
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-03-12 18:50:53 +08:00
035c15f7da
*: rename tiflash fallback switch ( #22886 )
...
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-03-12 18:21:48 +08:00
1d99292455
*: hide the system variables tidb_track_aggregate_memory_usage ( #23184 )
2021-03-12 17:59:21 +08:00
6b69883410
MPP: Kill mpp queries ( #23056 )
...
* run ok
* update comments
* send cancle cmd to all tiflash stores
* updated
* log error if sending failed
* update comments
* disable send task when being killed
* update function name
* add test for kill mpp when mocking grpc hang
* update imports
* update comments
* clean go.mod
* updated
* use cancel to avoid goroutine leak, ensure cancellMppTasks being called just once
* update go.mod
* add test for avoiding goroutine leak
* update test
* update test
* remove unnecessary leak test
2021-03-12 17:27:30 +08:00
1e2f1c0b9d
statistics: add tests for global-stats when add and delete a single partition ( #23256 )
2021-03-12 15:44:20 +08:00
30da0a1d09
Revert "executor: open childExec during execution for UnionExec ( #21561 ) ( #23276 )
2021-03-12 14:59:30 +08:00
22ff880fee
planner: fix analyze clustered index table can't trigger index primary ( #23254 )
2021-03-12 07:45:35 +08:00
c4f398948c
*: add infoschema client errors ( #22382 )
2021-03-11 19:06:55 +08:00
b298b86ba1
executor: group_concat aggr panic when session.group_concat_max_len is small ( #23131 )
2021-03-11 15:30:55 +08:00
c1b8347425
statistics: add a test case which builds global-stats on different versions of partition-stats ( #23231 )
2021-03-11 14:14:58 +08:00
168ef8878d
statistics: test the auto analyze and feedback for the global-level stats ( #23181 )
2021-03-10 19:36:55 +08:00
c22cbc0d10
executor: truncate column values from index KV during admin check ( #23218 )
2021-03-10 18:35:40 +08:00
f6a61bc915
plan/core: support mpp group by expressions. ( #23133 )
...
* planner/core: make mpp support grouping by expressions
* add tests
* fix typo
* fix
* fix test
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-03-10 17:06:15 +08:00
f8da635f5a
*: refactor and fix the usages of DecodeIndexKV for clustered index ( #23096 )
2021-03-10 16:46:55 +08:00
610ac87e0b
config: deprecate tikv-client.copr-cache.enable and invisible some copr-cache configs ( #22786 )
2021-03-10 15:37:51 +08:00
c382b9b01e
executor: hash join out of index panic when enum column value is zero ( #23162 )
2021-03-10 12:18:54 +08:00
bdfcaf883e
executor: skip lock key if lock key is empty ( #23188 )
2021-03-09 22:46:54 +08:00
284da110b2
executor: fix cast function will ignore tht error for point-get key construction ( #22869 )
2021-03-09 18:14:55 +08:00
5720831962
parser: update parser to fix sql restore bug used in create view ( #22974 )
2021-03-09 17:28:55 +08:00
b8f6ac0dd3
*: fix wrong replace or insert-on-dup behavior on prefixed clustered index ( #23091 )
2021-03-09 16:54:55 +08:00
83e70f74f0
executor: inject random panic to AggExec ( #23139 )
2021-03-09 16:38:55 +08:00
aa82a038f1
types: fix the bug about the wrong query result for decimal type ( #22507 )
2021-03-09 15:54:55 +08:00
7c552f52fa
executor: track memory usage of map in agg partial result. ( #23072 )
2021-03-09 12:44:55 +08:00
b3d4458b28
planner: refine explain info for batch cop ( #20360 )
2021-03-08 15:30:54 +08:00
3750320899
executor: add close recordSet in executor ( #22714 )
2021-03-07 17:54:55 +08:00
280d07c4a0
sessionctx, executor: make the upper limit of tidb_ddl_reorg_worker_cnt work ( #23064 )
2021-03-05 18:58:55 +08:00
29908c67e7
store, executor: support stale read for tikv RPCContext ( #22176 )
2021-03-05 18:12:55 +08:00
8ae01abfd9
ddl, executor: fix creating unique index without partition column error when enable-global-index is true ( #22471 )
2021-03-05 16:10:54 +08:00
505955ad0b
planner: fix bug of mpp wrongly set schema of exchanger ( #22845 )
...
* planner: fix bug of mpp wrongly set schema of exchanger
* support outer join in mock engine
* add unit test
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-03-05 15:54:52 +08:00
a1712a037f
statistics: add more test cases about global-stats and fix some issues ( #23099 )
2021-03-05 14:34:31 +08:00
f33d02bdbf
statistics: forbid getting global-stats through fast analyze and incremental analyze ( #23066 )
2021-03-05 11:24:54 +08:00
bafa0cc49d
planner/core: let mpp support partition tables ( #22662 )
2021-03-04 20:56:54 +08:00
5f73c822ca
kv/union_store:remove tableinfo from union_store ( #22976 )
...
Co-authored-by: disksing <i@disksing.com >
2021-03-04 16:30:42 +08:00
db62e341fd
executor: fix wrong key range of index scan when filter is comparing year column with NULL ( #23079 )
2021-03-04 16:04:54 +08:00
51e561187c
executor: fix correlated column range in table reader for the clustered index table ( #23087 )
2021-03-04 15:34:54 +08:00
9768e45476
session: add a test case for issue 19127 ( #21010 )
2021-03-04 11:50:54 +08:00
8761adc59f
executor: make the memory tracker of Jsonobjectagg more accurate ( #23024 )
2021-03-04 11:34:54 +08:00
bee6d37c8b
executor: make the memory tracker of groupConcat more accurate. ( #23034 )
2021-03-04 10:50:54 +08:00
b5a9076aea
*: new secondary index value format ( #20220 )
2021-03-03 21:16:54 +08:00
93c1779f2d
*: support show stats_extended to inspect extended stats cache ( #23052 )
2021-03-03 20:06:58 +08:00
b81e547e66
executor: fix err check ( #22991 )
2021-03-03 19:26:56 +08:00
3f7a573caa
planner: fix range partition prune bug for IN expr ( #22894 ) ( #22938 )
2021-03-03 16:22:55 +08:00
d3fe2187a9
statistics: introduce a new kind of syntax to drop global-stats ( #23061 )
2021-03-03 14:50:54 +08:00