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
e294500a17
expression:implement function password. ( #3275 )
2017-06-02 15:08:40 +08:00
ea9ce9c0fa
*: fix issue3356 ( #3357 )
2017-06-01 23:53:45 +08:00
6033cfccb7
expression: Implementation of INET6_NTOA ( #3333 )
2017-05-26 09:43:17 +08:00
ed2555a0ef
*: add GetTypeClass() function for Expression interface ( #3321 )
2017-05-25 14:39:03 +08:00
06ec635583
expression, util: rewrite IsHybridType func ( #3319 )
...
rewrite IsHybridType func and move it from package util to expression
2017-05-24 22:06:51 +08:00
6dbff6149a
expression: add castXXAsXXSig ( #3329 )
2017-05-24 17:58:42 +08:00
6962814a29
add json_type function and compare json with primitive types. ( #3307 )
2017-05-24 15:21:40 +08:00
fb75f5a1c6
expression, util: implement new cast built-in function signatures ( #3266 )
2017-05-23 15:43:52 +08:00
282421cdb0
fix: time add parameter ( #3314 )
2017-05-23 14:29:09 +08:00
917b65c4a2
*: pass column index to kv store. ( #3280 )
2017-05-17 13:26:12 +08:00
ffee89b429
expression: add EvalDuration/EvalTime for expression ( #3278 )
2017-05-17 12:34:58 +08:00
69a55ad845
*: refactor a function name ( #3263 )
2017-05-16 14:43:03 +08:00
83375338c8
expression:correct comments mistake. ( #3272 )
2017-05-16 09:49:28 +08:00
d6ec37bb42
expression, util: refactor type resolver using new design ( #3247 )
2017-05-12 13:56:43 +08:00
3a522c7f94
expression: rewrite ConvertTz built-in functions ( #3222 )
2017-05-12 12:36:19 +08:00
76d6adb78d
add builtin time period diff func ( #3237 )
2017-05-11 18:15:31 +08:00
bc2bba1130
add:impl builtin uncompress & uncompressedlength ( #3136 )
2017-05-11 17:10:16 +08:00
56044645ee
expression: add setSelf for all built-in functions ( #3218 )
2017-05-11 13:51:03 +08:00
b0f66edfef
expression: add EvalInt/EvalString/EvalDecimal/EvalReal for CorColumn ( #3217 )
2017-05-11 10:45:27 +08:00
ad52a2462c
executor: add open inteferce for Executor. ( #3221 )
2017-05-09 21:13:22 +08:00
9a9db91f63
plan: move range calculation to package ranger ( #3208 )
2017-05-09 02:12:39 -05:00
60c705cc81
expression: refine builtin-func RAND (fix issue3211) ( #3213 )
2017-05-05 19:51:12 +08:00
cc3676abc0
*: fix aggregation bug in new plan. ( #3210 )
2017-05-05 13:37:06 +08:00
33c2262b9e
*: assign RetType for Constant/Column ( #3201 )
2017-05-05 12:01:01 +08:00
c8e674e6d4
builtin: IsIPv4Mapped function ( #3193 )
2017-05-04 10:31:33 +08:00