Commit Graph

2964 Commits

Author SHA1 Message Date
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
Pavel Kartavyy
6f1f6e3d99 Merge 2015-05-12 17:44:10 +03:00
Alexey Milovidov
8a1ea8cdad dbms: disabled max_streams_to_max_threads_ratio by default [#METR-2944]. 2015-05-12 08:01:43 +03:00
Alexey Milovidov
e3b0c97b0f dbms: fixed error with merging [#METR-16247]. 2015-05-12 07:55:14 +03:00
Alexey Milovidov
566b62854b dbms: more unform distribution of work among threads (experimental) [#METR-2944]. 2015-05-11 03:11:22 +03:00
Andrey Mironov
2c58c9ea50 dbms: add system.dictionaries.query_count field [#METR-
15569]
2015-05-08 15:31:34 +03:00
Pavel Kartavyy
751344d1f4 dbms: throw NetExceptions on errors with Network [#METR-15570] 2015-05-08 12:24:42 +03:00
Pavel Kartavyy
8ae0453076 dbms: removed unused exception [#METR-15570] 2015-05-08 12:24:42 +03:00
Pavel Kartavyy
8e0041e9d0 dbms: error codes - refactoring [#METR-15570] 2015-05-08 12:24:42 +03:00
Andrey Mironov
759f10aa88 dbms: add builtin_dictionaries_reload_interval to config [#METR-16143] 2015-05-07 18:06:11 +03:00
Andrey Mironov
b9b0ebb0f8 dbms: prohibit chaining of temporal conditions [#METR-16058] 2015-05-07 17:04:28 +03:00
Andrey Mironov
64dc50dfa4 dbms: implementation of temporal conditions [#METR-16058] 2015-05-07 17:04:28 +03:00
Andrey Mironov
27ebf02a8d dbms: simplify sequenceMatch prototype by appending .* before any pattern [#METR-16058] 2015-05-07 17:04:27 +03:00
Andrey Mironov
6acdcb281d dbms: sequenceMatch: remove usage of continue [#METR-16058] 2015-05-07 17:04:27 +03:00
Andrey Mironov
be67de26b5 dbms: sequenceMatch aggregate function draft, temporal conditions currently ignored [#METR-16058] 2015-05-07 17:04:27 +03:00
Alexey Arno
51711df1c0 Removed blank. [#METR-15652] 2015-05-07 15:28:41 +03:00
Alexey Arno
ac6a365ea1 Greatly simplfied code. [#METR-15652] 2015-05-07 15:28:09 +03:00
Alexey Arno
44066984cf Merge 2015-05-07 13:31:50 +03:00
Alexey Milovidov
c57063be27 Merge 2015-05-07 02:35:54 +03:00
Alexey Milovidov
a5afb7a863 dbms: cut dependency [#METR-2944]. 2015-05-07 02:35:37 +03:00
Alexey Milovidov
9c99febfc3 dbms: added ProfileEvents for Compiler [#METR-16212]. 2015-05-05 18:50:20 +03:00
Alexey Milovidov
46eb776111 dbms: increased 'max_ast_elements' by default and for profile 'web' [#METRIKASUPP-5044]. 2015-05-05 17:54:14 +03:00
Alexey Arno
550d5e9e7a dbms: Server: Fixed hostname + IP address presentation. [#METR-15859] 2015-05-05 13:13:45 +03:00
Alexey Milovidov
6ce28acc0f dbms: cut dependency [#METR-2944]. 2015-05-04 20:52:19 +03:00
Alexey Milovidov
f33943144d Revert "dbms: improvement [#METR-16164]."
This reverts commit b9f977d430df589f006d6c2bb3ffc32bc2f54a31.
2015-05-03 12:13:29 +03:00
Alexey Milovidov
310ed66b00 Revert "dbms: improvement (incomplete) [#METR-16164]."
This reverts commit 6f4f44ce7980cace32edd0913b8d1d53cd51682b.
2015-05-03 12:13:08 +03:00
Alexey Milovidov
2f2c7869f6 dbms: fixed error [#METR-16164]. 2015-05-03 11:06:15 +03:00
Alexey Arno
47b9cd0dd6 dbms: Server: Small cosmetic cleanup. [#METR-15090] 2015-04-30 18:04:42 +03:00
Alexey Arno
fa78aa633f Merge 2015-04-30 15:43:16 +03:00
Alexey Milovidov
b5f1084132 dbms: improvement (incomplete) [#METR-16164]. 2015-04-30 08:45:34 +03:00
Alexey Milovidov
cb1301d3cb dbms: improvement [#METR-16164]. 2015-04-30 00:30:40 +03:00
Alexey Milovidov
685aa695bb dbms: function 'transform': added support for constant argument [#METR-15987]. 2015-04-29 04:30:44 +03:00
Alexey Milovidov
738e736500 dbms: function 'transform': development [#METR-15987]. 2015-04-28 08:21:41 +03:00
Alexey Milovidov
d371b7c843 dbms: function 'transform': development [#METR-15987]. 2015-04-28 07:47:27 +03:00
Alexey Milovidov
c89970cc01 dbms: fixed comment [#METR-2944]. 2015-04-28 07:35:54 +03:00
Alexey Milovidov
123cd3340d dbms: function 'transform': development [#METR-15987]. 2015-04-28 06:54:57 +03:00
Alexey Milovidov
5e230a6b2d dbms: function 'transform': development [#METR-15987]. 2015-04-28 06:38:41 +03:00
Alexey Arno
5463d74a84 Merge 2015-04-24 18:49:30 +03:00
Alexey Arno
e1b6730e5b Merge 2015-04-24 15:26:23 +03:00
Alexey Arno
999bc75dfe dbms: Server: Removed unneeded optimization (ii). [#METR-14408] 2015-04-23 16:16:42 +03:00
Alexey Arno
a15052e0e6 Merge 2015-04-23 15:57:39 +03:00
Alexey Arno
80850909c7 Merge 2015-04-23 14:07:15 +03:00
Alexey Milovidov
2c067ad2c2 dbms: fixed error [#METR-16053]. 2015-04-23 03:20:41 +03:00
Alexey Milovidov
30c800bb69 dbms: fixed error [#METR-16053]. 2015-04-23 00:26:12 +03:00
Alexey Arno
cd24f85cfe dbms: Server: Reduced the number of open files. [#METR-15090] 2015-04-22 16:37:30 +03:00
Alexey Arno
5136ffb2a6 dbms: Server: Simplified code. [#METR-14408] 2015-04-21 18:12:08 +03:00
Andrey Mironov
77b2ef6f81 Merge 2015-04-21 16:10:08 +03:00
Alexey Milovidov
4f469ea831 dbms: preparation [#METR-15418]. 2015-04-19 01:33:24 +03:00
Alexey Milovidov
9077eb4f3c dbms: preparation [#METR-15418]. 2015-04-19 01:30:43 +03:00
Alexey Arno
8a317f076d Merge 2015-04-17 16:56:29 +03:00
Alexey Milovidov
a2f2cc369d dbms: preparation for FULL and RIGHT JOINs [#METR-15418]. 2015-04-17 11:46:06 +03:00
Alexey Milovidov
124a12095a dbms: added support for selecting stronger compression method [#METR-15386]. 2015-04-17 08:35:53 +03:00
Alexey Arno
7d00e235ea Merge 2015-04-16 17:27:56 +03:00
Alexey Milovidov
4c703cbfd7 dbms: added profile events for AIO and ordinary IO [#METR-15090]. 2015-04-16 15:06:05 +03:00
Alexey Milovidov
a5ac7fb70c dbms: disabled direct IO by default [#METR-15090]. 2015-04-16 14:47:17 +03:00
Alexey Milovidov
e871f4efe2 dbms: added support for arrays in tuple in NativeBlock streams [#METR-15964]. 2015-04-16 13:48:35 +03:00
Alexey Milovidov
97cbc17863 Merge 2015-04-16 12:56:29 +03:00
Alexey Milovidov
c89b7dcf92 dbms: implementation of WITH TOTALS inside JOINed subqueries [#METR-15417]. 2015-04-16 12:55:24 +03:00
Alexey Arno
ba9df3a39a dbms: Server: Correctly disconnect when exceptions occur in RemoteBlockInputStream. [#METR-15689] 2015-04-16 12:29:40 +03:00
Alexey Arno
72297de7f5 Merge 2015-04-16 11:51:03 +03:00
Alexey Milovidov
e4bd9b1dec dbms: cut another dependency [#METR-2944]. 2015-04-16 10:22:29 +03:00
Alexey Milovidov
114b3de689 dbms: cut dependencies [#METR-2944]. 2015-04-16 09:12:35 +03:00
Andrey Mironov
bedd5e7c26 dbms: add function URLHash plus tests [#METR-15826] 2015-04-15 18:00:28 +03:00
Alexey Arno
bc2de9a94d dbms: Server: Correctly disconnect when exceptions occur in RemoteBlockInputStream. [#METR-15689] 2015-04-15 16:23:37 +03:00
Alexey Arno
ac1e12e8dc dbms: Server: tweaked comments. [#METR-15090] 2015-04-15 11:45:22 +03:00
Alexey Milovidov
3a658e4b26 dbms: fixed error with multiquery mode in Client [#METR-15975]. 2015-04-14 23:46:34 +03:00
Alexey Arno
7415b65a55 Merge 2015-04-14 18:00:57 +03:00
Alexey Milovidov
cfd2d2aad5 dbms: removed useless code [#METR-2944]. 2015-04-14 05:55:59 +03:00
Alexey Milovidov
c4ea83a906 dbms: cut dependencies [#METR-2944]. 2015-04-14 05:45:30 +03:00
Alexey Milovidov
463526910d dbms: little better [#METR-15933]. 2015-04-14 04:39:30 +03:00
Andrey Mironov
620cd64569 Merge 2015-04-13 15:05:58 +03:00
Alexey Milovidov
cac503ff82 Merge 2015-04-12 07:39:20 +03:00
Alexey Milovidov
00305592bc dbms: addition to prev. revision [#METR-15933]. 2015-04-11 07:15:14 +03:00
Alexey Milovidov
9ec393df61 dbms: better diagnostics on syntax error [#METR-15933]. 2015-04-11 06:10:23 +03:00
Alexey Arno
b5c1932b8c Merge 2015-04-10 20:51:39 +03:00
Andrey Mironov
26cfbd6e96 dbms: fix merge [#METR-15836] 2015-04-10 18:54:51 +03:00
Andrey Mironov
486568015e Merge 2015-04-10 18:13:26 +03:00
Andrey Mironov
226b11b887 dbms: fix test reference and bring commentaries up-to-date [#METR-15913]. 2015-04-10 13:02:57 +03:00
Alexey Milovidov
eaa412df2b dbms: added setting 'strict_insert_defaults' (incomplete) [#METR-15913]. 2015-04-10 03:43:08 +03:00
Andrey Mironov
6cde3424bc Merge 2015-04-09 20:01:12 +03:00
Andrey Mironov
0aec8580b1 dbms: add rich commentary [#METR-15836] 2015-04-09 14:34:50 +03:00
Alexey Milovidov
7d4bf16d06 dbms: fixed Block::insertDefault method for elements of nested data structures (it is used in AddedDefaultsBlockInputStream, InterpreterInsertQuery) [#METR-15896]. 2015-04-09 05:10:06 +03:00
Alexey Milovidov
543c4c92cb dbms: removed dead code; healing corrupted nested columns [#METR-15896]. 2015-04-09 03:37:08 +03:00
Andrey Mironov
e64fbdf250 dbms: addition to previous commit [#METR-15836] 2015-04-08 19:57:01 +03:00
Andrey Mironov
1e794acb87 Merge 2015-04-08 19:39:02 +03:00
Alexey Milovidov
e74b56c1d7 dbms: fixed deadlock [#METR-15843]. 2015-04-08 00:24:05 +03:00
Alexey Milovidov
f1dc2f4775 dbms: fixed error [#METR-15387]. 2015-04-03 19:16:02 +03:00
Andrey Mironov
e267ba87f0 dbms: rename isNan to isNaN [#METR-15731] 2015-04-03 17:52:33 +03:00
Andrey Mironov
4ed57ac566 dbms: add functions isFinite, isInfinite, isNan [#METR-METR-15731] 2015-04-03 16:30:51 +03:00
Andrey Mironov
2de6e4a51b Merge 2015-04-03 13:10:38 +03:00
Andrey Mironov
ba2e06a6e6 propagate exception from dictionaries on server start, fix race condition 2015-04-02 19:37:05 +03:00
Andrey Mironov
ebd953e1b6 Merge 2015-04-02 19:37:05 +03:00
Andrey Mironov
ea9f5f2488 return old-fashioned code for calculation of total_rows 2015-04-02 12:36:40 +03:00
Alexey Milovidov
376087dd00 dbms: addition to prev. revision [#METR-15804]. 2015-04-02 06:19:09 +03:00
Alexey Milovidov
f6600e38d4 Merge 2015-04-02 06:17:10 +03:00
Alexey Milovidov
edf7fdc58d dbms: fixed error [#METR-15804]. 2015-04-02 06:08:43 +03:00
Andrey Mironov
6dcee7e9a5 Merge 2015-04-01 14:45:01 +03:00
Andrey Mironov
c707bd3bc4 dbms: add FixedString support for function toFixedString 2015-04-01 14:45:01 +03:00
Andrey Mironov
4760f61f39 Merge 2015-04-01 14:45:01 +03:00
Alexey Milovidov
666c154e5d dbms: fixed compiler, added test [#METR-2944]. 2015-04-01 07:14:15 +03:00
Alexey Milovidov
7acee77529 dbms: improved performance [#METR-15790]. 2015-04-01 05:55:52 +03:00
Alexey Milovidov
54397c6c7a dbms: added support for parsing 10-digits unix timestamp as DateTime (in addition to YYYY-MM-DD hh:mm:ss format) [#METR-15790]. 2015-04-01 00:09:19 +03:00
Alexey Milovidov
d3d3329d79 dbms: updated default setting for compiler [#METR-2944]. 2015-03-29 12:20:28 +03:00
Alexey Milovidov
be630f9fae dbms: better diagnostics of errors in TabSeparated format [#METR-15574]. 2015-03-29 12:02:24 +03:00
Alexey Milovidov
3d80f45b71 dbms: better diagnostics of errors in TabSeparated format (development) [#METR-15574]. 2015-03-29 11:44:04 +03:00
Alexey Milovidov
92c2a9ceaa dbms: better diagnostics of errors in TabSeparated format (development) [#METR-15574]. 2015-03-29 10:13:38 +03:00
Andrey Mironov
082620d054 dbms: do not attempt loading builtin dictionaries if config has no corresponding keys. [#METR-15691] 2015-03-27 18:44:52 +03:00
Andrey Mironov
edbe23ac1f dbms: add dictionaries_lazy_load config parameter, defaults to true. [#METR-15691] 2015-03-27 16:11:31 +03:00
Andrey Mironov
fed50c4702 dbms: add tryLogCurrentException overload taking a pointer to Poco::Logger 2015-03-27 16:11:31 +03:00
Alexey Arno
1c9aa586ed Merge 2015-03-27 13:51:33 +03:00
Alexey Milovidov
06c35e0faa dbms: improvement [#METR-15484]. 2015-03-27 06:37:46 +03:00
Alexey Milovidov
cfc5b313cc dbms: fixed 'force_index_by_date' setting [#METR-15484]. 2015-03-27 06:06:06 +03:00
Alexey Milovidov
048eed9424 dbms: improved performance of LIKE and regexp search [#METR-15690]. 2015-03-27 05:12:45 +03:00
Alexey Arno
732a80d833 dbms: Server: Fixed race condition in PoolWithFailoverBase in a more elegant way. [#METR-15531] 2015-03-26 17:53:35 +03:00
Alexey Milovidov
f3f935e3d8 dbms: toDateTime: improvement [#METR-2944]. 2015-03-26 05:54:16 +03:00
Alexey Milovidov
9cc2e52047 dbms: string search: improved performance in fallback case [#METR-15690]. 2015-03-26 03:38:17 +03:00
Alexey Arno
00ca9c9b24 Merge 2015-03-25 19:46:54 +03:00
Alexey Arno
ae5fd4dbc9 dbms: Server: feature development. [#METR-15090] 2015-03-25 19:44:30 +03:00
Alexey Arno
8cdeeaa5a4 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:58:23 +03:00
Andrey Mironov
8bc12dbbe4 dbms: system.dictionaries: add brief source description. [#METR-15569] 2015-03-25 13:10:35 +03:00
Andrey Mironov
6b605d10bb dbms: correct load factor for FlatDictionary (based on capacity, not size). [#METR-15569] 2015-03-25 13:10:35 +03:00
Alexey Milovidov
7c74a112a0 dbms: tiny improvement [#METR-2944]. 2015-03-25 04:45:42 +03:00
Andrey Mironov
e25783995c dbms: system.dictionaries: hit-rate, element count and load-factor. [#METR-15569] 2015-03-24 20:04:03 +03:00
Andrey Mironov
8796aa8497 dbms: HashTable: grower getBufferSizeInCells 2015-03-24 20:04:03 +03:00
Andrey Mironov
ca6f081dea dbms: system.dictionaries: provide attribute names and types[#METR-13298] 2015-03-24 20:04:03 +03:00
Andrey Mironov
f38d552844 dbms: simplify return value of IDictionary::getTypeName [#METR-13298] 2015-03-24 15:26:19 +03:00
Andrey Mironov
57e13e7d2a dbms: CacheDictionary: do not decrease bytes_allocated by 1 erroneously[#METR-13298] 2015-03-24 15:21:52 +03:00
Andrey Mironov
a892434ffa dbms: CacheDictionary: correctly decrease bytes_allocated on adding default strings. [#METR-13298] 2015-03-24 15:17:18 +03:00
Andrey Mironov
51e1ad0591 dbms: show bytes_allocated in system.dictionaries for all types of dictionaries. [#METR-13298] 2015-03-24 15:12:48 +03:00
Andrey Mironov
4b259dfc01 dbms: IDictionary::getBytesAllocated 2015-03-24 14:30:16 +03:00
Andrey Mironov
3964fc0a0d dbms: make PODArray::storage_size public 2015-03-24 14:30:02 +03:00
Alexey Arno
06a4b8c5f8 dbms: Server: feature development. [#METR-15090] 2015-03-24 14:03:26 +03:00
Andrey Mironov
e521611c98 dbms:dummy system.dictionaries and dictionary exception logging. [#METR-13298] 2015-03-24 12:50:39 +03:00
Alexey Milovidov
904bd9713c dbms: slightly increased default value of setting 'group_by_two_level_threshold' (it's better, but exact amount is a guess) [#METR-2944]. 2015-03-24 03:44:54 +03:00
Alexey Milovidov
b4c9ba93e8 Revert "dbms: Server: Fixed race condition in ConnectionPoolWithFailover. [#METR-15331]"
This reverts commit 209cf77fd6b2962b1996d254db802132ab2bd6f8.
2015-03-24 03:41:03 +03:00
Andrey Mironov
cf315e35ef dbms: support non-expiring cache lines in CacheDictionary. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
006360b75a dbms: dictionaries: more meaningful exception message on null_value parsing error. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
297d3263f2 dbms: PODArray::resize_fill(size_t, T): fix erroneous pointer arithmetic 2015-03-23 17:30:43 +03:00
Andrey Mironov
f321a422b7 dbms: FlatDictionary: fix off-by-one error on resize. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
33f41657df dbms: improve structure and speed of MySQLBlockInputStream. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
b81ef372d3 dbms: ColumnVector: add insert(T) function to avoid Field instantiation. [#METR-13298] 2015-03-23 17:30:43 +03:00
Alexey Arno
f97565add9 dbms: Server: feature development. [#METR-15090] 2015-03-23 12:43:06 +03:00
Pavel Kartavyy
134ee3a779 Merge 2015-03-23 12:09:25 +03:00
Alexey Milovidov
05401b901b dbms: better exception safety [#METR-15530]. 2015-03-23 04:10:06 +03:00
Alexey Arno
efc8ee558d dbms: Server: merge from master. [#METR-15090] 2015-03-20 20:02:01 +03:00
Alexey Arno
b88431e1ad dbms: Server: feature development. [#METR-15090] 2015-03-20 19:58:57 +03:00
Alexey Arno
5a033eb724 dbms: Server: fixed issue with query cancellation. [#METR-14410] 2015-03-20 19:20:47 +03:00