Commit Graph

114 Commits

Author SHA1 Message Date
30f313091c planner: judge nil pointer before call MemoryUsage (#38764)
ref pingcap/tidb#37632
2022-11-02 11:17:59 +08:00
63e3570ad0 planner: PhysicalPlan memory trace 6 (#37841)
ref pingcap/tidb#37632
2022-09-26 16:19:44 +08:00
efc07201e3 planner: support 3 stage aggregation for single scalar distinct agg (#37203)
close pingcap/tidb#37202
2022-09-17 13:36:59 +08:00
e0b5fa1085 planner: Expression memory trace (#37624)
ref pingcap/tidb#37632
2022-09-07 10:52:55 +08:00
170dafc7e1 types: merge json and types pkg (#37578)
close pingcap/tidb#37577, close pingcap/tidb#37628
2022-09-05 19:42:55 +08:00
55aea2787d *: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
580a68dff3 planner: fix cte-schema-clone will clone the old hashcode of its column if any (#35415)
close pingcap/tidb#35404
2022-06-17 16:50:35 +08:00
c789478fa3 expression: use existing repertoire for Column if possible (#34501)
close pingcap/tidb#34500
2022-05-10 11:56:34 +08:00
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
6517f3b315 planner,expression,util: scatter hotspot index in certain scenes by expression index (#30659)
close pingcap/tidb#31040
2022-02-18 16:47:40 +08:00
01fdb6023c expression: fix Coercibility and Collation with json type (#31576)
close pingcap/tidb#31320, close pingcap/tidb#31541
2022-02-09 15:41:36 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
32f96fef77 expression: make infer collation support the expressions with different charset (#27863) 2021-10-11 14:51:25 +08:00
b339ca29c8 expression: aggregate the collation only if the function is needed. (#27789) 2021-09-22 13:40:45 +08:00
ed174286b8 expression: check type for virtual column use list (#27275) 2021-08-18 11:44:00 +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
2ac40194da expression: fix wrong EqualByExprAndID (#26829) 2021-08-03 17:47:08 +08:00
83181c6bcb planner: steady expression index selection when having duplicate expressions (#25826) 2021-08-02 14:47:06 +08:00
57576eb816 expression: fix output name for hidden column (#26354) 2021-07-20 14:55:34 +08:00
52e89cb8bf planner/core: support union all for mpp. (#24287) 2021-06-02 14:15:38 +08:00
642527d740 planner: choose non-prefix column when both index key and handle have the same one (#22980) 2021-03-01 20:48:54 +08:00
c9af430996 expression: speed up Column.VecEvalReal by using MergeNulls (#22191) 2021-02-17 21:02:39 +08:00
f9e5a92857 expression: use %q replace \"%s\" (#20043) 2020-09-17 19:43:38 +08:00
84e07a2a59 planner: propagate NDV of column groups across plan nodes (#17854) 2020-08-12 16:39:11 +08:00
c9c9f873e9 planner: do correlated column's datum match in physical optimize phase (#17578) 2020-06-09 14:56:38 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
1a92dc07df collation: fix wrong collation information used in expression calculation (#15006) 2020-03-02 17:30:04 +08:00
51a1323869 expression/types: check when insert binary literal (#9829) 2020-02-25 14:55:06 +08:00
fe6ca65414 expression: implement the Coercibility() function (#14739) 2020-02-13 19:15:48 +08:00
11b9beb969 *: resort fields for reducing the memory allocated (#14270) 2020-01-07 19:10:09 +08:00
0feafcf11c expression: check ParamMarker in ConstItem when plan cache is enabled (#14200) 2020-01-06 20:54:39 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
42adca989e tables: basic support for hidden column (#13908) 2019-12-17 21:48:46 +08:00
438d39ebcd *: revert #10124 and remove sql mode PadCharToFullLength (#14007) 2019-12-17 15:25:06 +08:00
7de620055d expression: support expression reverse evaluation framework (#13738) 2019-12-05 11:50:09 +08:00
e979cff6bb planner: add column mapping in explain result (#13640) 2019-11-27 16:39:19 +08:00
aca3f47292 *: Refactoring reading logic of virtual generate column (#12407) 2019-11-13 17:39:53 +08:00
e1517fb1d8 expression: fix panic while call Column.VecEvalInt (#13401)
Signed-off-by: Lonng <heng@lonng.org>
2019-11-12 20:55:29 +08:00
f1f80b48c6 expression: fix VecEvalString PadCharToFullLength (#12922) 2019-10-29 17:00:22 +08:00
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00
73213999ce executor: reuse chunk row for insert on duplicate update (#12847) 2019-10-23 21:57:07 +08:00
5466a3c31b expression: let expression.Column take Sel into account wh… (#12693) 2019-10-14 23:53:21 +08:00
e2b1f7eff8 expression: change the String() method of expression.Column (#12089) 2019-09-16 14:30:22 +08:00
e0b8267d95 planner: use *expression.Column instead of *IndexColumn (#11894) 2019-09-05 15:24:33 +08:00
b90ebe1109 expression: enable vectorized expression evaluation by default (#11965) 2019-09-03 09:41:05 +08:00
c59933323a expression: fix constItem() and column-pruning in order by clause (#11839) 2019-08-28 16:59:35 +08:00
62f1a54680 expression: remove row-vec convertor and introduce Vectorized() to check if an expression supports vectorized evaluation explicitly (#11884) 2019-08-27 20:16:35 +08:00
6f76bbe1f7 Introduce individual vectorized evaluation methods for each type. (#11815) 2019-08-22 10:51:25 +08:00
e19ef45e3e expression: make Column support hybrid types when vectorized evaluation (#11803) 2019-08-21 15:00:28 +08:00