Commit Graph

49 Commits

Author SHA1 Message Date
b97f60d88c planner: remove the unnecessary skip-plan-cache flag in StmtCtx (#40246) 2022-12-30 14:22:18 +08:00
72f52f3f09 planner: update the plan cache strategy when expressions with parameters affect null-check (#40218)
close pingcap/tidb#38205, close pingcap/tidb#40093
2022-12-30 11:00:18 +08:00
e0b5fa1085 planner: Expression memory trace (#37624)
ref pingcap/tidb#37632
2022-09-07 10:52:55 +08:00
1f40fc72a5 expression: use cloned RetType at evaluateExprWithNull when it may be changed. (#35759)
close pingcap/tidb#25813
2022-06-28 14:02:39 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
1660bf41ad expression: migrate test-infra to testify for expression (#29723) 2021-11-16 17:45:08 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
501e87ec44 planner: fix the issue that some PointGet plans generated in physical-stage cannot be cached (#28478) 2021-10-09 17:33:24 +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
3ed4a23b95 executor: refineArgs() bug fix when compare int with very small decimal (#23694) 2021-03-30 20:53:24 +08:00
4ff2f926e2 executor, expression: set the evalType of hybrid type as ETInt in VecEvalBool (#20221) 2020-09-27 11:31:16 +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
e63a10e931 Add the check for expression evaluation in some executors (#16339) 2020-04-15 10:46:02 +08:00
53780cfaa7 expression: fix the bug that cannot perform vectorized express… (#15902) 2020-04-01 16:17:56 +08:00
0feafcf11c expression: check ParamMarker in ConstItem when plan cache is enabled (#14200) 2020-01-06 20:54:39 +08:00
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00
5d5497bfeb expression: speed up unit tests under the expression package (#12887) 2019-10-23 03:56:31 -05:00
e2b1f7eff8 expression: change the String() method of expression.Column (#12089) 2019-09-16 14:30:22 +08:00
9d25a85bda expression: support ConstItem() for expression (#10004) 2019-04-15 13:07:23 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
87c54b2610 plan, statistics: maintain HistColl in DataSource's StatsInfo (#7385) 2018-08-31 01:14:43 +08:00
44a2ad7f0f expression, plan: rename Column.Position to Column.UniqueID (#7218) 2018-08-01 15:44:21 +08:00
f4f1692fd1 *: remove FromID from expression.Column (#7157) 2018-07-30 11:06:02 +08:00
66c41128ca expression: improve constant folding of UDF if & ifnull (#6677) 2018-06-07 11:38:57 +08:00
9fc856297c expression: support simple expression rewriter (#6432) 2018-05-04 09:20:21 +08:00
c16855d3ec expression: avoid using datum in HashCode(). (#5911) 2018-02-27 18:58:45 +08:00
cd63332ebf expression, plan: extract the same part from DNF's leaves. (#5831) 2018-02-26 16:03:05 +08:00
12c87929b8 *:fix some golint && ineffassign && misspell to improve GoReport Result (#5867) 2018-02-23 19:31:05 +08:00
3ce567630b executor: store column's fieldType in executor (#5619) 2018-01-12 16:57:31 +08:00
ecbd60c3ff *: add arguement StatementContext to Encode functions. (#5566) 2018-01-06 17:31:08 +08:00
07dc46d3cb expression: refactor hybrid type expressions (#5550) 2018-01-06 11:04:50 +08:00
5c76863a79 plan, expression: remove useless error return (#5085) 2017-11-13 18:40:58 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
3c02f6bcdb expression, plan: remove typeinfer.go since we infer all types in expression rewrite phrase (#4536) 2017-09-22 13:22:46 +08:00
296f09438d expression: rewrite builtin func values (#4491) 2017-09-12 11:13:49 +08:00
ffa8405879 plan: let "allocID()" return int to make performance happy (#4441) 2017-09-06 17:19:08 +08:00
c51d0f57ed *: support JSON in new expression architecture (#4089) 2017-08-10 15:56:53 +08:00
85b0155f85 expression: fix EvaluateExprWithNull when meet cast(#3873) (#3875) 2017-07-25 21:16:34 +08:00
9ee8476727 expression: improve unit test coverage of expression.go to 82.5% (#3828) 2017-07-20 20:14:01 +08:00
f2d8b3c108 remove New*** from variable name. (#1644) 2016-08-29 10:18:45 +08:00
6ab4cc5877 fix a lot of bugs about agg and having. (#1395) 2016-07-06 15:49:53 +08:00
af7f2a2e89 correct "order by", "having", "group by"s' resolving rules. (#1326)
resolve order by/ having/ group by correctly.
2016-06-22 11:58:06 +08:00
68eb8e567e *: remove old code 2016-02-29 11:40:32 +08:00
353bcf911d expression: add visitor interface 2015-09-22 13:16:03 +08:00
e0c36ba8d3 expression: fix tests 2015-09-21 20:07:38 +08:00
e91233533e expression: fix import 2015-09-21 18:55:17 +08:00
0d46df9532 expression: rename package and remove import 2015-09-21 18:02:27 +08:00
6f531c4dab expression: move files in expressions to expression
No modification at all.
2015-09-21 17:42:09 +08:00