Commit Graph

103 Commits

Author SHA1 Message Date
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
6d51ad33fd *: Optimize struct memory usage by adjust field order (#11629) 2019-08-13 17:20:53 +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
0972a6f012 planner: keep unfoldable exprs when pruning columns for ORDER BY items (#10064) 2019-04-15 16:02:27 +08:00
9d25a85bda expression: support ConstItem() for expression (#10004) 2019-04-15 13:07:23 +08:00
5a283a98dd plan/executor: make semi joins null and empty aware (#9051) 2019-02-25 15:42:38 +08:00
84750e8550 expression: handle ENUM in builtin function Values() (#9225) 2019-02-12 11:48:55 +08:00
dca815c1c5 expression: return error when doing ResolveIndices (#8929) 2019-01-15 14:34:06 +08:00
d9e02b76dd expression: remove redundant "errors.Trace()" in "expression" package (#8609) 2018-12-07 12:20:31 +08:00
4a3080a1c1 plan: use original field name when Column is extracted from IfNull (#8225) 2018-11-08 15:13:45 +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