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
bda5c44c97
expression: rewrite builtin string function: CHAR ( #4041 )
2017-08-08 21:05:44 +08:00
5a469c08e7
expression: rewrite builtin string function: BIN ( #4039 )
2017-08-07 21:12:43 +08:00
128d752939
expression: rewrite builtin string function: FROM_BASE64 ( #4040 )
2017-08-07 15:24:35 +08:00
3527750130
expression, executor, plan: rewrite builtin function trim. ( #3936 )
2017-08-01 10:54:31 +08:00
9f66dd1931
expression, executor, plan: rewrite builtin function ltrim and rtrim. ( #3939 )
2017-07-30 21:10:38 -05:00
ff7de9972f
expression, executor, plan: rewrite builtin function unhex. ( #3830 )
2017-07-20 19:56:12 +08:00
e7f97522b8
expression, executor, plan: rewrite builtin function hex ( #3794 )
2017-07-19 17:38:12 +08:00
8805688610
expression, executor, plan: rewrite builtin function substring_index. ( #3760 )
2017-07-17 18:14:16 +08:00
c49bc64465
expression, executor: rewrite built-in bit_length func. ( #3722 )
...
* expression,executor: rewrite builtin func lower and upper.
* expression: fix field type for builtin func lower and upper.
* expression: fix bugs for test case.
* expression, executor: refactor builtin func for lower and upper.
* expression, executor: rewrite test case.
* expression: fix bugs for builtin func lower and upper.
* express, executor: rewrite built-in bit_length func.
* expression, executor: fix testcase for bit_length.
* expression, executor: fix bugs for built-in func bit_length.
* expression, executor: fix bugs for built-in bit_length.
* expression, executor: add test case varbinary for built-in func bit_length.
* expression, plan: field length bugs for built-in func bit_length fixed.
* expression: remove unnecessary type check for built-in func bit_length.
2017-07-15 10:36:31 +08:00
300dd5c7c1
expression, executor, plan: rewrite builtin function substring/substr. ( #3711 )
2017-07-12 18:22:21 +08:00
d309490b6a
server,expression: fix CI and make golint happy ( #3723 )
2017-07-12 11:40:14 +08:00
6f6bd5cba5
expression, executor: rewrite builtin function TO_BASE64 ( #3598 )
2017-07-11 14:56:26 +08:00
1fbcb6252e
expression, executor, plan: rewrite builtin function replace. ( #3702 )
2017-07-11 14:01:31 +08:00
c65ada3ae9
expression,executor: rewrite builtin func LOWER and UPPER. ( #3550 )
2017-07-11 13:39:18 +08:00
fd7fcdee8d
expression, executor: rewrite builtin function CONCAT_WS ( #3558 )
2017-07-11 13:23:43 +08:00
d4b35c7806
executor, expression: rewrite builtin func left and right ( #3540 )
2017-07-10 20:28:12 +08:00
32159d502f
expression, executor: rewrite builtin space function. ( #3684 )
2017-07-10 17:53:59 +08:00
f4abbdbc5e
expression, plan: move typeinfer of agg funcs to expression rewriter ( #3654 )
2017-07-10 16:24:25 +08:00
9ff2fbae67
refactor builtin string function ord ( #3671 )
2017-07-09 11:46:10 +08:00
35d2ca006a
expression, parser: simplify the type inferer of builtin funcs ( #3617 )
2017-07-06 16:18:40 +08:00
fc161459b3
expression, executor: rewrite builtin strcmp function ( #3559 )
2017-07-05 10:36:24 +08:00
0dd049d9b2
[expression] rewrite built-in string function: REPEAT ( #3546 )
...
* expression, executor: rewrite builtin func repeat
* expression, executor: rewrite builtin func repeat, remove unnecessary non-binary flag settings
* only cover retType in ScalaFunction when builtin function's retType is not mysql.TypeUnspecified
* add test cases in executor_test.go for built-in udf REPEAT
2017-06-30 14:09:29 +08:00
8aa1a632ea
expression, executor: rewrite the builtin func ascii using new methods ( #3537 )
2017-06-27 14:47:48 +08:00
f331160eb9
expression, executor: rewrite built-in func length using new expression evaluation architecture ( #3519 )
2017-06-22 15:56:22 +08:00
6f1bc82bc0
expression: wrap arguments when new built-in function ( #3520 )
2017-06-22 11:56:24 +08:00
af5f3f551e
expression: remove inferType interface of functionClass ( #3518 )
2017-06-21 10:11:46 +08:00
c15265e95b
*: rewrite concat using new expression evaluation architecture ( #3479 )
2017-06-19 15:40:16 +08:00
4b82b6f4cf
err assigned and not used ( #3178 )
2017-05-02 16:16:12 +08:00
f9340d8171
*: fix BIN test and check error for QUARTER. ( #3194 )
...
The BIN test puts a datum slice into a datum, which is an unknown datum type, `eval` returns error.
2017-05-02 15:18:15 +08:00
1d8dbb1682
built_in string right ( #3088 )
2017-04-23 20:37:15 +08:00
5d146946df
builtin: impl export_set ( #3036 )
2017-04-20 19:37:12 +08:00
c219218a19
fix REPLACE FUNC ( #3082 )
...
when the from_str is "", use REPLACE FUNC.
+-----------------------------------------------------------------------+
| REPLACE('www.mysql.com', '', 'tidb') |
+-----------------------------------------------------------------------+
| tidbwtidbwtidbwtidb.tidbmtidbytidbstidbqtidbltidb.tidbctidbotidbmtidb |
+-----------------------------------------------------------------------+
1 row in set (0.01 sec)
But the correct result should be:
+-----------------------------------------------------------------------+
| REPLACE('www.mysql.com', '', 'tidb') |
+-----------------------------------------------------------------------+
| www.mysql.com |
+-----------------------------------------------------------------------+
1 row in set (0.01 sec)
2017-04-19 12:45:51 +08:00
59154905aa
*: rename table-driven tests name. ( #3081 )
2017-04-19 10:02:57 +08:00
4c9452f944
Builtin: 'LOCATE' dealing with case sensitivity and utf8 characters. ( #2960 )
2017-04-18 17:23:00 +08:00
05f9a5f838
builtin:func to_base64() ( #3070 )
...
implement to_base64 and fix some case for from_base64
2017-04-18 16:01:59 +08:00
a125e5378c
add mysql builtin function cos,from_base64,tan,cot ( #2977 )
2017-04-05 22:35:28 +08:00
ff3abdfd27
builtin: add format built-in function ( #2883 )
2017-03-31 13:21:08 +08:00
7b52245ed9
builtin: add quote built-in function ( #2845 )
2017-03-31 13:10:28 +08:00
7031e28ab1
Built-in Function: bin ( #2924 )
2017-03-29 09:07:12 +08:00
9f17a88377
fix some typo in comments ( #2943 )
2017-03-29 08:55:49 +08:00
d1a8cd4da1
builtin: add insert built-in function ( #2855 )
2017-03-25 17:00:56 +08:00
2c3e731f81
builtin: add instr built-in function ( #2857 )
2017-03-22 14:21:25 +08:00