Commit Graph

3705 Commits

Author SHA1 Message Date
202bc19de0 *: add TableSample ID for PhysicalIDToTypeString() (#23718) 2021-04-14 21:27:51 +08:00
a9a5795759 types: fix type merge about bit type (#23857) 2021-04-14 19:51:51 +08:00
d460a9c49a *: add column End_time in show analyze status and add related log (#23674) 2021-04-14 18:31:51 +08:00
7d1a6a373d executor: fix logging format of prepared statements (#16062) (#22984) 2021-04-14 16:59:52 +08:00
46aca1ad0c session, executor: skip some frequent unstable test cases (#24003) 2021-04-14 15:39:52 +08:00
04c334ba56 executor: Improve max/min window function with deque-based sliding window (#22628) 2021-04-14 13:11:52 +08:00
d339eb15eb planner: generate BatchPointGet for hash table partitions (#23733) 2021-04-13 15:09:51 +08:00
1e2cbf9a22 store/tikv: use []byte instead of kv.Key in package store/tikv (#23859) 2021-04-13 12:39:52 +08:00
34b78579c7 executor: skip ignore check for not update indexes (#23894) 2021-04-12 21:21:51 +08:00
dbd5a3622a executor: fix show table status for the database with upper-cased name (#23896) 2021-04-12 16:02:36 +08:00
dbd31ad044 statistics: make the global-level topN more accurate (#23862) 2021-04-12 12:06:34 +08:00
72ebeddfa4 store/tikv: move BufferBatchGetter from tidb/kv to tikv/unionstore (#23871)
Co-authored-by: disksing <i@disksing.com>
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-04-12 10:58:22 +08:00
xhe
2ea64b28fd executor,distsql: clean up useless interface (#23885) 2021-04-09 21:30:33 +08:00
69675ead57 store/tikv: move CommitDetails and LockDetails to tikv/util (#23854)
Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-04-09 20:56:24 +08:00
9bbda60198 planner, sessionvar: avoid sending same task id to TiFlash (#23747)
Co-authored-by: Zhuhe Fang <fzhedu@gmail.com>
2021-04-09 20:22:18 +08:00
e1a59b8545 executor: remove duplicate entry in show privileges (#23738) 2021-04-09 19:26:33 +08:00
3a1dd7a665 statistics: collect FMSketch when processing index analyze tasks (#23838) 2021-04-09 15:40:18 +08:00
759a77c447 executor: do not show extended stats for dropped columns (#23828) 2021-04-07 16:40:33 +08:00
7cf12a68ac *: add test for modifying default length of cast as decimal (#23680) 2021-04-07 13:24:31 +08:00
f97496d0fc expression: Implementation of Vitess hashing algorithm. (#23493) 2021-04-06 23:00:32 +08:00
0402268a16 store, kv: Add information about async commit/1pc to tidb_last_txn_info (#23833) 2021-04-06 16:30:31 +08:00
85da7b36c8 planner: fix partition selection of point plan for the update statement (#23764) 2021-04-02 18:17:25 +08:00
096281ec2f executor: fix 2nd index dup check after insert ignore on dup update primary (#23814) 2021-04-02 14:05:24 +08:00
fd7a331f03 statistics: feedback not panic when no ndv collected (#23808) 2021-04-02 11:45:24 +08:00
01b05745d8 execdetails: refine cop task execution stats display in plan (#23461) 2021-04-01 22:05:24 +08:00
cd5b91fa03 executor, planner: fix collation for hash join building (#23770) 2021-04-01 21:48:10 +08:00
c2cb344c34 store/tikv: avoid placement dependency (#23767)
Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-04-01 19:02:28 +08:00
19919e3f3c tests: make TestIndexLookupMergeJoinHang and TestIssue18068 stable (#23741) 2021-04-01 14:25:24 +08:00
2e30ac3d7d executor: add a test case for batch point queries on table partitions (#23746) 2021-04-01 11:36:51 +08:00
9dfc786c4c *: fix a bug that wrong index data on prefixed clustered index (#23742) 2021-04-01 10:15:27 +08:00
5dab3f95bf executor: fix 'index out of range' issue in index lookup join (#23755) 2021-04-01 04:31:24 +08:00
d0291c802a executor: fix batchget overflow lock panic (#23774) 2021-04-01 03:33:24 +08:00
90d02b2eed *: add support for dynamic privileges (#22778) 2021-04-01 00:17:24 +08:00
51bf619051 planner: fix set not null flag for outer join (#23727) 2021-03-31 19:33:24 +08:00
c660cee89b planner/core: fix a bug during add cast for decimal join key (#23723) 2021-03-31 17:54:26 +08:00
7d7a2337d9 ddl: forbid type conversion between varchar and non-varchar (#23688) 2021-03-31 16:03:24 +08:00
3cf2bf9120 session: add session scope for tidb_enable_clustered_index (#23704) 2021-03-30 23:31:24 +08:00
c32895f667 expression: fix approx_percent panic on bit column (#23687) 2021-03-30 20:17:24 +08:00
f6e13b691f executor: fix point/batch on old row format clustered primary key with prefix columns (#23668) 2021-03-30 20:01:24 +08:00
135fad0714 executor: fix index join on prefix column index (#23678) 2021-03-30 18:31:24 +08:00
67874c579a executor: fix a panic when batch point get is used for partition table (#23652) 2021-03-30 17:25:24 +08:00
2a57ec7cc5 executor: make mds.randDatum return different float type for mysql.Float and mysql.Double (#23645) 2021-03-30 16:29:24 +08:00
f9708e6043 *: collect transaction write duration/throughput metrics for SLI/SLO (#23462) 2021-03-30 11:19:24 +08:00
f08e76cb1c store/tikv/kv:move tikv/error.go to tikv/kv/error.go (#23627) 2021-03-30 11:03:23 +08:00
e63aaac1f9 store/tikv: move failpoint.go from tikv to tikv/util (#23632) 2021-03-29 18:45:24 +08:00
76d48c1fec executor, server: load_data.go is changed and add unit test (#23201) 2021-03-29 15:45:24 +08:00
1e3921aff5 chore: Refactor code quality issues (#23445) 2021-03-27 15:51:23 +08:00
8492619a83 store, plan: make mpp workable when some node is not available shortly. (#23589)
* store: provide an option to enable tiflash replica balance

* change timeout error

* fix non-table test

* add comments

* fix dev

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-03-26 21:27:49 +08:00
6cdfaab99f planner: fix correlated columns in filter or access in MPP apply (#23509) 2021-03-26 20:21:24 +08:00
961cd66393 executor,planner: fix update join update unmatched outer row (#23491) 2021-03-26 19:43:23 +08:00