Commit Graph

2291 Commits

Author SHA1 Message Date
a89ef1f276 *: support ACCOUNT (UN)LOCK when creating/altering user (#37052)
close pingcap/tidb#35961, close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
d435267600 statistics: track used stats status during query (#37101)
ref pingcap/tidb#36481
2022-08-25 12:14: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
d3483026ed planner: mark the both side operand of NAAJ & refuse partial column substitute in projection elimination of Apply de-correlation (#37117)
close pingcap/tidb#37032
2022-08-24 18:02:21 +08:00
cfd4ddd7fb planner: reuse DetachCondsAndBuildRanges logic for both index and cluster index (#37178)
ref pingcap/tidb#37176
2022-08-23 13:40:20 +08:00
0e4af6cd48 planner: fix outer join reorder will push down its outer join condition (#37245)
close pingcap/tidb#37238
2022-08-23 13:14:20 +08:00
21847fe58b planner: set EnableOuterJoinReorder to false by default (#37264)
ref pingcap/tidb#37238
2022-08-22 19:30:20 +08:00
e0da196b41 planner: support HashJoin cost detail (#37012)
ref pingcap/tidb#36962
2022-08-22 15:48:20 +08:00
4cf7eeee64 planner: add warn log for sync stats (#36956) 2022-08-22 15:24:20 +08:00
8b5b724d8a bazel: enable announcerc (#37217) 2022-08-19 19:06:52 +08:00
d6ebc600f8 expression: make collation work with json type (#37211)
close pingcap/tidb#31640
2022-08-19 11:20:52 +08:00
44f684ec77 *: only create TemporaryTableAttachedInfoSchema if needed (#37196)
close pingcap/tidb#37195
2022-08-18 18:34:51 +08:00
ef738eaba4 planner: introduce the Parameterizer interface for general plan cache (#37170)
ref pingcap/tidb#36598
2022-08-18 11:04:53 +08:00
5dc3e58485 planner: introduce the general plan cache (#37150)
ref pingcap/tidb#36598
2022-08-16 20:24:51 +08:00
483183e5f2 table/tables: fix bug for jepsen test on cached table (#37020)
close pingcap/tidb#36885
2022-08-16 17:02:51 +08:00
97f9c225a3 planner: add two functions to get and set cached plan from the plan cache (#37112)
ref pingcap/tidb#36598
2022-08-16 11:38:51 +08:00
612efa7856 planner: fix trace cost detail performance regression (#37103)
close pingcap/tidb#37096
2022-08-15 18:58:50 +08:00
a664d28909 expression: implement castTimeAsDuration function pushdown (#37036)
close pingcap/tidb#37033
2022-08-15 18:30:50 +08:00
38c0d09f06 test,planner: only increase optimizeCnt for specified sql in test (#37094)
close pingcap/tidb#37059
2022-08-15 16:22:50 +08:00
0e00c4b53a planner: move logic of plan cache stmt checking to plan cache backend (#37053)
ref pingcap/tidb#36598
2022-08-15 15:14:50 +08:00
61c8438dda planner: enable more linter for planner/core/plan.go (#37072) 2022-08-12 19:22:49 +08:00
7d8c45aa4d planner: provide a unified interface to set and get user variables and types (#37046)
ref pingcap/tidb#36598
2022-08-11 19:18:50 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
4fd3d0b66d planner: fix data race in the TestInlineProjection4HashJoinIssue15316 (#37014)
close pingcap/tidb#37009
2022-08-11 12:24:48 +08:00
f8997298b8 planner: fix unstable test TestPushDownSelectionForMPP (#37038)
close pingcap/tidb#36867
2022-08-11 11:06:48 +08:00
af989fb6c4 executor: add privilege check for prepare stmt (#36933)
close pingcap/tidb#35784
2022-08-10 21:32:50 +08:00
ba8e7cc78e planner: remove keyword prepared in plan cache backend (#37023)
ref pingcap/tidb#36598
2022-08-10 17:50:48 +08:00
c63a8d83a6 statistics: support extend show histograms (#36509)
close pingcap/tidb#36481
2022-08-10 11:58:48 +08:00
7fbe1d1a57 expression: implement elt function pushdown (#36735)
close pingcap/tidb#36734
2022-08-10 11:00:48 +08:00
f403e198c4 planner: handle PointPlan specially in execute statements (#36987)
close pingcap/tidb#36783
2022-08-09 21:36:48 +08:00
7e20de6d79 planner: support reader operators cost detail (#36963)
ref pingcap/tidb#36962
2022-08-09 20:34:48 +08:00
28c934cdae planner: finish todo in builtin_cast.go#L1945 (#36921)
close pingcap/tidb#36920
2022-08-09 16:16:47 +08:00
7d744b18e2 planner: remove execID in ExecuteStmt (#36967)
ref pingcap/tidb#36598
2022-08-09 14:10:47 +08:00
e234e00fcd planner: skip the optimizer for the execute statement (#36612)
ref pingcap/tidb#36598
2022-08-08 13:48:47 +08:00
244b353a11 planner: support session level for the variable tidb_enable_prepared_plan_cache (#36923)
ref pingcap/tidb#36598
2022-08-08 11:18:47 +08:00
1e040684e1 planner: fix the wrong join reorder produced by some right ouer join (#36936)
close pingcap/tidb#36912
2022-08-05 19:32:07 +08:00
d76074623c planner: unify the parameters name in plan cache (#36899)
ref pingcap/tidb#36598
2022-08-05 17:20:06 +08:00
2fbec001c9 planner: Fix panic for SET CONFIG...=DEFAULT (#35752)
close pingcap/tidb#35745
2022-08-05 14:08:06 +08:00
cb3fdcc847 feat: push down hexInt/hexStr function to tiflash (#35902)
close pingcap/tidb#35901
2022-08-05 13:10:06 +08:00
0a8611ddfe sysvar: add parsing phase for setting 'init_connect' (#36865)
close pingcap/tidb#35324
2022-08-05 12:42:06 +08:00
9cefb03d84 planner: Stabilise TestPartitionWithVariedDataSources (#36855)
close pingcap/tidb#36740
2022-08-05 11:02:06 +08:00
ac91c75121 expression: implement shiftLeft function pushdown (#36677)
close pingcap/tidb#36733
2022-08-04 17:26:08 +08:00
5e00a1540f planner: clean useless Plan Cache code of binary protocol parameters (#36887)
ref pingcap/tidb#36598
2022-08-04 16:58:06 +08:00
e071841317 planner: fix redudent planID for partition table in optimizer trace (#36711)
close pingcap/tidb#36759
2022-08-04 15:50:06 +08:00
5ef18981cc Revert "planner: refactor the IsolationReadEngines variable for plan cache" (#36873) 2022-08-04 10:30:06 +08:00
8e9e839190 planner: support cost detail framework (#36641)
ref pingcap/tidb#29661
2022-08-03 19:56:05 +08:00
3847d9e56f planner: refactor the IsolationReadEngines variable for plan cache (#36770)
ref pingcap/tidb#36598
2022-08-03 19:44:05 +08:00
b364cecdcc planner: use the unified parameters for plan cache (#36781) 2022-08-03 18:35:49 +08:00
43c1515694 planner: update plan cache key (#36813)
ref pingcap/tidb#36598
2022-08-03 18:06:06 +08:00
6a6fa8a882 ddl: Add sql_require_primary_key sysvar (#36146)
close pingcap/tidb#28544
2022-08-03 17:20:06 +08:00