Commit Graph

2910 Commits

Author SHA1 Message Date
Alexey Arno
90d85c9a77 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-03 14:55:51 +03:00
Alexey Vasiliev
49288b4043 Merge 2015-07-03 11:29:53 +03:00
Alexey Arno
5a3d5970c5 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-03 03:09:57 +03:00
Alexey Arno
7968c06699 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 17:26:15 +03:00
Alexey Arno
426e27d98e dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 17:14:07 +03:00
Alexey Arno
7ef2b9595a dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 16:35:28 +03:00
Alexey Arno
072d110f67 Merge 2015-07-01 20:33:00 +03:00
Alexey Arno
2f56341f00 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-01 20:32:04 +03:00
Alexey Arno
419bc03713 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-01 19:07:29 +03:00
Alexey Arno
557b0bf9cc dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-01 17:35:02 +03:00
Pavel Kartavyy
eee023ffa9 Merge 2015-07-01 16:07:05 +03:00
Alexey Milovidov
f07967515b dbms: addition to prev. revision [#METR-16946]. 2015-07-01 08:31:27 +03:00
Alexey Milovidov
5ed6a1d446 dbms: QueryLog: development [#METR-16946]. 2015-07-01 08:18:54 +03:00
Alexey Milovidov
cc8734c5aa dbms: addition to prev. revision [#METR-17105]. 2015-06-30 21:38:55 +03:00
Alexey Milovidov
b5e2e9a7ae dbms: function 'roundAge': fixed error [#METR-17105]. 2015-06-30 21:22:06 +03:00
Alexey Arno
d8b0510518 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-06-30 18:03:22 +03:00
Alexey Arno
eec6b89a4c dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-06-30 17:02:47 +03:00
Alexey Milovidov
b5fd5fe490 dbms: QueryLog: development (incomplete) [#METR-16946]. 2015-06-30 00:35:35 +03:00
Alexey Milovidov
c1ed7ca004 dbms: fixed error with LIKE [#METR-17078]. 2015-06-29 21:47:46 +03:00
Pavel Kartavyy
aaf7afaa13 Merge 2015-06-29 15:42:00 +03:00
Alexey Milovidov
d23de31335 dbms: improved performance for very long arrays [#METR-17061]. 2015-06-29 10:41:23 +03:00
Alexey Milovidov
9527f99d07 dbms: improved performance for very long arrays [#METR-17061]. 2015-06-29 08:46:55 +03:00
Alexey Milovidov
b308d79f5e dbms: improved performance of query parsing and analyzing with very long arrays [#METR-17061]. 2015-06-29 07:54:52 +03:00
Alexey Milovidov
c8b4a8f1be dbms: lowered default query_log.flush_interval_milliseconds to 7500 [#METR-16946]. 2015-06-28 10:34:58 +03:00
Alexey Milovidov
efc741efb0 dbms: added setting 'distributed_group_by_no_merge' [#METR-17060]. 2015-06-28 09:48:42 +03:00
Alexey Milovidov
4cebee36ea dbms: added setting 'skip_unavailable_shards' [#METR-17059]. 2015-06-28 09:38:18 +03:00
Alexey Milovidov
cdf90e9510 dbms: higher order functions: added support for constant expressions [#METR-17014]. 2015-06-28 09:25:12 +03:00
Alexey Milovidov
c36fdf0e56 dbms: initial implementation of QueryLog [#METR-16946]. 2015-06-26 23:48:10 +03:00
Alexey Milovidov
c9e225be12 dbms: QueryLog: development [#METR-16946]. 2015-06-26 22:23:25 +03:00
Alexey Arno
37f008afd0 dbms: Server: Added support for multiple time zones: part 1 (does not add any new functionality, does not change current functionality) [#METR-15618] 2015-06-26 18:11:31 +03:00
Andrey Mironov
f7ec7dbf9e dbms: ReadBuffer::ignore does not call eof when n == 0 [#MTRSADMIN-1093] 2015-06-26 13:38:15 +03:00
Alexey Arno
a522013939 Merge 2015-06-25 20:38:54 +03:00
Alexey Milovidov
4ecc523ea5 dbms: fixed error with using comparison of Date or DateTime with constant string in index [#METR-2944]. 2015-06-25 00:24:06 +03:00
Alexey Milovidov
8ab76848d7 dbms: QueryLog: development [#METR-16946]. 2015-06-23 00:26:03 +03:00
Andrey Mironov
f012d95b7a dbms: implement alter table detach unreplicated partition [#MTRSADMIN-1093] 2015-06-22 21:24:02 +03:00
Andrey Mironov
2ba22a4a8a dbms: ActiveDataPartSet::level no longer participates in ::contains and ::operator<. 2015-06-22 21:24:02 +03:00
Alexey Milovidov
6f3d8f0efc dbms: added simple priorities system [#METR-16911]. 2015-06-21 09:06:04 +03:00
Alexey Milovidov
001ffdfa18 dbms: fixed error with higher order functions [#METR-16894]. 2015-06-19 05:34:47 +03:00
Alexey Milovidov
0719320758 dbms: improvement [#METR-2944]. 2015-06-18 05:11:05 +03:00
Alexey Milovidov
b6ccb2f6f5 dbms: added support for arguments of type Array(String) for function if [#16700]. 2015-06-18 00:10:19 +03:00
Alexey Milovidov
0e01dad0a3 dbms: added support for numeric arrays for arguments of function if [#METR-16700]. 2015-06-17 05:02:53 +03:00
Alexey Milovidov
bb83c867fd dbms: added support for Array arguments of function 'if' (incomplete) [#METR-16700]. 2015-06-17 00:42:18 +03:00
Alexey Milovidov
73072b58c7 dbms: fixed comment [#METR-2944]. 2015-06-17 00:41:47 +03:00
Pavel Kartavyy
d6e101ae4b Merge 2015-06-16 17:46:24 +03:00
Alexey Vasiliev
528af6d7cf Merge 2015-06-15 16:53:46 +03:00
Alexey Milovidov
26813667eb dbms: allowed to compare Date and DateTime with constant string [#METR-2944]. 2015-06-12 10:46:58 +03:00
Alexey Milovidov
a9becd36ea dbms: allowed constant expressions in IN [#METR-2944]. 2015-06-12 08:18:47 +03:00
Alexey Milovidov
5b8008e2b1 dbms: fixed error with tuples [#METR-13649]. 2015-06-12 02:38:55 +03:00
Alexey Milovidov
7f0e6fd3c1 Merge 2015-06-11 03:35:36 +03:00
Alexey Milovidov
bc17c73ee4 SipHash: allowed not to call update for empty strings (less than 0.3% performance degradation on all test data) [#METR-16781]. 2015-06-10 22:56:57 +03:00
Andrey Mironov
c4d1887a6f dbms: correctly (I hope) determine PREWHERE dependencies for defaults [#METR-16589] 2015-06-10 17:49:38 +03:00
Andrey Mironov
ea4f4420ba dbms: replace old lower/upper(UTF8) with vectorized ones [#METR-14764] 2015-06-10 15:47:27 +03:00
Pavel Kartavyy
4463a747da ReadHelpers: add assertChar function [#METR-15514] 2015-06-10 11:14:46 +03:00
Pavel Kartavyy
6d71c367ed WriteHelpers: add template specialization for const char * [#METR-15514] 2015-06-10 11:11:32 +03:00
Alexey Milovidov
9237e308fb dbms: JOIN: added checking of types of key columns [#METR-16762]. 2015-06-10 02:50:22 +03:00
Alexey Milovidov
161d30c902 dbms: adding checking of types when JOIN (incomplete) [#METR-16762]. 2015-06-10 00:34:45 +03:00
Alexey Milovidov
18a8e1f0ca dbms: StorageBuffer: added missing support for defaults [#METR-16722]. 2015-06-09 22:43:06 +03:00
Alexey Milovidov
b64f094d84 dbms: tiny improvement [#METR-2944]. 2015-06-09 21:58:18 +03:00
Andrey Mironov
4fca014e1b dbms: reload initially failed dictionaries with exponential backoff [#METR-16702] 2015-06-09 19:18:49 +03:00
Alexey Milovidov
c94bd2fc09 dbms: removed useless code [#METR-16739]. 2015-06-08 23:22:02 +03:00
Alexey Milovidov
0b3c071eb9 dbms: removed useless code [#METR-16739]. 2015-06-08 23:19:28 +03:00
Andrey Mironov
432687925c dbms: prevent moving array join-ed columns to PREWHERE. No diagnostic for ExpressionAnalyzer yet though [#METR-16525] 2015-06-08 19:05:44 +03:00
Alexey Milovidov
97782b4855 dbms: fixed error with memory tracking [#METR-16433]. 2015-06-08 07:59:45 +03:00
Alexey Milovidov
51be2693ee dbms: addition to SETTINGS [#METR-16354]. 2015-06-06 23:00:08 +03:00
Alexey Milovidov
417ab909b8 dbms: added functions for manipulation of aggregation states [#METR-16677]. 2015-06-06 03:28:37 +03:00
Alexey Milovidov
890ee9c0fa dbms: removed aggregate function 'debug' [#METR-2944]. 2015-06-06 02:19:15 +03:00
Alexey Milovidov
854a2f4cc8 dbms: added optional section SETTINGS to SELECT query [#METR-16354]. 2015-06-06 00:28:04 +03:00
Alexey Milovidov
f78e0925da Merge 2015-06-05 20:41:51 +03:00
Alexey Milovidov
58465191e8 dbms: fixed error: stuck with too much parts [#METR-16703]. 2015-06-05 20:34:57 +03:00
Andrey Mironov
0326ee5a2e Merge 2015-06-05 20:30:24 +03:00
Andrey Mironov
5a21f3908b dbms: SSE lower/upperUTF8 faster handling of cyrillic sequences[#METR-14764] 2015-06-04 15:16:48 +03:00
Alexey Arno
b86aa4785c dbms: Server: Avoid negative zeroes in all of the remaining cases. [#METR-15210] 2015-06-03 20:01:30 +03:00
Andrey Mironov
1037433f3d dbms: finally fix out-of-bounds access in SSE lower/upper UTF8[#METR-14764] 2015-06-03 19:08:39 +03:00
Alexey Arno
ce1e437c09 dbms: Server: Added function toStartOfFiveMinute. [#METR-14495] 2015-06-03 17:27:03 +03:00
Alexey Arno
de8ad31161 dbms: Server: Added comment. [#METR-16386] 2015-06-03 16:20:19 +03:00
Alexey Arno
59e894426a dbms: Server: Added version function. [#METR-16386] 2015-06-03 16:11:59 +03:00
Alexey Arno
ac80e39c1e dbms: Server: Deleted forgotten garbage from header file. [#METR-16546] 2015-06-03 14:28:16 +03:00
Alexey Milovidov
8d09c7f618 dbms: additions [#METR-15987]. 2015-06-03 06:55:29 +03:00
Alexey Milovidov
c341bd2c60 dbms: function 'transform': added support for non-const argument with default value [#METR-15987]. 2015-06-03 06:29:28 +03:00
Alexey Milovidov
c19193cf61 Merge 2015-06-02 23:22:53 +03:00
Alexey Arno
20fe37511f Merge 2015-06-02 14:16:02 +03:00
Andrey Mironov
018a31f416 dbms: SSE lower/upperUTF8 fix calculation of array end aligned to a multiple of 16 [#METR-14764] 2015-06-01 15:51:07 +03:00
Alexey Milovidov
96f1bbc379 dbms: added support for randomization of quota intervals [#METR-16576]. 2015-05-30 00:32:10 +03:00
Alexey Milovidov
98594561d5 dbms: fixed error [#METR-15210]. 2015-05-29 19:46:46 +03:00
Alexey Milovidov
f16cdbdefa dbms: tiny modifications for rounding functions [#METR-15210]. 2015-05-29 19:09:51 +03:00
Andrey Mironov
78bda3cd50 dbms: SSE lower/upperUTF8 finer granularity, more realistic approach [#METR-14764] 2015-05-29 17:58:33 +03:00
Andrey Mironov
ff7dc2635b dbms: SSE lower/upper(UTF8) fix logical error, disable SSE4.2 [#METR-14764] 2015-05-29 13:43:05 +03:00
Andrey Mironov
8825aa2db3 dbms: SSE lower/upper(UTF8) fix hardcode and harness SSE4.2 [#METR-14764] 2015-05-29 11:43:20 +03:00
Alexey Milovidov
3db1bf63a2 dbms: fixed error [#METR-16575] [#METR-16573]. 2015-05-29 03:33:56 +03:00
Alexey Milovidov
3786513a3c dbms: fixing error [#METR-16575]. 2015-05-29 00:41:28 +03:00
Alexey Arno
b2679d1886 Merge 2015-05-28 17:01:46 +03:00
Alexey Arno
8125cad146 dbms: Server: Performance improvements. [#METR-15210] 2015-05-28 17:00:52 +03:00
Alexey Arno
79bad96d98 dbms: Server: Performance improvements. [#METR-15210] 2015-05-28 15:58:09 +03:00
Andrey Mironov
b06bdb0edf dbms: add SSE variants of lower/upper and UTF8 equivalents [#METR-14764] 2015-05-28 15:33:07 +03:00
Alexey Milovidov
40f0a9c4d9 dbms: fixed error with false-broken parts [#METR-16545]. 2015-05-28 07:32:38 +03:00
Alexey Milovidov
986f7b55bb dbms: addition to prev. revision [#METR-16545]. 2015-05-28 07:09:09 +03:00
Alexey Milovidov
0984363b9c dbms: removed passing DataTypeFactory everywhere [#METR-16545]. 2015-05-28 06:49:28 +03:00
Alexey Arno
463ee81a9d dbms: Server: Performance improvements + fixed rounding algorithm for negative precisions. [#METR-15210] 2015-05-28 01:59:46 +03:00
Alexey Milovidov
5390f492e1 dbms: JOIN with empty table: additions [#METR-16476]. 2015-05-27 03:55:54 +03:00
Andrey Mironov
7f38ad390e dbms: allow specifying expressions for dictionary attributes [#METR-16432] 2015-05-26 18:09:53 +03:00
Andrey Mironov
ff4fb2784a zkutil: rework KeeperException to minimize repetition, set non-zero return code for KeeperException, process ZSESSIONMOVED as unrecoverable 2015-05-26 17:40:36 +03:00
Andrey Mironov
afa79bfcda dbms: add parsing of expression to DictionaryStructure [#METR-16432] 2015-05-26 15:24:31 +03:00
Andrey Mironov
31b868184d dbms: show all dictionaries in system.dictionaries, even the ones failed to load. [#METR-16466] 2015-05-26 14:54:05 +03:00
Alexey Milovidov
baaf5d0485 dbms: allowed to JOIN with empty table [#METR-16476]. 2015-05-26 03:37:48 +03:00
Alexey Milovidov
c160b7e460 dbms: tiny modification [#METR-2944]. 2015-05-26 03:35:13 +03:00
Sergey Magidovich
09e5261dff Merge 2015-05-25 18:44:30 +03:00
Andrey Mironov
fef078c8ec Merge 2015-05-25 18:33:44 +03:00
Alexey Arno
c965ef892a Merge 2015-05-25 18:09:12 +03:00
Sergey Magidovich
1143c9def9 statdaemons: Add test. [#MOBMET-1661] 2015-05-25 17:10:30 +03:00
Alexey Arno
57287a28c1 Merge 2015-05-25 16:39:06 +03:00
Pavel Kartavyy
52b004722e CalcCloud: fix compability with java StoreInfo 2015-05-25 16:20:17 +03:00
Pavel Kartavyy
ce8e182d9c dbms: fix comments for network_compression_method [#METR-16391] 2015-05-22 18:22:37 +03:00
Pavel Kartavyy
665afc2550 dbms: renamed SettingsNetworkCompressionMethod to SettingsCompressionMethod[#METR-16391] 2015-05-22 18:22:36 +03:00
Pavel Kartavyy
392dc138ba dbms: add compression method to client [#METR-16391] 2015-05-22 18:22:36 +03:00
Pavel Kartavyy
65d74a6195 dbms: add network compression method to settings [#METR-16391]
dbms: add network compression method to settings [#METR-16391]
2015-05-22 18:22:36 +03:00
Andrey Mironov
f465feeb28 dbms: DictionarySource::loadIds pass ids by reference to const.
Allow specifying "where" for MySQL and ClickHouse dictionary sources [#METR-16432]
2015-05-22 16:25:59 +03:00
Andrey Mironov
9b5ff37c09 dbms: set optimize_move_to_prewhere to on by default [#METR-13020] 2015-05-21 19:26:23 +03:00
Andrey Mironov
728d367d34 dbms: FunctionsMath: use Vec2d::store for faster stores 2015-05-21 15:26:29 +03:00
Pavel Kartavyy
f377dccdf1 PoolWothFailover: fix wrong exception type 2015-05-21 14:19:58 +03:00
Alexey Arno
569a383606 dbms: Server: bug fix. [#METR-15210] 2015-05-20 19:21:58 +03:00
Alexey Arno
1143cfb7ad dbms: Server: performance optimizations. [#METR-15210] 2015-05-20 18:34:09 +03:00
Alexey Arno
793d1accfc dbms: Server: performance optimizations. [#METR-15210] 2015-05-20 17:00:40 +03:00
Alexey Arno
6dca411831 Merge 2015-05-20 16:21:39 +03:00
Alexey Arno
c5535adb03 dbms: Server: MySQL conformant behavior for limit cases. [#METR-16188] 2015-05-20 15:35:15 +03:00
Alexey Arno
262564a0d5 dbms: Server: MySQL conformant behavior for limit cases. [#METR-16188] 2015-05-20 15:18:46 +03:00
Alexey Arno
3658260d63 dbms: Server: refactoring. [#METR-16188] 2015-05-20 15:04:33 +03:00
Alexey Arno
758add05b4 dbms: Server: refactoring. [#METR-16188] 2015-05-20 14:09:54 +03:00
Alexey Arno
76dcc45edf dbms: Server: Small style cleanup + numerical stability improvement for covariance and correlation. [#METR-16188] 2015-05-20 12:17:25 +03:00
Alexey Arno
b46ce05dbe Merge 2015-05-19 18:06:12 +03:00
Alexey Arno
a29d67c82d dbms: Server: Feature implementation. [#METR-16188] 2015-05-19 18:03:17 +03:00
Alexey Arno
b3418c08a2 Merge 2015-05-19 16:53:23 +03:00
Alexey Arno
2421d53033 dbms: Server: small cosmetic change. [#METR-15210] 2015-05-19 16:31:14 +03:00
Alexey Arno
8a36ba31c8 dbms: Server: small cosmetic change. [#METR-15210] 2015-05-19 16:26:23 +03:00
Alexey Arno
30eef142b3 Merge 2015-05-19 16:23:13 +03:00
Alexey Milovidov
3dfb212562 Merge 2015-05-19 00:20:43 +03:00
Pavel Kartavyy
4dce7fb109 dbms: log number of threads in background pool 2015-05-18 17:09:05 +03:00
Pavel Kartavyy
c6e7584fbb ███████████: obtain leadership before iteration. check before commit [#METR-16024]
Signed-off-by: Pavel Kartavyy <kartavyy@yandex-team.ru>
2015-05-18 15:38:50 +03:00
Alexey Arno
5f0a1cab74 dbms: Server: Feature implementation. [#METR-16188] 2015-05-18 01:33:17 +03:00
Alexey Arno
bf6aecc826 dbms: Server: Feature implementation. [#METR-16188] 2015-05-17 20:46:21 +03:00
Alexey Milovidov
b96f132d21 dbms: fixed error with regionToContinent [#METR-2944]. 2015-05-17 02:49:13 +03:00
Alexey Milovidov
df8eefd79e dbms: tiny fixes [#METR-16266]. 2015-05-16 11:33:32 +03:00
Alexey Arno
fe3b31bd97 dbms: Server: Feature implementation. [#METR-16188] 2015-05-16 00:02:29 +03:00
Alexey Arno
3b2a84264e dbms: Server: Feature implementation. [#METR-16188] 2015-05-15 19:54:17 +03:00
Alexey Arno
b9014db828 dbms: Server: Feature implementation. [#METR-16188] 2015-05-15 18:13:59 +03:00
Alexey Arno
b0abc2dc2a dbms: Server: Feature implementation. [#METR-16188] 2015-05-15 18:01:05 +03:00
Alexey Arno
ae16cb6ac2 dbms: Server: cosmetic change. [#METR-15210] 2015-05-14 15:43:42 +03:00
Alexey Arno
897f809463 dbms: Server: cosmetic change. [#METR-15210] 2015-05-14 15:33:52 +03:00
Alexey Arno
aa6fb6b229 Merge 2015-05-14 15:08:27 +03:00
Alexey Arno
5d0e5ec60c dbms: Server: better designed initialization. Does not change anything. [#METR-15090] 2015-05-14 00:28:28 +03:00
Andrey Mironov
095fd54ae8 dbms: correctly handle injective dictGet* functions during ExpressionAnalyzer's optimizations. 2015-05-13 19:11:24 +03:00