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
def034cf6f
ranger: add a more common method to calc range. ( #3489 )
2017-06-21 14:10:40 +08:00
af5f3f551e
expression: remove inferType interface of functionClass ( #3518 )
2017-06-21 10:11:46 +08:00
247bf4afa2
expression, distsql: pushdown json_* functions. ( #3492 )
2017-06-20 17:23:07 +08:00
379914a5af
*: fix timestamp column data and index inconsistent involving timezone ( #3497 )
2017-06-20 15:22:50 +08:00
4f56ece779
*: a little fix and add 3 functions. ( #3486 )
2017-06-20 14:45:12 +08:00
c15265e95b
*: rewrite concat using new expression evaluation architecture ( #3479 )
2017-06-19 15:40:16 +08:00
5b979d09e0
*: Adding ppc64le specific fixes for some tests ( #3477 )
...
The changes were required because of the different behavior of some casting and exponential operations on ppc64le platform.
Add fix for "expression/builtin_math_test.go" and "store/tikv/lock_test.go"
2017-06-19 14:14:12 +08:00
844f1c69b4
expression: add SubTime ( #3464 )
2017-06-16 23:31:38 +08:00
3e7657737b
expression, util: consider unsigned when cast ( #3457 )
2017-06-16 22:39:19 +08:00
bdaf1e9cc7
util/type: fix parseDuration error when parse string of three digit ( #3468 )
2017-06-15 11:17:18 +08:00
9575deeb10
ddl: add more features about generated column. ( #3431 )
...
DESC table_with_generated_column;
SHOW CREATE TABLE table_with_generated_column;
If generated expression in DDL references bad column, throw error;
If alter table change/drop column dependent by other columns, throw error;
if alter table change/modify generated columns, throw error if needs.
2017-06-13 18:53:58 +08:00
821d928e7a
*: use async get timestamp API && remove asyncGetTSWorker ( #3459 )
2017-06-13 13:05:30 +08:00
4bc3cf7a48
*: support using clause in join statement. ( #3372 )
2017-06-12 17:14:13 +08:00
703f7045e3
expression, plan: add switch for new expression evaluation architecture ( #3438 )
2017-06-12 14:27:06 +08:00
f7c1e1008b
expression: improve baseBuiltinFunc.evalTime and evalDuration ( #3437 )
2017-06-10 11:29:56 +08:00
895a35415d
expression: implement wrap Expression with cast functions ( #3419 )
2017-06-09 17:27:02 +08:00
c030afc77a
expression, plan: 1. fix arithmatic func type infer ( #3436 )
...
2. add typeinfer for evalAsExpr
2017-06-08 23:17:03 +08:00
5654dd9bd2
expression: FROM_UNIXTIME(12.1) + 1 return wrong field type ( #3386 )
2017-06-08 00:40:11 +08:00
a623135bae
*: add cast(value as JSON) support. ( #3395 )
2017-06-07 19:58:27 +08:00
1686ca7dc1
expression, util: improve cast function signatures ( #3387 )
2017-06-07 17:25:09 +08:00
0fec425b18
style: change return to keep code style clean ( #3407 )
2017-06-07 10:59:10 +08:00
035ac291e2
expression:correct comments mistake. ( #3411 )
2017-06-06 17:15:04 +08:00
791b4c273c
expression: add buildin functions json_{set,insert,replace} and json_merge. ( #3388 )
2017-06-06 15:50:32 +08:00
063dbd0e41
store/tikv: use grpc ( #3390 )
2017-06-05 18:10:20 +08:00
e669009a27
expression: add builtinAddTimeSig ( #3290 )
2017-06-05 17:36:33 +08:00