Commit Graph

82 Commits

Author SHA1 Message Date
c4d8ed1192 planner: add test cases for keep_order and no_keep_order hints (#40321)
ref pingcap/tidb#39964
2023-01-10 15:00:22 +08:00
b912237ac7 planner: support keep_order and no_keep_order hint (#40089)
ref pingcap/tidb#39964
2023-01-09 21:42:22 +08:00
331f69f52d planner,infoschema,executor: Add tiflash fine grained shuffle support for hash join and aggregation (#40121)
close pingcap/tidb#40123
2023-01-06 09:24:20 +08:00
8a5ccd87d7 planner: support the view hint(part-2) (#39280)
ref pingcap/tidb#37887
2022-11-29 19:50:00 +08:00
c39506486a planner: add more test cases for view hint (#39126)
ref pingcap/tidb#37887
2022-11-15 14:13:54 +08:00
a8f56ee851 planner: support the view hint (#38653)
close pingcap/tidb#37887
2022-11-14 12:01:54 +08:00
d323b8d3ae planner: update some UTs to cost model2 (#38893)
ref pingcap/tidb#35240
2022-11-05 10:58:00 +08:00
fb8979697e planner: update some UTs to use cost model2 (#38875)
ref pingcap/tidb#35240
2022-11-04 11:58:00 +08:00
e245b84c44 planner: Add HashJoin<-Receiver specific physicalPlan column pruner (#38536)
close pingcap/tidb#38511
2022-11-02 09:57:59 +08:00
95d177a316 planner: add more tests for pushing IsNull to prefix index (#38697)
ref pingcap/tidb#21145
2022-10-28 11:27:57 +08:00
64051f99cf planner: avoid double scan for index prefix col is (not) null (#38555)
ref pingcap/tidb#21145
2022-10-24 18:59:56 +08:00
1659c3ea48 planner, util/ranger: restrict mem usage for index join inner ranges (#38129)
ref pingcap/tidb#37176
2022-09-30 21:15:45 +08:00
886c654e1c planner: refine index join range display for clustered index (#38259)
close pingcap/tidb#38258
2022-09-30 16:23:45 +08:00
6a856a3e64 planner: add more test cases for hash_join_build and hash_join_probe hints (#37796)
ref pingcap/tidb#35439
2022-09-16 10:10:59 +08:00
daf546f5e7 planner: fix index merge hint case sensitive (#37534)
close pingcap/tidb#37273
2022-09-02 11:36:24 +08:00
6a6fa8a882 ddl: Add sql_require_primary_key sysvar (#36146)
close pingcap/tidb#28544
2022-08-03 17:20:06 +08:00
d90cee5002 planner: push down top selection to TiFlash (#36256)
close pingcap/tidb#34192
2022-07-19 09:57:07 +08:00
8af8341cca planner: Table scan in TiFlash not keep order (#36232)
close pingcap/tidb#36231
2022-07-19 00:51:07 +08:00
b4cd14d713 planner: use SEMI_JOIN_REWRITE hint to rewrite the semi join (#35325)
close pingcap/tidb#35323
2022-07-14 15:49:05 +08:00
cdde0398fe sessionctx,kv,planner: add system variable for fine_grained_shuffle (#35256)
close pingcap/tidb#35342
2022-07-06 10:27:02 +08:00
7567f0772d planner: fix limit in exists subquery will make TiDB plan not optimal (#35476)
close pingcap/tidb#34969
2022-06-30 10:50:38 +08:00
99b871e20d planner: add projection pushdown (#27029)
close pingcap/tidb#26242
2022-04-22 11:06:05 +08:00
3393cf96a3 *: support mpp partition for tiflash (#31043)
close pingcap/tidb#32347
2022-03-15 18:35:52 +08:00
41c1cc98b0 planner: fix stream agg pushed down to mpp plan unexpectedly (#32752)
close pingcap/tidb#32632
2022-03-03 20:59:46 +08:00
a11ece9f88 planner/core: migrate test-infra to testify for integration_test.go (#32560)
Signed-off-by: tison <wander4096@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-02-24 00:00:19 +08:00
c4d4b798c7 planner: fix unable to push down agg to tiflash when tidb_isolation_read_engines is set (#32336)
close pingcap/tidb#31240
2022-02-16 20:41:39 +08:00
9b9a300485 expression: support lpad/rpad pushdown to tiflash (#31099)
* expression: support lpad/rpad pushdown to tiflash

Signed-off-by: guo-shaoge <shaoge1994@163.com>
2021-12-30 23:33:34 +08:00
dc9e75e009 executor: fix bug when correlated column is used in IndexMergeReader (#30982)
close pingcap/tidb#30913
2021-12-28 14:45:49 +08:00
afca7649fa planner: refine prefer-range-scan behavior (#27123) 2021-09-02 12:06:14 +08:00
8dcebd1239 planner, expression: avoid exprs with side effects in column pruning and agg pushdown (#27370) 2021-08-27 16:46:05 +08:00
9e248d9420 planner: correctly set StatsVersion of tablePlan in copTask (#27161) 2021-08-25 18:06:04 +08:00
0b6b13500d planner: add test for heuristic index selection (#26917) 2021-08-11 20:37:16 +08:00
312ec6cf47 planner: output skyline pruning information when executing EXPLAIN (#26748) 2021-08-06 19:57:14 +08:00
bc625e9379 planner: add heuristic rules for index selection (#26304) 2021-08-04 20:09:07 +08:00
7f2843803a planner: improve skyline pruning (#26271) 2021-08-02 14:17:06 +08:00
cea06b3d49 planner: fix wrong aggregate pruning for some cases (#25289) 2021-06-16 14:12:37 +08:00
ad7102cdee planner: generate correct number of rows when all agg funcs are pruned (#24937) 2021-06-02 18:20:26 +08:00
f79dc8b218 executor: pessimistic lock on the temporary table should not be written to TiKV (#24737) 2021-05-26 12:41:34 +08:00
e7db533810 planner: ignore lock for temporary table of PointGet and BatchPointGet (#24540) 2021-05-12 19:49:40 +08:00
1cd3788334 planner: convert Sequence as DataSource to TableDual (#24405) 2021-05-06 13:35:52 +08:00
257ce7d93d planner: filter conflict read_from_storage hints (#24313) 2021-04-29 14:51:57 +08:00
6f4d8a32eb planner: Fix Join reorder occurs "index out of range" error (#24102) 2021-04-21 20:19:54 +08:00
653953f675 planner: build correct MaxOneRow info from multi-column conditions (#22915) 2021-04-01 18:33:24 +08:00
50aec2b2d2 planner: enable column pruning for common handle (#22940) 2021-03-04 14:42:54 +08:00
2d48f9573c planner: decorrelate LogicalApply with inner join as the inner child (#22649) 2021-02-24 15:42:03 +08:00
04e5137f48 *: use explain format = 'brief' for tests (#22677) 2021-02-22 17:50:06 +08:00
dd5bfc3949 planner: reorder inner joins simplified from outer joins (#22392) 2021-01-15 11:57:29 +08:00
4bfd10cec8 planner: do not use indexMerge when the path only use a single index (#22168) 2021-01-05 20:44:41 +08:00
f1805f3dee planner: avoid using index_merge when there are multiple table filters (#22122) 2020-12-31 13:39:49 +08:00
cf806f60e4 util/ranger: convert range condition like x >= 2 and x <= 2 to point condition x = 2 (#21809) 2020-12-22 14:07:54 +08:00