Commit Graph

106 Commits

Author SHA1 Message Date
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
9bc9572754 planner: add the functional dependency for Datasource, proj, select, agg (#33071)
ref pingcap/tidb#29766
2022-03-17 20:02:30 +08:00
991132080f planner: don't decorrelate the APPLY when the inner's projection reference no column (#32370)
close pingcap/tidb#32089
2022-02-23 18:43:43 +08:00
20bd94918b planner: fix the usage of ParamMarker for PointGet (#32235)
ref pingcap/tidb#31056
2022-02-22 12:55:42 +08:00
2e1cff73f3 *: add ExecRestrictedSQL() func for RestrictedSQLExecutor interface (#31618)
ref pingcap/tidb#30918
2022-01-24 21:30:11 +08:00
5cd37f0008 session: fix data race in ParseWithParamsInternal (#31058)
close pingcap/tidb#30918
2022-01-06 21:02:37 +08:00
8c880d2251 expression, planner: skip isNullRejected check when contain outer not after PushDownNot (#31210)
close pingcap/tidb#20510
2021-12-31 14:37:51 +08:00
76aae0d5c5 planner: change predicateColumnCollector to columnStatsUsageCollector and collect histogram-needed columns (#30671) 2021-12-25 18:21:48 +08:00
23c71f1a3b execute: don't transform charset in internal sql (#30843)
close pingcap/tidb#30789
2021-12-20 17:15:46 +08:00
512373e673 planner: implement collecting predicate columns from logical plan (#29878) 2021-12-10 18:13:57 +08:00
8dc59e684a planner: make clear for MaybeOverOptimized4PlanCache (#29782) 2021-11-25 16:42:29 +08:00
a18977a93b expression: fix a bug caused by cast function signature wrong in aggregation push down (#28805) 2021-11-01 10:46:51 +08:00
83e559db0a planner: allow refineArgs for plan cache in some situations (#28944) 2021-10-29 18:09:49 +08:00
efa94595c0 *: enable golangci-lint unconvert (#28929) 2021-10-23 21:28:47 +08:00
465d2e7450 expression: handle mixed offsets and names zones in CONVERT_TZ (#28528) 2021-10-23 13:52:46 +08:00
4c4d3f6daa planner: generate the additional filter in table filter when enable plan cache (#28722) 2021-10-12 17:01:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
13be486682 planner: rename some variables for easy understanding (#28226) 2021-09-26 13:20:46 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
3ac7914b7e expression: make locate function consider collation (#27079) 2021-08-11 20:29:16 +08:00
cdaf996f56 expression/builtin: Add tidb_decode_sql_digests function (#26787) 2021-08-06 00:09:12 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
30be22a57a expression: fix unused code in util.go (#23301) 2021-03-17 18:48:55 +08:00
001b34ea8d server, sessionctx: Support for the status command of MySQL Shell (#22752)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: Morgan Tocker <tocker@gmail.com>
2021-02-23 12:56:48 +08:00
77572f873d planner: do not push down the aggregation function with correlated column (#21453) 2020-12-08 10:54:24 +08:00
0c36203f1d expression: add new scalar function IsTruthWithNull (#19621) 2020-09-09 16:03:10 +08:00
8bbeceb5ee expression: support handle two collation cannot substituted to each other (#19036) 2020-08-18 15:07:39 +08:00
6a49bb4a84 *: fix a bug which causes function return truncated result (#17101) 2020-05-12 12:54:35 +08:00
692e0098b1 expression: avoid Order By constant expression error when pl… (#16261) 2020-04-21 20:04:23 +08:00
ac8785a978 expression: fix wrong constant propagation with the collation (#16227) 2020-04-16 14:10:10 +08:00
d26875db7e expression: fix error PushDownNot for contiguous NOT (#16108) 2020-04-15 17:52:14 +08:00
fde73403fd expression: Add format_bytes and format_nano_time performance schema functions (#14975) 2020-03-06 11:50:46 +08:00
55f5cf538d planner/expression: constant propagation and predicate pushdown should be aware of plan cache (#14941) 2020-03-04 16:23:17 +08:00
1d641955d5 expression: disable int_col <cmp> non-int const folding for plan cache (#14120) 2020-01-15 18:42:20 +08:00
aca3f47292 *: Refactoring reading logic of virtual generate column (#12407) 2019-11-13 17:39:53 +08:00
43202b1383 expression, ranger: three optimizations to speedup some specific query's opt time (#12687) 2019-10-29 18:00:45 +08:00
59942ab4cc optimizer: presolve before expr propagation, and try reducing newFunc call in pa… (#12592) 2019-10-17 10:46:18 +08:00
a582640dc3 executor: make point updates go short path (#12243) 2019-09-27 18:36:01 +08:00
c59933323a expression: fix constItem() and column-pruning in order by clause (#11839) 2019-08-28 16:59:35 +08:00
4cd5d15d97 *: improve plan cache param eval and insert const (#10746) 2019-08-27 11:11:01 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
ae58fd01f1 expression: improve UT coverage of expression package to 80% (#10641) 2019-05-30 11:05:22 +08:00
0106361cd9 expression: let PushDownNot does not change the argument (#10363) 2019-05-06 16:22:19 +08:00
9630d57c80 planner/core: make join reorder by dp work (#8816) 2019-04-28 13:08:46 +08:00
085746c254 expression: check corCol in DisableParseJSONFlag4Expr (#10224) 2019-04-22 19:31:08 +08:00
ba26012231 expression: using pingcap/log and unify the log format (#9507) 2019-03-14 19:05:27 +08:00
6e8cd3c7dd executor: support window function nth_value (#9596) 2019-03-12 00:42:37 +08:00
5a283a98dd plan/executor: make semi joins null and empty aware (#9051) 2019-02-25 15:42:38 +08:00
bc0e70dc5c planner/core: implement skyline pruning (#9337) 2019-02-19 11:19:30 +08:00
469fa877d6 util/hack: define a MutableString type for function hack.String (#9230) 2019-02-12 12:30:40 +08:00