Commit Graph

3688 Commits

Author SHA1 Message Date
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
fe250b9efb planner: fine grained collation control for mpp plan (#23584) 2021-03-26 18:31:23 +08:00
b11c71d23e MPP: fix 2-phase agg chose wrong partition column during planning (#23557) 2021-03-26 17:49:23 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
82bfdcab37 executor: fix update panic on join having statement (#23554) 2021-03-26 12:47:24 +08:00
a909037110 planner/core: inject project for tiflash agg (#23480) 2021-03-26 12:31:23 +08:00
40b92181d0 planner/core: convert decimal type for mpp join before shuffling. (#23191)
* planner: convert decimal type for mpp join before shuffling.

* fix bug and add code

* add some comments

* fix typo

* fix test

* add test and fix

* address comments

* add more tests

* address comments

* address comments

* address comments

* address comments

* add tests

* refine test

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-03-26 00:16:58 +08:00
a90e4f2b29 telemetry: fix prepare stmt and copr cache (#23526) 2021-03-25 16:15:15 +08:00
78fc47c9a2 collation: hide pinyin collation in show collation (#23521) 2021-03-25 15:09:24 +08:00
a51d20027f executor: fix batchGet/PointGet overflow result in clustered index (#23516) 2021-03-25 14:43:23 +08:00
5715eefd2b *: Add the metric about the SQL with TiFlash Success (#23426) 2021-03-24 22:15:37 +08:00
35eded065e *: fix structcheck lint warnings (#23062) 2021-03-24 21:09:37 +08:00
b1b375e7ef statistics: fix some unstable tests in global stats (#23502) 2021-03-24 16:11:37 +08:00
1cebae21a7 planner, sessionctx: turn on the mpp by default (#23401) 2021-03-23 21:01:37 +08:00
42be9a4a8d planner: fix plan cache not working caused by type difference (#23175) 2021-03-22 20:29:36 +08:00
efe172b0e0 store/tikv:move option from kv to tikv, and make define as a normal int (#23171) 2021-03-22 20:13:36 +08:00
9f465d788e planner: incorrect results returned when executing a prepared point-get update meets nondeterministic function. (#22067) (#23455) 2021-03-22 19:57:37 +08:00
b1c8ede13f *: hide index-usage-sync-lease config (#23349) 2021-03-22 18:47:36 +08:00