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
ab25fa9e90
expression: Make UUID() a dynamic function ( #3207 )
2017-05-04 10:16:28 +08:00
31314690a9
expression: remove baseExpr struct ( #3202 )
2017-05-03 16:15:53 +08:00
d1876810e3
expression: add EvalXXX functions for Constant and Column ( #3128 )
2017-05-03 15:17:06 +08:00
cfa1b19628
expression: rewrite compare built-in functions ( #3155 )
2017-05-02 19:59:04 +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
20be357e86
expression: fix buildin function found_rows() ( #3134 )
...
fix issue #3131 .
2017-05-02 11:40:10 +08:00
a9a33b0209
fix typo ( #3179 )
2017-04-29 00:24:27 +08:00
c646b59927
*: fix data race in join. ( #3159 )
2017-04-27 23:26:15 +08:00
350c79382a
*: support new table reader executor. ( #3133 )
2017-04-27 13:27:26 +08:00
4822322718
add buildin function UTC_TIME ( #3145 )
2017-04-26 22:07:49 +08:00
2693f264a7
*: Add truncate function in math ( #3077 )
2017-04-26 10:03:32 +08:00
b08ad4069a
expression: add interfaces for refactoring typeinferer ( #3094 )
2017-04-26 09:53:29 +08:00
ee312bfd71
expression: Fix code style according to goword ( #3123 )
...
ref https://github.com/pingcap/tidb/issues/3120
2017-04-25 23:35:45 +08:00
7699d3fb76
*: refine EvalBool function. ( #3139 )
2017-04-25 22:07:17 +08:00
8c51d4b4b1
Builtin: Add a new built-in functin MAKEDATE ( #3105 )
2017-04-24 08:09:12 +08:00
6518819274
builtin: inet6_aton function ( #3051 )
2017-04-24 07:57:31 +08:00
5243f6f461
expression: fixed pow/power return wrong error message when there more than two arguments. ( #3114 )
2017-04-23 21:13:27 +08:00
3b82630ff4
builtin bit_count ( #3087 )
2017-04-23 21:05:22 +08:00
1d8dbb1682
built_in string right ( #3088 )
2017-04-23 20:37:15 +08:00
050e7b32e2
expression: fix bug in sleep function. ( #3101 )
2017-04-21 13:31:13 +08:00
5d146946df
builtin: impl export_set ( #3036 )
2017-04-20 19:37:12 +08:00
c4764329f3
expression: add builtin function 'period_add' ( #3001 )
2017-04-20 13:23:04 +08:00
12f07daff2
expression: make group_concat handle character correct ( #2821 ) ( #3083 )
2017-04-19 22:06:03 +08:00
78d4520199
*: resolve conflict on 'in' and add builtin position ( #3079 )
2017-04-19 21:30:48 +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