Commit Graph

707 Commits

Author SHA1 Message Date
cd5b91fa03 executor, planner: fix collation for hash join building (#23770) 2021-04-01 21:48:10 +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
67874c579a executor: fix a panic when batch point get is used for partition table (#23652) 2021-03-30 17:25:24 +08:00
961cd66393 executor,planner: fix update join update unmatched outer row (#23491) 2021-03-26 19:43:23 +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
c4f398948c *: add infoschema client errors (#22382) 2021-03-11 19:06:55 +08:00
168ef8878d statistics: test the auto analyze and feedback for the global-level stats (#23181) 2021-03-10 19:36:55 +08:00
b3d4458b28 planner: refine explain info for batch cop (#20360) 2021-03-08 15:30:54 +08:00
bafa0cc49d planner/core: let mpp support partition tables (#22662) 2021-03-04 20:56:54 +08:00
a64d8860f1 statistics: forbid global-stats in stats-ver1 and make analyze options take effect in global-stats (#23050) 2021-03-03 11:58:54 +08:00
8230f4162b *: optimize analyze cluster index table (#21381) 2021-03-01 22:14:54 +08:00
6bd6df7d1e planner: let tikv know primary prefix columns info (#22829) 2021-03-01 16:20:54 +08:00
8357f809ff *: remove some useless codes and do tiny update (#22972) 2021-02-26 19:14:53 +08:00
35534ae752 *: apply golangci-lint to the new code (#22824) 2021-02-24 18:24:03 +08:00
8ddaf03db1 executor: fix load data losing connection when batch_dml_size is set (#22724) 2021-02-05 10:51:42 +08:00
343c412531 planner, executor, statistics: add tests for version 2 and fix bugs (#22461)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-02-04 15:52:30 +08:00
44641c3282 planner: change the content of AnalyzeTableID to build global-stats (#22554) 2021-02-02 15:39:44 +08:00
843e03996b *: do not report error for prepared stmt execution if tidb_snapshot is set (#22568) 2021-02-01 14:44:17 +08:00
cd390bdfab executor: skip null data in common handle during point-get (#22483) 2021-01-22 14:07:02 +08:00
c7165bc518 executor, planner: ON DUPLICATE UPDATE can refer to un-project col (#14412)
Co-authored-by: Kenan Yao <cauchy1992@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-01-06 19:03:51 +08:00
536dfdfe2f executor: always decode the value first and then the handle (#22073) 2021-01-04 16:37:15 +08:00
5e67a597cc planner, store/tikv, executor:Support shuffled hash join and refine codes (#20894) 2020-12-28 15:14:15 +08:00
092a01a0a4 statistics, executor: refactor statistics on columns (#21817) 2020-12-24 13:56:30 +08:00
9ef7246d29 executor: fix data race in extractTxnScope (#21929) 2020-12-23 15:34:30 +08:00
ce5ce53fa9 ddl, distsql: Support forbiding cross txnScope query all *Reader Executor (#21650) 2020-12-21 15:30:30 +08:00
d878fe193b executor: introduce new variables to control Apply's behaviors and add more tests for it (#20844) 2020-12-15 14:31:25 +08:00
f5a3a38bfe *: fix bug that broadcast join/MPP not compatible with clustered index (#21663) 2020-12-15 11:42:55 +08:00
b4eee287af *: extract topn out of histogram correctly (#21007)
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
2020-12-10 17:05:39 +08:00
39d8fcc71b executor: fix value swapping and multi-updates in UPDATE statement (#20493) 2020-12-10 15:48:02 +08:00
c218c58218 *: support select from tablesample (#20883) 2020-12-03 16:46:18 +08:00
0c0e29d363 executor, planner: add partitionRangeSplitter for shuffle (#21306) 2020-11-29 16:39:16 +08:00
f9cd7ed69d planner, executor: parallelize stream aggregation with shuffle. (#21095) 2020-11-25 15:37:51 +08:00
d12eb1b174 executor: Fix IndexMergeReader works incorrectly under RC isolation level (#21208)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2020-11-24 17:39:54 +08:00
115c7f88e8 executor: set the inner join keys' field length to unspecified (#21233) 2020-11-24 17:00:53 +08:00
ceddc106f0 executor,planner/core,util/plancodec: extend executor.ShuffleExec and planner.core.PhysicalShuffle to support multiple data sources (#20942) 2020-11-24 10:59:03 +08:00
41786cb976 *: seperate hash keys from join keys in IndexJoin (#20761) 2020-11-16 16:24:51 +08:00
4e1cbca5c2 executor: fix panic when set partition handle for index join (#20551) 2020-11-05 14:21:35 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
9660283d2d infoschema: Provide a system table to query placement rules (#20616) 2020-10-27 14:35:38 +08:00
0d613a2dfa [executor, store/tikv]: implement a prototype for MPP framework. (#19954) 2020-10-26 14:46:47 +08:00
5738191a23 *: clean some stuff related to dirtyTable (#20554)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-10-21 12:19:26 +08:00
4501f6d7ab planner, executor: enable inline projection for Limit (#20288) 2020-10-19 10:55:13 +08:00
50f5ddc70e executor,distsql: support multiple physical tables in one table reader (#20404) 2020-10-14 20:05:26 +08:00
dcefa58035 *: use global stats & make ddl/feedback/show/export works(part III) (#20271) 2020-10-14 16:11:33 +08:00
170e2fec92 *: collect multiple partitions and store in tidb (part II) (#19899) 2020-09-29 21:25:56 +08:00
132d9817d7 executor: support partition pruning for IndexJoin inner table (#19990) 2020-09-29 11:08:53 +08:00
0b7c7167d1 planner,executor: support global index for IndexScan and IndexLookUpReader (#19821) 2020-09-24 20:50:28 +08:00
640cb42f54 executor: do not reorder handles when building requests for IndexMergeJoin (#20138) 2020-09-22 15:11:59 +08:00
2a3a5ab076 *: disable new partition prune in master distribution (#19911) 2020-09-14 16:26:54 +08:00