Commit Graph

49 Commits

Author SHA1 Message Date
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
3d267514d5 expression: cast charset according to the function's resulting charset (#29905) 2021-11-24 17:07:50 +08:00
7889f445a6 expression: convert charset by wrapping internal builtin function (#29736) 2021-11-17 15:37:47 +08:00
bfe344cd63 expression: migrate test-infra to testify for expression/constant_test.go (#28854) (#28895) 2021-10-27 10:24:48 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +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
2890a8f62c executor: fix get var expr when session var is hex literal (#23241) 2021-03-17 15:02:55 +08:00
e4d2499d1f expression: fix linter --enable=deadcode check error (#23118) 2021-03-07 16:48:54 +08:00
cdcb0ffa34 expression: fix unexpected panic when doing isNullRejected check (#22173) 2021-01-11 10:55:17 +08:00
62e4d588a8 Makefile: add unconvert to inspect unnecessary type convert (#16549) 2020-04-22 23:01:59 +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
6f1d2123dd expression: avoid reading/writing FieldType struct of Constant concurrently (#15364) 2020-03-16 19:04:53 +08:00
902c6ca2b9 planner,expression,table: clean up the old partition pruning code (#14834) 2020-02-27 00:52:03 +08:00
dbcf5fbcc8 planner: show cast type in EXPLAIN (#14942) 2020-02-26 16:36:35 +08:00
2395472804 expression: make EvalXXX method of deferred/normal constant consistent (#14401) 2020-01-19 13:55:32 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +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
81cc7bc6cf expression,planner/core: support unix_timestamp() function in partition pruning (#12035) 2019-09-12 13:37:49 +08:00
bdbaeb419d executor: decrease the memory usage of hashTable in HashJoinExec (#11832) 2019-08-29 14:45:52 +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
45790b5799 fixup (#11636) 2019-08-06 15:42:56 +08:00
d54f0a2bd4 expression: add vectorized evaluation methods to Expression (#11530) 2019-08-01 13:28:23 +08:00
ae58fd01f1 expression: improve UT coverage of expression package to 80% (#10641) 2019-05-30 11:05:22 +08:00
3708a8306c expression: constraint propagate for '>' and monotonous function (#8640) 2019-01-04 14:06:51 +08:00
d42a4b34c5 expression: a constraint propagate framework mainly for partition pruning (#7643) 2018-11-28 21:44:18 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
1c165df39b expression: maintain DeferredExpr in aggressive constant folding. (#7915) 2018-10-17 13:34:19 +08:00
87c54b2610 plan, statistics: maintain HistColl in DataSource's StatsInfo (#7385) 2018-08-31 01:14:43 +08:00
7f37bad60f expression: propagate more filters in PropagateConstant (#7276) 2018-08-31 00:11:04 +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
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
9c2ea17722 *: enforce errcheck in Makefile (#4724)
checks all errors and enable errcheck in Makefile

Fixes https://github.com/pingcap/tidb/issues/4668
2017-10-09 17:16:10 +08:00
ffa8405879 plan: let "allocID()" return int to make performance happy (#4441) 2017-09-06 17:19:08 +08:00
276defa164 expression: rewrite builtin function RAND, POW, SIGN, SQRT (#4182) 2017-08-16 00:07:22 +08:00
b23901b187 *: rewrite function IN to DNF (#4174) 2017-08-15 14:28:43 +08:00
71773cf33c *: change "AndAnd", "OrOr" to "LogicAnd", "LogicOr" respectively (#3874) 2017-07-25 15:53:02 +08:00
6b94f4433a plan, expression: move constant fold to NewFunction (#3868) 2017-07-25 01:22:45 +08:00
7294232a9e *: rewrite compare functions using new expression evaluation architecture (#3714) 2017-07-13 19:46:46 +08:00
33c2262b9e *: assign RetType for Constant/Column (#3201) 2017-05-05 12:01:01 +08:00
59154905aa *: rename table-driven tests name. (#3081) 2017-04-19 10:02:57 +08:00
e68dcf77dc *: remove ctx from function args. (#2566) 2017-01-28 18:44:02 +08:00
96ee4446e3 *: refactor function. (#2499) 2017-01-22 18:10:38 +08:00
453a95ce8c *: merge packages of evaluator and expression. (#2322) 2016-12-26 12:35:29 +08:00
26e5c0c867 *: move evaluator's helper to expression package. (#2291) 2016-12-23 11:34:52 +08:00
507201bd12 plan, expression: add test and remove useless code (#2271)
* plan: add test for logical_plan_builder

* plan: add test in logical_plan_test

* plan: add test and remove useless code

* plan, expression: move test from plan to expression

Move test for constantFolding and constantPropagation from
plan to expression

* plan: remove useless test

* expression: add test

* expression: address comment
2016-12-19 14:04:00 +08:00