Commit Graph

1855 Commits

Author SHA1 Message Date
8c804f40dd test: fix unit test TestInDecimal (#14763) 2020-02-13 19:45:04 +08:00
fe6ca65414 expression: implement the Coercibility() function (#14739) 2020-02-13 19:15:48 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
6702d95fc0 planner: prune columns again after predicate push down (#14683) 2020-02-12 18:13:18 +08:00
da2ed2b5bc expression: fully open CAST push-down switcher (#14672)
Signed-off-by: Lonng <heng@lonng.org>
2020-02-09 16:27:45 +08:00
31a446d21e expression: implement vectorized evaluation for builtinCastStringAsDurationSig (#13807) 2020-02-07 16:21:22 +08:00
f4d1b5ec9f expression: fix lower()/upper() doesn't work if string contains utf8 char. (#14667) 2020-02-07 16:02:33 +08:00
87bbe7dcbe types: Fix duration parser (#14588)
Signed-off-by: Iosmanthus Teng <myosmanthustree@gmail.com>
2020-02-07 14:30:44 +08:00
22fb77ee11 expression: handle ErrTruncated when dividing decimals in non-data-change stmts (#14438) 2020-02-07 14:02:52 +08:00
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
ebc6a2d39d *: add builtin aggregate function json_objectagg (#11154) 2020-02-04 21:41:55 +08:00
83ab488481 expression: fix implement of rand (#14565) 2020-02-04 16:38:53 +08:00
e5f350cd32 expression: fix NULL constants' FieldType of multiple arguments function (#14571)
Signed-off-by: Lonng <heng@lonng.org>
2020-02-04 15:27:17 +08:00
00494d6755 expression: implement vectorized builtinFormatSig (#14559) 2020-02-04 14:25:53 +08:00
c46044f026 expression: optimize function IN using hashmap (#13594) 2020-01-31 19:58:53 +08:00
9d38c5467a *: use 8 byte MysqlTime format (#14278) 2020-01-31 14:49:06 +08:00
c88ceca2c4 types: fix parse DATETIME/TIME from string incompatible with MySQL (#14547)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-23 16:53:36 +08:00
664adfe477 expression: fix json_key not compatible with MySQL (#14556) 2020-01-20 21:30:03 +08:00
50e7cab87b expression: implement arithmetic vec int divide int sig (#14464) 2020-01-20 10:27:05 +08:00
2395472804 expression: make EvalXXX method of deferred/normal constant consistent (#14401) 2020-01-19 13:55:32 +08:00
a7076a5263 expression: optimize unit test (#14503) 2020-01-17 17:53:59 +08:00
00ef8b6b92 expression, executor: correct the funcName for wrapWithIsTrue (#14515) 2020-01-17 17:12:50 +08:00
1d641955d5 expression: disable int_col <cmp> non-int const folding for plan cache (#14120) 2020-01-15 18:42:20 +08:00
7efe9bf1bb expression: fix builtin function 'round' (#13985) 2020-01-15 15:54:20 +08:00
c36f83e1b4 expression,table: fix insert partitioned table bug when the time zone change (#14370) 2020-01-14 17:41:21 +08:00
2dcc032bc3 Makefile: add staticcheck (#14420) 2020-01-10 14:59:43 +08:00
b6aca51d52 plan, partition: support point get plan on hash partition table (#14318) 2020-01-10 10:23:29 +08:00
c90e6a2eac go.mod: update parser for revamped special comment parser (#14389)
fix parser related integration test
2020-01-09 15:28:14 +08:00
86ff21b076 *: add builtin aggregate function VAR_POP (#14101) 2020-01-07 20:55:29 +08:00
11b9beb969 *: resort fields for reducing the memory allocated (#14270) 2020-01-07 19:10:09 +08:00
a486113b57 expression: implement vectorized evaluation for builtinJSONContainsPathSig (#13956) 2020-01-07 17:55:40 +08:00
9bf17e6c9e executor: fix wrong behavior when ENUM column meet Aggregati… (#14035) 2020-01-07 11:26:26 +08:00
b85ae7d766 expression: fix incorrect error handle in builtInTimeFormat (#14275) 2020-01-06 22:14:50 +08:00
0feafcf11c expression: check ParamMarker in ConstItem when plan cache is enabled (#14200) 2020-01-06 20:54:39 +08:00
391beea08b expression: implement vectorized evaluation for builtinMakeTimeSig (#13967) 2020-01-06 17:42:09 +08:00
0adab37467 expression: open CAST string as real push down switcher (#14323)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-06 11:28:02 +08:00
e96be4580f plan, partition: add fast access path for hash partition (#13772) 2020-01-02 13:33:09 +08:00
1437d7e65b expression: open push down switcher for part of CAST functions (#13837)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-02 11:43:43 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
2a4bd928ed expression: add setPbCode for LeftShift (#13443) 2019-12-28 20:46:39 +08:00
86ae838d5a planner/core: disallow using hidden column in insert statement (#14150) 2019-12-26 16:08:55 +08:00
c444d7d737 expression: fix incorrect error handle in builtInMinute/Second/MicroSecondSig (#14060) 2019-12-26 15:17:39 +08:00
7f8c3c8083 expression: Enable 34 functions (#13970) 2019-12-24 22:04:09 +08:00
2bdd4368d5 expression: fix incompatible problems in vectorized builtinUnaryMinusIntSig (#14193) 2019-12-23 08:12:37 -06:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00
2ce3713803 executor: fix cases that some intermediate errors may be ignored when converting a vector to bools (#14081) 2019-12-22 21:10:56 -06:00
510c36d4cb planner: fix a bug for chunk cost model. (#14144) 2019-12-22 09:15:16 +08:00
6c64f9bdbc expression: implement vectorized evaluation for builtinCastIntAsDecimalSig (#13249) 2019-12-20 01:53:49 -06:00
1399e55df7 expression: fix invalid compare-operations in vectorized builtinInDecimalSig (#14156) 2019-12-20 01:46:27 -06:00
3368645bd2 expression:implement vectorized evaluation for builtinExtractDurationSig (#13489) 2019-12-20 01:42:46 -06:00