Commit Graph

70 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
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
d9e02b76dd expression: remove redundant "errors.Trace()" in "expression" package (#8609) 2018-12-07 12:20:31 +08:00
34c3d4ccc6 planner,executor,parser: support the prepared plan cache for insert/delete/update statements (#8107) 2018-11-05 14:24:48 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
5baedaa21c expression, types: fix some corner case when parsing string to datetime (#7701) 2018-10-08 10:35:52 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
5a5aeb813a expression, plan: no longer call expression.Clone in plan package except ResolveIndices (#6866) 2018-06-29 16:25:26 +08:00