3d21df2f74
expression: let store be able to use expression pkg. ( #2999 )
2017-04-06 17:52:28 +08:00
57d73efac0
plan: add tests of flag for FieldType ( #2998 )
2017-04-06 15:58:01 +08:00
79676b15f0
*: Support aggregation with DAG ( #2970 )
2017-04-06 14:56:47 +08:00
a040dc8421
Builtin: add builtin function "TIMESTAMPADD" ( #2992 )
2017-04-06 12:41:32 +08:00
b6ff4ad4b1
statistics: add bucket structure. ( #2993 )
2017-04-06 10:15:18 +08:00
61228e5a96
add builtin function inet_aton ( #2882 )
2017-04-05 23:14:32 +08:00
a125e5378c
add mysql builtin function cos,from_base64,tan,cot ( #2977 )
2017-04-05 22:35:28 +08:00
55b3cd1d88
plan: update the function of finshTask ( #2996 )
2017-04-05 21:41:37 +08:00
fac3eb283b
plan, executor: add logical prefix for agg, join and apply. ( #2985 )
2017-04-05 19:38:35 +08:00
f7cc682eed
*: support Super_priv ( #2990 )
2017-04-05 19:21:07 +08:00
33cb0d6844
*: Update the row structure in executor ( #2989 )
2017-04-05 16:09:40 +08:00
c9e3b81c53
Parser: Fix function resolution rule for 'TIMESTAMPADD' and 'TIMESTAMPDIFF' ( #2991 )
2017-04-05 14:01:47 +08:00
c88280978b
infoschema: add INFORMATION_SCHEMA.ENGINES table ( #2988 )
2017-04-05 13:19:11 +08:00
2bac467c0d
with some spelling mistakes ( #2986 )
2017-04-05 10:34:09 +08:00
61be27d4ac
*: Update the return value type of CutRow and CutIndexKey to [][]byte ( #2978 )
2017-04-01 18:53:52 +08:00
aaa6184670
*: implement index nested loop join ( #2945 )
2017-04-01 15:12:20 +08:00
16cefef717
executor, statistics: use FM sketch to estimate NDV ( #2966 )
2017-04-01 15:03:54 +08:00
82285af11d
*: change the way of column estimating. ( #2956 )
...
When the ddl happens after loading stats. We can estimate as peusdo column for the missed column, instead of making the whole table peusdo.
I havn't processed the case of index. It's the first step.
2017-04-01 14:55:09 +08:00
3625c1dd4e
plan: add base phyiscal plan. ( #2975 )
...
add basePhysicalPlan to implement some common physical interface.
2017-04-01 13:53:31 +08:00
172381f892
store/tikv:fix bug in compute lock ttl with little write data ( #2980 )
2017-04-01 12:01:08 +08:00
9cb61b047d
column: fix false negative utf8 check ( #2979 )
...
unicode 'u\fffd' is used to represent utf8 error when range a string, but itself is a valid utf8 character.
2017-03-31 21:31:42 +08:00
efc9200a94
ddl: remove index_test.go ( #2974 )
...
The tests in `index_test.go` is the old implementation to test index change.
In the tests, we mock DML queries during DDL operation by calling Table functions directly
It's not the same behavior as normal query.
Since we already covered the DDL index change in `index_change_test.go` and this test is unstable.
We can safely remove it.
2017-03-31 19:05:31 +08:00
f66c46953d
*: remove MySQL enterprise functions definition. ( #2973 )
2017-03-31 18:03:19 +08:00
e61cd61f81
plan: rename the types. ( #2964 )
2017-03-31 13:51:54 +08:00
5516ca56e6
builtin: add compress funciton ( #2879 )
2017-03-31 13:33:00 +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
d0821dacea
plan: add task profile. ( #2902 )
2017-03-31 13:04:06 +08:00
53066fd61a
util/mvmap: keep the input order when get multiple values. ( #2971 )
...
Some ORM tests assumes the input order when join tables.
2017-03-31 11:23:03 +08:00
4780bb478e
store/tikv: use backoffer context for pd client calls ( #2953 )
2017-03-31 11:13:24 +08:00
b9deb5e7aa
privilege: rename interface name from Checker to Manager ( #2969 )
2017-03-31 10:55:38 +08:00
a168f413ba
executor: reduce memory usage and GC overhead for hash join. ( #2957 )
...
Implemented and use MVMap to reduce GC overhead and memory usage for hash join.
2017-03-30 23:04:02 +08:00
6860e0e6b7
tikv:do retry on request with tikv failure when is not Cancelled. ( #2950 )
2017-03-30 20:23:31 +08:00
3c494b7df1
*: add INFORMATION_SCHEMA.USER_PRIVILEGES table ( #2963 )
2017-03-30 17:10:14 +08:00
282ffd9c03
plan: optimize explain result ( #2967 )
2017-03-30 17:02:09 +08:00
992f367924
*: fix batch insert test data race ( #2968 )
...
Use atomic functions to access limit variable.
2017-03-30 16:36:04 +08:00
aa8298ef6e
distsql: return zeroLenData if data length is nil. ( #2965 )
...
TiKV doesn't return RowsData when RowsData length is 0, so we sliced a nil data when
data length is zero.
This can only be reproduced on TiKV, so no unit test is added.
2017-03-30 15:54:27 +08:00
e068663cdc
Auto split insert data into multiple batches. ( #2958 )
...
Add a sysvar to enable batch insert data and disable batch insert in transaction.
2017-03-30 14:57:55 +08:00
d87afa1014
types: Add missing TypeNewDate in ConvertTo ( #2962 )
2017-03-30 14:39:11 +08:00
904101210b
executor: fix decode row panic ( #2961 )
...
Index Schema may be replaced by aggregation schema, which may be longer than
original schema length, in this case decode row will panic.
2017-03-30 13:15:04 +08:00
6d7dc9228a
statistics: implement FM Sketch ( #2947 )
2017-03-30 11:27:16 +08:00
b48e5fe72b
plan:fix case-when and coalesce type inferer ( #2918 )
2017-03-29 23:22:57 +08:00
8f79c2031b
parser: change intLit to decLit when the value out of range ( #2954 )
2017-03-29 23:16:48 +08:00
e7bb049b0e
statistics: adjust codes. ( #2952 )
2017-03-29 18:09:47 +08:00
ad13ca15ca
session: reset affected rows in retry. ( #2949 )
2017-03-29 16:09:47 +08:00
a2eb611ea5
*: add built-in function is_ipv4 ( #2864 )
2017-03-29 15:31:57 +08:00
78f7eab61d
*: refactor distsql and executor. ( #2942 )
2017-03-29 15:20:25 +08:00
3bfc8207bc
expression: fix bug about function equal logic. ( #2951 )
2017-03-29 14:38:39 +08:00
ee7df059e3
statistics: refactor package. ( #2913 )
2017-03-29 11:32:40 +08:00
1253d2b87b
builtin: get_format function implemented. ( #2932 )
2017-03-29 09:11:47 +08:00