Commit Graph

78 Commits

Author SHA1 Message Date
465bd60df0 planner: support grouping function/col/expression rewriting and physical plan exhaustion for rollup expand OP (#44488)
close pingcap/tidb#44487
2023-06-12 08:51:10 +00:00
c7f2a2317d linter: enable early return (#44564)
close pingcap/tidb#40786
2023-06-12 05:43:05 +00:00
d01f0c0431 planner: add logical expand operator for rollup (#44216)
close pingcap/tidb#44214
2023-06-05 07:05:40 +00:00
36659e8c7f planner: use the correct fraction for decimal values in plan cache (#43329)
* fixup

* fixup

* make linter happy
2023-04-23 12:00:43 +00:00
98250894b5 fix: fix global index scan, index join, and dml in drop partition (#41992) 2023-04-23 03:06:44 +00:00
566c3f6f8e planner: refactor PreparedParams for non-prep plan cache (#42844)
ref pingcap/tidb#36598
2023-04-06 21:32:58 +08:00
bf470aa99a planner: initialize charset, collation and repertoire correctly for parameter values (#42645)
ref pingcap/tidb#36598
2023-03-28 20:40:54 +08:00
4ccce9c526 planner, expression: support multi-distinct agg under MPP mode (#39973) 2023-02-20 19:07:20 +08:00
30f313091c planner: judge nil pointer before call MemoryUsage (#38764)
ref pingcap/tidb#37632
2022-11-02 11:17:59 +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
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
0beac1800c expression: fix the wrong rounding behavior of Decimal (#33278)
close pingcap/tidb#32213
2022-04-02 14:32:29 +08:00
50954e8986 expression: Fix constant zero/one/null flen with -1 issue (#33221)
close pingcap/tidb#33220
2022-03-21 18:08:33 +08:00
fbfe36ca7d expression: support push bit column down to TiKV (#32497)
close pingcap/tidb#30738
2022-03-01 17:21:45 +08:00
eb7672fc48 *: replace compareDatum by compare and ignore warnings is collate is empty (#30105) 2021-11-29 17:53:53 +08:00
75f6225948 expression, util/codec: fix wrongly eliminated conditions caused by HashCode() collision (#30120) 2021-11-25 19:33:51 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
3e2605acd5 planner: fix the issue that planner may cache invalid plans for joins in some cases (#28432) 2021-09-28 11:09:13 +08:00
b339ca29c8 expression: aggregate the collation only if the function is needed. (#27789) 2021-09-22 13:40:45 +08:00
0f51627cd1 expression, executor: introduce propagateType for castDecimalAsReal (#26651) 2021-08-24 15:36:04 +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
83181c6bcb planner: steady expression index selection when having duplicate expressions (#25826) 2021-08-02 14:47:06 +08:00
4897ecdba2 planner, type: fix AggFieldType error when encouter unsigned and sign type (#21062) 2020-11-24 11:33:24 +08:00
f9e5a92857 expression: use %q replace \"%s\" (#20043) 2020-09-17 19:43:38 +08:00
63c0ef8e5d planner: save explain result of plan in session for `explai ... (#17687) 2020-06-19 14:07:53 +08:00
a501f25b2a expression: Fix the wrong behavior of const.String() (#17495) 2020-06-04 15:04:00 +08:00
25580ea5f4 *: Use a function to get the ONE, ZERO and NULL and fix the clone. (#16512) 2020-04-17 19:11:52 +08:00
36d8171319 expression: fix panic of explain for connection when plan cache is enabled (#16206) 2020-04-10 15:48:17 +08:00
6f1d2123dd expression: avoid reading/writing FieldType struct of Constant concurrently (#15364) 2020-03-16 19:04:53 +08:00
0ddfe0716f *: fix datum's collation behavior to build correct logical ranges (#14963) 2020-03-05 22:34:46 +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
2395472804 expression: make EvalXXX method of deferred/normal constant consistent (#14401) 2020-01-19 13:55:32 +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
7de620055d expression: support expression reverse evaluation framework (#13738) 2019-12-05 11:50:09 +08:00
b90ebe1109 expression: enable vectorized expression evaluation by default (#11965) 2019-09-03 09:41:05 +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
4cd5d15d97 *: improve plan cache param eval and insert const (#10746) 2019-08-27 11:11:01 +08:00
6f76bbe1f7 Introduce individual vectorized evaluation methods for each type. (#11815) 2019-08-22 10:51:25 +08:00
9d248f56cb expression: remove fmt.Println in Constant.EvalJSON (#11694) 2019-08-09 14:46:55 +08:00
d54f0a2bd4 expression: add vectorized evaluation methods to Expression (#11530) 2019-08-01 13:28:23 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
9d25a85bda expression: support ConstItem() for expression (#10004) 2019-04-15 13:07:23 +08:00
ba26012231 expression: using pingcap/log and unify the log format (#9507) 2019-03-14 19:05:27 +08:00
dca815c1c5 expression: return error when doing ResolveIndices (#8929) 2019-01-15 14:34:06 +08:00
18b33fb425 expression,planner: fix to preserve the precision information of a timestamp-typed column in the plan cache (#8619) 2018-12-10 20:12:24 +08:00