735380c8c6
executor, expression: fix flen inferring in concat when meeting negative length( #3771 ) ( #3777 )
2017-07-17 17:59:26 +08:00
bde940f399
Add a tidb_version() function to show tidb-server info ( #3592 )
2017-07-17 17:07:54 +08:00
6ea235f69f
expression, executor, plan: rewrite builtin function log ( #3763 )
2017-07-17 16:06:47 +08:00
5a3a8b0c29
expression, json: fix a bug of json_unquote. ( #3764 )
2017-07-17 14:29:18 +08:00
9436c49dc7
expression, executor, plan: rewrite builtin function asin ( #3765 )
2017-07-17 10:37:42 +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
7db25f45c8
plan, expression: improve merge join with multiple keys. ( #3737 )
2017-07-14 16:28:50 +08:00
e88919f5e5
expression, executor: rewrite built-in function uuid. ( #3721 )
2017-07-14 10:48:58 +08:00
6d6bc24f90
expression: add unit test for builtin_other.go ( #3741 )
2017-07-13 22:51:01 +08:00
7294232a9e
*: rewrite compare functions using new expression evaluation architecture ( #3714 )
2017-07-13 19:46:46 +08:00
fefbc3ce69
expression: UPPER and LOWER should return a binary string when input is a binary string ( #3744 )
2017-07-13 18:44:41 +08:00
3602c20225
expression: add unit test for builtin_info.go ( #3735 )
2017-07-13 13:21:17 +08:00
0da3efabdb
expression, executor: rewrite builtin func log10 ( #3733 )
2017-07-13 12:16:55 +08:00
d99f2974fb
expression: add unit test for function CASE ( #3730 )
2017-07-12 23:34:48 +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
18f6f66a16
executor, expression: fix cast(-1 as unsigned)( #3704 ) ( #3705 )
2017-07-11 11:35:56 +08:00
d4b35c7806
executor, expression: rewrite builtin func left and right ( #3540 )
2017-07-10 20:28:12 +08:00
c902fa6661
*: move column, constant, like typeinfer to expression rewrite ( #3667 )
2017-07-10 19:15:24 +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
cb7b400995
expression, executor: rewrite builtin function MD5 ( #3673 )
2017-07-10 10:48:28 +08:00
9ff2fbae67
refactor builtin string function ord ( #3671 )
2017-07-09 11:46:10 +08:00
8ff3c788dc
expression: builtin now() should consider timestamp variable ( #3590 )
...
* expression: builtin now() should consider timestamp variable
2017-07-08 21:00:12 +08:00
3dede36c84
expression, executor: rewrite builtin func log2 ( #3653 )
2017-07-08 20:28:46 +08:00
0c3e6f4e12
expression, executor: rewrite builtin func degrees ( #3642 )
2017-07-08 13:39:42 +08:00
35d2ca006a
expression, parser: simplify the type inferer of builtin funcs ( #3617 )
2017-07-06 16:18:40 +08:00
8d0f718e56
expression, util: 1. refine castStrAsReal 2. cast use new architecture ( #3629 )
2017-07-06 14:41:33 +08:00
0487312f80
Use one function to handle IPv4Mapped and IPv4Compat ( #3596 )
2017-07-05 15:23:48 +08:00
91f08579b6
expression, executor: rewrite builtin func Sin ( #3609 )
...
* builtin-Sin
* builtin-Sin add test
* Fix tp.Flen
* add valid string input argument test
* Nothing changed
* fmt code
* fix comment
2017-07-05 13:42:15 +08:00
760bdc9d5b
expression, executor: rewrite builtin func Cos ( #3607 )
2017-07-05 13:03:42 +08:00
623ac1ffb0
expression, executor: rewrite builtin func tan ( #3621 )
2017-07-05 10:56:41 +08:00
fc161459b3
expression, executor: rewrite builtin strcmp function ( #3559 )
2017-07-05 10:36:24 +08:00
900fa9fbb9
expression:rewrite password using new expression evaluation architecture ( #3593 )
2017-07-04 17:48:11 +08:00
45cd7c9864
builtin, json: add json_object and json_array functions. ( #3562 )
2017-07-03 20:23:27 +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
cdead55aa8
expression, executor: use baseBuiltinFunc's return type as ScalaFunction's return type when it is updated during type inference ( #3571 )
2017-06-29 18:17:42 +08:00
284ac94a69
expression, executor: fix unhex(binary) error ( #3569 )
2017-06-29 18:07:37 +08:00
e4b761071c
expression, executor: fix hex(binary) ( #3567 )
2017-06-29 16:43:51 +08:00
88189ab961
executor, expression: refine substr handle null ( #3555 )
2017-06-27 22:12:13 +08:00
ea05bf088d
expression: default value from "timestamp" session variable is in UTC timezone ( #3544 )
2017-06-27 15:07:42 +08:00
8aa1a632ea
expression, executor: rewrite the builtin func ascii using new methods ( #3537 )
2017-06-27 14:47:48 +08:00
e773fa5b79
builtin: IsIPv4Compat function ( #3538 )
2017-06-26 10:38:55 +08:00
4db09e0940
expression, executor: rewrite built-in func makeDate using new expression evaluation architecture ( #3533 )
2017-06-23 15:52:36 +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