Commit Graph

736 Commits

Author SHA1 Message Date
50b6da0f89 executor: add limit implementation for CTEExec (#24870) 2021-06-03 16:26:27 +08:00
dbb753fd02 executor: create PipelinedWindowExec (#23022) 2021-06-03 15:38:27 +08:00
0f151af7c5 *: add telemetry support for CTE (#25022) 2021-06-03 14:46:27 +08:00
f966a3d9fb executor: fix the wrong KVRange for partition tables in TableReader (#25047) 2021-06-02 17:30:43 +08:00
ccaefa2a3d executor: add CTEExec and CTETableReaderExec (#24809) 2021-06-01 11:59:37 +08:00
ac04473227 planner, executor: support batchget for range and list partition table (#24856) 2021-05-28 21:01:35 +08:00
0367c54698 inforschema, executor, util/kvcache, util/statement_summary : Add STATEMENTS_SUMMARY_EVICTED into information_schema (#24513) 2021-05-28 15:19:35 +08:00
f3557bb591 planner, executor: supports select statement with AS OF (#24613) 2021-05-27 21:11:35 +08:00
e87d035937 infoschema, executor, txn: implement DATA_LOCK_WAITS table (#24750) 2021-05-27 17:57:36 +08:00
66ad36ee10 planner, executor, statistics: support correlation calc for new sampling method (#24458) 2021-05-25 23:57:34 +08:00
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