Commit Graph

726 Commits

Author SHA1 Message Date
98f0d76bc7 *: clean up the deserted syntax of START TRANSACTION READ ONLY (#24813) 2021-05-25 14:25:33 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
6bfc5f8b44 *: support AS OF TIMESTAMP read-only begin statement (#24740) 2021-05-20 20:54:22 +08:00
3904ca3e4e infoschema, executor: Add the deadlock table (#24524) 2021-05-20 00:21:42 +08:00
09e95b9028 planner: fix wrong column offsets when processing dynamic pruning for IndexJoin (#24659) 2021-05-17 11:51:39 +08:00
b1d134d7d9 txn: Add txn state's view (#22908) 2021-05-12 19:25:40 +08:00
xhe
5e9e0e6e37 *: consitent get infoschema (#24230) 2021-05-10 21:00:36 +08:00
cb74578c11 executor: solve the compatibility problem between UnionScan and partition tables and remove all code about PartitionTableExec (#24394) 2021-05-06 16:49:52 +08:00
18d519f056 stats, executor: use a correct sampling to collect stats (#23997) 2021-05-02 23:11:51 +08:00
c347c6ced8 executor: Use TableReader directly when accessing TiFlash partition table instead of using PartitionTableExec (#24344) 2021-04-28 17:43:57 +08:00
5c83f0b518 executor: make IndexLookUps in the inner side of IndexJoins support direct reading (#24261) 2021-04-27 17:43:57 +08:00
e5806410e7 executor: make IndexReaders in the inner side of IndexJoins support direct reading (#24260) 2021-04-27 16:03:56 +08:00
d67beefb7b executor: make IndexMergeReader support reading partition table directly (#24239) 2021-04-27 11:31:56 +08:00
bd2553734b expression: support enum pushdown (#22686) 2021-04-26 18:51:56 +08:00
24d93db762 execution: make IndexLookUpReader support reading partition table directly (#24197) 2021-04-24 17:53:54 +08:00
d339eb15eb planner: generate BatchPointGet for hash table partitions (#23733) 2021-04-13 15:09:51 +08:00
xhe
2ea64b28fd executor,distsql: clean up useless interface (#23885) 2021-04-09 21:30:33 +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
3a1dd7a665 statistics: collect FMSketch when processing index analyze tasks (#23838) 2021-04-09 15:40:18 +08:00
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