Commit Graph

106 Commits

Author SHA1 Message Date
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
5e54680ca3 expression: make baseBuiltinFunc support converting from row-based evaluation to vectorized evaluation 2019-08-14 15:02:44 +08:00
5f9fe27a14 expression: the quote function should treat null expr as NULL… (#11592) 2019-08-05 19:05:37 +08:00
ff0132ff34 expression, parser: add function octet_length support (#11451) 2019-07-26 14:21:15 +08:00
593fb7def5 expression: add max_allowed_packet check in concat/concat_ws (#11137) 2019-07-16 15:56:51 +08:00
a090e6be29 Function INSERT should be NULL if any argument is NULL (#11237) 2019-07-15 11:33:06 +08:00
37c128b64f expression: set correct return field type of builtin CONVERT() (#9305) 2019-03-31 15:11:20 +08:00
6398788f6b expression: function format incompatible (#9182) 2019-01-31 16:39:21 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
477e252b35 expression: handle empty input and improve compatibility for format (#8797) 2019-01-02 14:13:08 +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
9ec7515743 *: Add few error checks in tests, clean error messages and fix a misspell (#8101) 2018-10-31 18:50:43 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
c625c27239 expression: check max_allowed_packet constraint for function insert (#7502) 2018-08-29 13:52:15 +08:00
5754f624c9 expression: fix builtin 'CharLength' for binary string input (#7410) 2018-08-20 12:08:23 +08:00
H
2fbd5e7a70 expression: handle max_allowed_packet warnings for repeat function. (#7181) 2018-08-17 23:39:47 +08:00
4624785b37 expression: handle max_allowed_packet warnings for from_base64 function. (#7409) 2018-08-17 23:12:37 +08:00
6e7d75299d test: refine test (#7414) 2018-08-16 17:05:59 +08:00
016006f5c5 expression: handle max_allowed_packet warnings for to_base64 function. (#7266) 2018-08-15 10:49:20 +08:00
6e33d2e3b7 expression: fix behavior for builtin 'LTrim', 'RTrim' and 'Trim' (#7291) 2018-08-07 15:07:02 +08:00
H
6287b24f43 expression: handle max_allowed_packet warnings for space function. (#7210) 2018-08-02 12:57:06 +08:00
c38f567645 expression: handle max_allowed_packet warnings for pad functions (#7171) 2018-07-31 15:12:31 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
390e08bb87 expression: fix the wrong result of builtin function CONCAT_WS (#6762) 2018-06-12 19:54:40 +08:00
faeaccc35e executor:Improve the aesthetics of code review (#6138) 2018-03-26 22:19:49 +08:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
27eedda835 expression: support 'using binary' (#4687) 2017-10-26 16:14:40 +08:00
64bc8cb6cb expression: remove "self" field in "baseBuiltinFunc" completely (#4766)
* expression: remove "self" field in "baseBuiltinFunc" completely

* address comment
2017-10-13 04:55:25 -05:00
60626912a7 expression, plan: remove "foldable" from "baseBuiltinFunc" (#4759) 2017-10-12 04:03:54 -05:00
3f4bdf6150 expression: rewrite unit test for Minus and Plus (#4691)
* expression: rewrite unit test for Minus and Plus

* move code
2017-09-30 11:47:26 +08:00
ebfcd7d90a expression: rewrite builtin function: CONVERT (#4417) 2017-09-08 11:08:39 +08:00
48c0ecae1c expression: rewrite builtin function: FIELD (#4419) 2017-09-07 20:13:09 +08:00
d82a36b562 expression: rewrite builtin function: INSERT (#4414) 2017-09-07 19:26:59 +08:00
2736812381 expression: rewrite builtin function: EXPORT_SET (#4434) 2017-09-07 18:02:15 +08:00
fc209cb1df *: rewrite hex and bit literals (#4415) 2017-09-07 16:28:24 +08:00
62b6a9961b expression: rewrite builtin function: FORMAT (#4416) 2017-09-06 20:01:00 +08:00
55bbc41069 expression: adjust getFunction context.Context param position (#4400) 2017-09-01 16:03:19 +08:00
f0aad43fec expression: change isDeterministic to canBeFolded (#4393) 2017-08-31 20:35:13 +08:00
7f6d60a037 expression: builtin function OCT() handle binary value mistakenly. (#4369) 2017-08-30 10:48:36 +08:00
b7aa9137b2 expression: rewrite builtin function: MAKE_SET, QUOTE (#4318) 2017-08-29 10:06:19 +08:00
acff4b60ec expression: rewrite builtin function: FIND_IN_SET (#4247) 2017-08-21 11:31:22 +08:00
97282565fb expression: rewrite builtin function: OCT (#4154) 2017-08-15 13:41:51 +08:00
91a463670a expression: rewrite builtin function: ELT (#4124) 2017-08-12 10:24:20 +08:00
dcf4cbb2f1 expression: rewrite builtin string function: REVERSE (#4042) 2017-08-11 16:21:35 +08:00
172d7fc3af expression: rewrite builtin function: LOCATE (#4088) 2017-08-10 19:21:38 +08:00
2ca8e239fd expression: rewrite builtin string function: LPAD, RPAD (#4036) 2017-08-10 14:20:32 +08:00
b521240c8e expression: rewrite builtin string function: INSTR (#4052) 2017-08-10 12:47:10 +08:00
2ed02b287d expression: rewrite builtin function: CHAR_LENGTH (#4105)
* expression: rewrite builtin funtion 'CHAR_LENGTH'
2017-08-09 19:29:32 +08:00