Commit Graph

446 Commits

Author SHA1 Message Date
17df596863 planner: prepared plan cache support cached plan with placeholder in limit clause (#40196)
ref pingcap/tidb#40219
2023-01-17 12:51:49 +08:00
fbc38f8b7f planner: correctly handle expression.ScalarFunction in the buildSemiJoinForSetOperator (#40390)
close pingcap/tidb#40279
2023-01-12 19:07:52 +08:00
e2a14ce0f2 planner: unify the behavior of prepare/execute limit to mysql (#40360)
ref pingcap/tidb#40219
2023-01-10 11:14:23 +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
362defb112 planner: add nil check when handling empty charset in setUnionFlen (#40429)
close pingcap/tidb#40285
2023-01-09 21:10:22 +08:00
4a8006cad2 planner: fix panic during starting tidb-server if creating global binding for partition table (#40402)
* fix

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-09 13:18:27 +08:00
d3b952a49a executor: write multi-valued index (#40172)
close pingcap/tidb#40207
2022-12-30 13:38:17 +08:00
f9af75f2ae planner: support converting json_member_of to IndexMerge to access MVIndex (#40175)
ref pingcap/tidb#40191
2022-12-28 16:42:16 +08:00
4c04abce79 *: support disaggregated tiflash (#33535)
close pingcap/tidb#34707
2022-12-09 00:44:04 +08:00
35319e8f2a planner: forbid [batch] point get with update read choose tiflash as datasource (#39553)
close pingcap/tidb#39543
2022-12-06 00:14:03 +08:00
6b4739f170 planner: change the stage of count star rewriter rule from logical to post (#39555)
close pingcap/tidb#37165
2022-12-02 12:20:00 +08:00
8a5ccd87d7 planner: support the view hint(part-2) (#39280)
ref pingcap/tidb#37887
2022-11-29 19:50:00 +08:00
37bd052ee5 planner: rewrite count star to count not null column (#39197)
close pingcap/tidb#37165
2022-11-28 23:57:59 +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
38e9aa02ef *: support foreign key on update cascade and set null when execute update statement (#38652)
close pingcap/tidb#38651
2022-11-01 13:07:59 +08:00
43468983d9 *: add foreign key cascade delete when execute delete statement (#38377)
close pingcap/tidb#38376
2022-10-21 11:27:54 +08:00
431a9d8b66 planner: remove two useless hints mpp_tidb_agg and mpp_scalar_agg (#38574) 2022-10-20 17:31:55 +08:00
7a9ed6f8c4 planner: introduce some new hints for MPP plans (#38516) 2022-10-19 15:49:54 +08:00
721c91bf3e planner: Plan in PlanCacheValue memory trace (#38357)
ref pingcap/tidb#37632
2022-10-11 16:51:50 +08:00
9c85f33a09 *: add foreign key constraint check when execute delete statement (#38222)
close pingcap/tidb#38221
2022-10-11 15:09:51 +08:00
accff68621 planner, cte: fix cte in the embeded union (#38122)
close pingcap/tidb#37928
2022-10-11 12:09:50 +08:00
9cee5ba4d2 planner: fix prepare insert statement with union can not work (#38311)
close pingcap/tidb#37901
2022-10-10 12:05:49 +08:00
df5f05ff9b planner: reopen CTE in apply only when correlate (#38214)
close pingcap/tidb#38170
2022-09-29 16:07:45 +08:00
d0e4303aee planner: enable revive (#36649) 2022-09-29 15:45:44 +08:00
24723e00e1 *: add foreign key constraint check when execute update statement (#38156)
close pingcap/tidb#38155
2022-09-29 14:25:44 +08:00
150813dd86 preprocessor, planner: inline processing by default for single-consumer cte (#37800) 2022-09-29 00:09:40 +08:00
ran
2cb8831291 planner: Replace CTE access object in execution plan with actual name and as name (#37345)
close pingcap/tidb#37174
2022-09-27 11:59:44 +08:00
df8226339f parser, planner: add query block level no_decorrelate hint (#37633)
close pingcap/tidb#37789
2022-09-20 14:57:04 +08:00
c4638b70fd *: support metadata lock (#37393)
ref pingcap/tidb#37275
2022-09-18 20:57:00 +08:00
e68227ca10 planner: add warning if fallback to static plan from dynamic (#37767) 2022-09-13 13:16:58 +08:00
ca5de8928b session, planner: add a session variable "tidb_opt_force_inline_cte" (#37626)
close pingcap/tidb#36514
2022-09-08 15:52:57 +08:00
7eb7ca902a planner: fallback to static plan for partition table if having no global stats in dynamic prune mode (#37573)
ref pingcap/tidb#37535
2022-09-08 09:20:57 +08:00
09180fde37 planner: fix show View Privilege behave for view table (#37343)
close pingcap/tidb#34326
2022-09-05 20:08:55 +08:00
aa5645adf2 planner: fix update plan's projection elimination will cause column resolution error. (#37582)
close pingcap/tidb#37568
2022-09-04 08:52:25 +08:00
57c493821f planner: support hash_join_build and hash_join_probe hints (#36667)
close pingcap/tidb#35439
2022-09-02 14:44:24 +08:00
7d0318cbd3 planner, statistics: refine stats loaded status and when to use pseudo stats (#37444)
close pingcap/tidb#37485
2022-09-01 20:56:24 +08:00
909341b57f *: enable noloopclosure (#37153) 2022-08-26 17:46:21 +08:00
25dda978ff types: fix a bug in casting str2str when union (#37242)
close pingcap/tidb#31678
2022-08-24 18:26:21 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
1f6f7da778 planner: fix Merge hint for view (#36678)
close pingcap/tidb#36666
2022-08-01 12:42:05 +08:00
40605cc8cf planner: correct the redundant field meaning in join full schema when join coalesce (#36377)
close pingcap/tidb#36420
2022-07-27 16:35:10 +08:00
0331f9a827 planner: add a dedicated source file for plan cache (#36577)
close pingcap/tidb#36537
2022-07-26 20:45:10 +08:00
1b848f40e2 planner: just pop cte's handleHelper map out since it shouldn't be considered (#35854)
close pingcap/tidb#35758
2022-07-26 14:19:10 +08:00
c76888143c executor: fix panic during update stmt (#36230)
close pingcap/tidb#32311
2022-07-25 16:41:11 +08:00
0ccd9c1046 planner: Fixed Merge hint in nested CTE (#36432)
close pingcap/tidb#36373
2022-07-22 00:29:09 +08:00
c79a332e74 ddl: fix update panic in the middle of multi-schema change (#36421)
ref pingcap/tidb#14766
2022-07-21 22:33:10 +08:00
c7cfebb234 planner: add binding and recursive test for Merge hint (#36352)
close pingcap/tidb#17472
2022-07-20 23:43:09 +08:00
a57dd37640 planner: add a hint for CTE (#34574)
close pingcap/tidb#17472
2022-07-19 14:31:07 +08:00