Commit Graph

5190 Commits

Author SHA1 Message Date
Alexey Milovidov
e462bddbcc dbms: added missing file [#METR-2944]. 2015-12-24 21:38:19 +03:00
Alexey Milovidov
89c64fe863 dbms: removed unused field [#METR-2944]. 2015-12-24 21:35:01 +03:00
Alexey Milovidov
d51e03da61 dbms: added fault injection in memory tracker to more easily reproducing the bug [#METR-19278]. 2015-12-23 10:39:28 +03:00
Alexey Milovidov
8da3abcd94 dbms: better [#METR-19278]. 2015-12-23 10:35:36 +03:00
Alexey Milovidov
00b43c9c46 dbms: added comment [#METR-19278]. 2015-12-23 10:32:44 +03:00
Alexey Milovidov
1f62bf24ee dbms: more safe [#METR-19278]. 2015-12-23 10:29:20 +03:00
Alexey Milovidov
e81dce0fd7 dbms: whitespaces [#METR-19278]. 2015-12-23 10:16:44 +03:00
Alexey Milovidov
691e13fe1a dbms: better [#METR-19278]. 2015-12-23 10:06:34 +03:00
Alexey Milovidov
348f2e0e40 dbms: better [#METR-19278]. 2015-12-23 10:03:50 +03:00
Alexey Milovidov
03ec2269fa dbms: better [#METR-19278]. 2015-12-23 10:00:33 +03:00
Alexey Milovidov
59ea7c4542 dbms: added comment [#METR-19278]. 2015-12-23 09:59:53 +03:00
Alexey Milovidov
b95b48ee62 dbms: aggregate function debug: better check for double free [#METR-19278]. 2015-12-23 09:59:53 +03:00
Alexey Milovidov
1c54336078 dbms: added aggregate function 'debug' to better reproduce the problem [#METR-19278]. 2015-12-23 09:59:53 +03:00
Alexey Milovidov
8afecac7e3 dbms: fixed error with order of destruction of arenas, if exception was thrown while merging [#METR-19278]. 2015-12-23 09:48:05 +03:00
Alexey Milovidov
c2d231dc75 dbms: fixed another error [#METR-19278]. 2015-12-23 08:06:32 +03:00
Alexey Milovidov
d6ecae4588 dbms: fixed one of errors [#METR-19278]. 2015-12-23 08:04:30 +03:00
Andrey Mironov
d0e4cabba3 dbms: add conversion support for enums [#METR-19265] 2015-12-22 16:07:40 +03:00
Andrey Mironov
02ce1bede2 dbms: add support for comparing enums [#METR-19265] 2015-12-22 15:03:47 +03:00
Andrey Mironov
3fb8fedd19 AggregateFunctionSum: change type prerequisite to behavesAsNumber [#METR-19265] 2015-12-22 15:03:47 +03:00
Alexey Milovidov
c7b9b29325 dbms: almost surely fixed error [#METR-19369]. 2015-12-21 23:17:24 +03:00
Alexey Milovidov
23f8413d74 dbms: fixed error with ParserUnsignedInteger (used for tuple element access) [#METR-2944]. 2015-12-21 19:59:21 +03:00
Andrey Mironov
3c0c39e38a dbms: add basic support for types Enum8/16. [#METR-19265] 2015-12-21 16:15:21 +03:00
Roman Peshkurov
0463b94020 Merge 2015-12-17 13:08:03 +03:00
Alexey Milovidov
d98e9405d9 dbms: removed wrong code [#METR-19278]. 2015-12-17 00:20:12 +03:00
Alexey Milovidov
5b91e13f43 dbms: more safe [#METR-19278]. 2015-12-16 23:50:56 +03:00
Alexey Milovidov
d84625b4ab dbms: fixed build [#METR-19278]. 2015-12-16 23:21:52 +03:00
Roman Peshkurov
c7b5b4892f mobile-logs-api: added information about read bytes. [#MOBMET-2465] 2015-12-16 14:02:44 +03:00
Alexey Milovidov
418a0b5988 dbms: little better (but doesn't fix any error) [#METR-19278]. 2015-12-16 07:04:23 +03:00
Alexey Milovidov
fe0e9d2248 dbms: little better [#METR-19417]. 2015-12-16 05:38:11 +03:00
Alexey Milovidov
0939b5e881 Merge 2015-12-16 05:32:49 +03:00
Andrey Mironov
9d16702f84 dbms: unconditionally move evaluation of storage ALIASes to InterpterSelectQuery [#METR-19317] 2015-12-15 17:15:06 +03:00
Alexey Arno
3a9e7a7170 dbms: Server: Added more explanatory error messages for date-time-related functions. [#METR-19416] 2015-12-15 13:13:07 +03:00
Alexey Arno
ef135c5873 dbms: Server: Added more explanatory error messages for date-time-related functions. [#METR-19416] 2015-12-15 12:56:14 +03:00
Alexey Arno
e41c1dd9af dbms: Server: Fixed error messages of time-related functions. [#METR-19416] 2015-12-14 19:26:39 +03:00
Alexey Milovidov
ccec8e4adc dbms: external aggregation: better scaling [#METR-17000]. 2015-12-13 18:07:01 +03:00
Alexey Milovidov
810edc775d dbms: fixed error in prev. revision [#METR-19171]. 2015-12-13 17:29:58 +03:00
Alexey Milovidov
9c4db62704 dbms: addition to prev. revision [#METR-16779]. 2015-12-13 15:39:06 +03:00
Alexey Milovidov
9143952e83 dbms: probably better [#METR-19172]. 2015-12-13 15:02:10 +03:00
Alexey Milovidov
5cf76fd8f2 dbms: fixed error [#METR-16212]. 2015-12-13 14:35:48 +03:00
Alexey Milovidov
cc9335fa65 dbms: improvement [#METR-19264]. 2015-12-13 14:02:58 +03:00
Alexey Milovidov
1e4def963d dbms: added function 'arrayReduce' [#METR-19264]. 2015-12-13 13:43:49 +03:00
Alexey Milovidov
9060931654 dbms: probably fixed error [#METR-16212]. 2015-12-13 12:20:13 +03:00
Alexey Milovidov
d227e5f1d8 dbms: added greetings (tnx. jkee) [#METR-2944]. 2015-12-13 12:19:32 +03:00
Alexey Milovidov
42480c31ef dbms: preparation [#METR-16212]. 2015-12-13 11:51:28 +03:00
Alexey Milovidov
7f74a32c80 dbms: little more correct [#METR-17579]. 2015-12-13 10:03:30 +03:00
Alexey Milovidov
34236c3913 dbms: addition to prev. revision [#METR-17579]. 2015-12-13 10:00:43 +03:00
Alexey Milovidov
28c63f20f6 dbms: addition to prev. revision [#METR-17579]. 2015-12-13 09:56:00 +03:00
Alexey Milovidov
2aeb48be2d dbms: added backoff on slow reads [#METR-17579]. 2015-12-13 07:52:13 +03:00
Alexey Milovidov
236f04d2dc dbms: Buffer: fixed error [#METR-19371], 2015-12-11 05:19:32 +03:00
Alexey Milovidov
0b5220adcf dbms: added test [#METR-19371]. 2015-12-11 04:54:47 +03:00
Alexey Milovidov
8addc4b7c7 dbms: little better [#METR-19371]. 2015-12-11 04:21:53 +03:00
Alexey Milovidov
c150e0afd6 dbms: Aggregator: fixes [#METR-19371]. 2015-12-11 04:11:59 +03:00
Alexey Milovidov
8eb820bc74 dbms: fixed error (for real) [#METR-19371]. 2015-12-11 04:08:19 +03:00
Alexey Milovidov
8a37319677 dbms: Aggregator: fixes [#METR-19371]. 2015-12-11 03:34:00 +03:00
Andrey Mironov
72ef6b08b6 dbms: fix MongoDB dictionary source for UInt32 clamped to Int32[#METR-18946] 2015-12-10 19:27:20 +03:00
Alexey Milovidov
f27bfcdc0b dbms: temporarily set 'aggregation_memory_efficient_merge_threads' to 1 because of incorrect implementation [#METR-17000]. 2015-12-10 05:40:31 +03:00
Andrey Mironov
b7f496eb7b dbms: fix MongoDB dictionary source for UInt8 [#METR-18946] 2015-12-09 15:30:45 +03:00
Andrey Mironov
e7c435c27e dbms: fix typo and absent support of Float64 for MongoDB dictionaries [#METR-18946] 2015-12-09 15:30:45 +03:00
Alexey Milovidov
db8d82f13e dbms: Buffer: better [#METR-19249]. 2015-12-09 09:55:49 +03:00
Alexey Milovidov
e473834770 dbms: StorageBuffer: write correct info about block flushed [#METR-19249]. 2015-12-09 09:16:24 +03:00
Alexey Milovidov
9e33ab5519 dbms: fixed error with StorageBuffer [#METR-19249]. 2015-12-09 09:10:13 +03:00
Alexey Milovidov
6eb47b0db4 dbms: fixed error with StorageBuffer [#METR-19249]. 2015-12-09 09:04:00 +03:00
Alexey Milovidov
6260ac34a3 dbms: fixed high CPU usage on shutdown [#METR-19056]. 2015-12-09 08:05:42 +03:00
Alexey Milovidov
e0653fda4e dbms: little better [#METR-19172]. 2015-12-09 07:41:46 +03:00
Alexey Milovidov
03f091c01c dbms: fixed error [#METR-19316]. 2015-12-09 07:28:01 +03:00
Alexey Milovidov
e348105481 dbms: get rid of bad idea [#METR-19056]. 2015-12-09 07:06:44 +03:00
Alexey Milovidov
d1fc6175f3 dbms: added revision to query_log table [#METR-19319]. 2015-12-09 06:30:54 +03:00
Alexey Milovidov
a43272c9b8 dbms: fixed error in memory-efficient merging of aggregated states [#METR-17000]. 2015-12-09 05:56:18 +03:00
Alexey Milovidov
7560351942 dbms: removed old code [#METR-17000]. 2015-12-09 05:55:35 +03:00
Alexey Milovidov
69942f38d4 dbms: fixed error with ParserAlterQuery [#METR-13097]. 2015-12-09 05:27:45 +03:00
Alexey Milovidov
d852ef480b dbms: external aggregation: fixed error [#METR-19316]. 2015-12-09 04:29:01 +03:00
Alexey Milovidov
ccd51123bf dbms: fixed error [#METR-19316]. 2015-12-09 00:29:38 +03:00
Alexey Milovidov
3b9466ee08 dbms: added test [#METR-19298]. 2015-12-08 23:05:49 +03:00
Alexey Milovidov
f6973a32c4 dbms: added support for empty StripeLog tables [#METR-19298]. 2015-12-08 23:04:11 +03:00
Andrey Mironov
c8e3d90536 dbms: SmallObjectPool: fix odr-use in debug build 2015-12-08 12:16:40 +03:00
Andrey Mironov
a57f996770 dbms: fix transform() accepting non constant second argument 2015-12-08 12:16:40 +03:00
Alexey Milovidov
50d463d08b dbms: fixed error [#METR-17000]. 2015-12-08 05:01:46 +03:00
Alexey Milovidov
18c3aa441a dbms: removing old temporary files on startup [#METR-17000]. 2015-12-08 04:43:39 +03:00
Alexey Milovidov
dc7372ab71 dbms: fixed error [#METR-19271]. 2015-12-08 04:17:57 +03:00
Alexey Milovidov
35db0d65b9 dbms: fixed error [#METR-19288]. 2015-12-07 23:08:00 +03:00
Alexey Milovidov
78b560c846 dbms: fixed error [#METR-19283]. 2015-12-07 22:30:50 +03:00
Andrey Mironov
cf2c86956e dbms: SmallObjectPool: remove minimum size check [#METR-18946] 2015-12-07 19:30:26 +03:00
Andrey Mironov
479f1fc346 dbms: fix typo and absent support of Float64 for MySQL dictionaries [#METR-18946] 2015-12-07 19:30:26 +03:00
Andrey Mironov
d019af9ace dbms: add test for float formatting which has proven problematic [#METR-19166] 2015-12-07 15:46:13 +03:00
Alexey Milovidov
0d7135fcf6 dbms: fixed errors [#METR-17000]. 2015-12-06 22:42:28 +03:00
Alexey Milovidov
9ecd4a0fa2 dbms: additions [#METR-17000]. 2015-12-06 21:55:09 +03:00
Alexey Milovidov
513eb33b5b dbms: fixed error [#METR-17000]. 2015-12-06 19:42:17 +03:00
Alexey Milovidov
7dc5661521 dbms: more memory efficient merging aggregated states [#METR-17000]. 2015-12-06 19:22:01 +03:00
Alexey Milovidov
071b1e367c dbms: fixed error [#METR-19700]. 2015-12-06 18:29:16 +03:00
Alexey Milovidov
0ef797d9f3 dbms: fixed error [#METR-17000]. 2015-12-06 17:27:09 +03:00
Alexey Milovidov
2b1614825e dbms: improvement [#METR-17000]. 2015-12-06 10:33:39 +03:00
Alexey Milovidov
ed0c42253d dbms: MergingAggregatedMemoryEfficientBlockInputStream: correctly set memory tracker [#METR-17000]. 2015-12-06 08:43:36 +03:00
Alexey Milovidov
b76731a578 dbms: improved startup times for lagged replica [#METR-18563]. 2015-12-05 10:03:17 +03:00
Alexey Milovidov
7fa1a57165 dbms: fixed excessive memory allocation when splitting single-level block in Aggregator [#METR-17000]. 2015-12-05 10:01:18 +03:00
Alexey Milovidov
2e08b4e816 dbms: fixed error [#METR-17000]. 2015-12-05 08:54:10 +03:00
Alexey Milovidov
fa76a1a452 dbms: MergingAggregatedMemoryEfficientBlockInputStream: reading data in parallel [#METR-17000]. 2015-12-05 07:20:37 +03:00
Alexey Milovidov
e1deff76a9 dbms: fixed error [#METR-19262]. 2015-12-05 06:04:13 +03:00
Alexey Milovidov
6859f2085e dbms: fixed error with TOTALS [#METR-19259]. 2015-12-04 23:33:38 +03:00
Alexey Milovidov
5890747c56 dbms: instrumenting external sort/aggregation [#METR-17000]. 2015-12-04 00:23:21 +03:00
Pavel Kartavyy
1b1a1143a9 Merge 2015-12-03 14:02:02 +03:00
Alexey Milovidov
ec34b0bdcf dbms: more simple [#METR-19056]. 2015-12-03 08:29:08 +03:00
Alexey Milovidov
2755e90b15 dbms: fixed not-an-error [#METR-19056]. 2015-12-03 08:18:22 +03:00
Alexey Milovidov
0ceb0280f7 dbms: added setting 'aggregation_memory_efficient_merge_threads' [#METR-17000]. 2015-12-03 08:03:23 +03:00
Alexey Milovidov
117060cf43 dbms: fixed error [#METR-18167]. 2015-12-03 07:03:20 +03:00
Alexey Milovidov
11aa07ccbc dbms: fixed tests [#METR-17000]. 2015-12-03 06:56:50 +03:00
Alexey Milovidov
2b835d67e2 dbms: fixed dynamic compilation [#METR-17000]. 2015-12-03 06:18:42 +03:00
Alexey Milovidov
7012dc56a3 dbms: MergingAggregatedMemoryEfficientBlockInputStream: fixed two errors [#METR-17000]. 2015-12-03 05:43:40 +03:00
Alexey Milovidov
99d7aa59b8 dbms: allowed to merge partial-aggregated streams memory-efficient in parallel [#METR-17000]. 2015-12-02 01:35:48 +03:00
Alexey Milovidov
d76d57dda2 dbms: better [#METR-17000]. 2015-12-02 00:20:14 +03:00
Alexey Milovidov
b04fc9bdf0 dbms: fixed build [#METR-17000]. 2015-12-01 20:10:24 +03:00
Alexey Milovidov
7c753e1403 dbms: fixed build [#METR-17000]. 2015-12-01 20:08:33 +03:00
Alexey Milovidov
8844334423 dbms: external aggregation: development [#METR-17000]. 2015-12-01 19:58:15 +03:00
Alexey Milovidov
fe8f947a43 dbms: allowed external aggregation with non-parallel aggregation [#METR-17000]. 2015-12-01 17:43:51 +03:00
Alexey Milovidov
4352307bbc Merge 2015-12-01 17:11:51 +03:00
Alexey Milovidov
eef5fcc466 dbms: addition to prev. revision [#METR-17000]. 2015-12-01 17:11:31 +03:00
Alexey Milovidov
02b16fce06 dbms: external aggregation: initial implementation [#METR-17000]. 2015-12-01 17:09:05 +03:00
Andrey Mironov
eba1cb4ca3 dbms: FieldVisitorToString::formatFloat emit trailing dec pt [#METR-17328] 2015-12-01 14:16:50 +03:00
Alexey Milovidov
a7387d9ce4 dbms: improvement [#METR-2944]. 2015-11-30 23:20:37 +03:00
Alexey Milovidov
48e840a199 dbms: external aggregation: development [#METR-17000]. 2015-11-30 22:57:46 +03:00
Andrey Mironov
386d560d39 dbms: refactor DoubleConverter [#METR-17328] 2015-11-30 20:55:42 +03:00
Andrey Mironov
1ca3d930da dbms: do not allocate memory for default strings in cache dictionaries [#METR-17328] 2015-11-30 20:55:42 +03:00
Alexey Milovidov
83cf1f81ec dbms: Aggregator: preparation [#METR-17000]. 2015-11-30 19:57:05 +03:00
Dmitry Galuza
2e6266ceed Merge 2015-11-30 18:07:23 +03:00
Alexey Milovidov
ea45c07638 dbms: fixed error [#METR-19025]. 2015-11-30 09:56:27 +03:00
Alexey Milovidov
eb4034f7f2 dbms: better [#METR-2944]. 2015-11-29 20:06:30 +03:00
Alexey Milovidov
cc75d4603b dbms: improved performance of INSERT SELECT [#METR-19025]. 2015-11-29 16:18:12 +03:00
Alexey Milovidov
39004c76f5 dbms: addition [#METR-19052]. 2015-11-29 15:54:58 +03:00
Alexey Milovidov
b6aaf1fe32 dbms: development; provided monotonicity properties for date-time functions [#METR-19052]. 2015-11-29 14:58:44 +03:00
Alexey Milovidov
d9bc972a59 dbms: allowed to use index if column is wrapped by piecewise-monotonic functions: initial implementation [#METR-19052]. 2015-11-29 11:06:29 +03:00
Alexey Milovidov
e64197d436 dbms: addition [#METR-19025]. 2015-11-27 23:50:48 +03:00
Alexey Milovidov
7e5b79fbe9 dbms: added test for merges [#METR-19025]. 2015-11-27 23:48:55 +03:00
Dmitry Galuza
30c946aea1 Merge 2015-11-27 14:55:16 +03:00
Alexey Milovidov
fb88629d67 dbms: added test [#METR-19128]. 2015-11-27 00:36:23 +03:00
Alexey Milovidov
98b3bfa48d dbms: workaround for incompatibility with gcc and clang [#METR-19128]. 2015-11-27 00:31:06 +03:00
Alexey Milovidov
3a5d47014f dbms: added test result [#METR-18778]. 2015-11-26 20:28:26 +03:00
Dmitry Galuza
5ca181053c Merge 2015-11-26 16:34:07 +03:00
Alexey Milovidov
747525d818 dbms: quantileTDigest: attempt to fix an error (incomplete) [#METR-19024]. 2015-11-26 00:42:41 +03:00
Alexey Milovidov
8c8210062a dbms: added support for hex escape sequences in strings [#METR-19072]. 2015-11-25 06:11:17 +03:00
Andrey Mironov
699e5480f6 dbms: use ArenaWithFreeLists for strings in cache dictionary [#METR-17328] 2015-11-24 15:47:51 +03:00
Andrey Mironov
7159c57280 dbms: fix error with ternary operator having priority lower than binary + [#METR-17328] 2015-11-24 14:28:29 +03:00
Andrey Mironov
ee21853933 dbms: MongoDBDictionarySource now can use complex keys[#METR-17328] 2015-11-24 14:28:29 +03:00
Andrey Mironov
24f986c9f1 dbms: fixed ArenaWithFreeLists "off-by-one" error which lead to allocating blocks of size less than required. 2015-11-24 14:28:29 +03:00
Alexey Milovidov
eca62f753c dbms: fixed error [#METR-19024]. 2015-11-24 06:21:37 +03:00
Alexey Milovidov
d189c6206a dbms: fixed error [#METR-19024]. 2015-11-24 04:21:28 +03:00
Alexey Milovidov
26a5aad691 dbms: added test (result pending) [#METR-18778]. 2015-11-24 00:35:42 +03:00
Alexey Milovidov
26d19fe1bc dbms: fixed error with GLOBAL JOIN [#METR-19048]. 2015-11-24 00:34:36 +03:00
Alexey Milovidov
bb88a1e1bf dbms: quantiles: allowed parameters in non-increasing order [#METR-18778]. 2015-11-24 00:33:43 +03:00
Alexey Milovidov
49be9e9b3e dbms: added comment [#METR-19024]. 2015-11-23 23:24:54 +03:00
Dmitry Galuza
fa73a9e3af ███████████: New fields in visits log [#METR-18831] 2015-11-23 18:33:53 +03:00
Alexey Milovidov
c9ea87ec11 dbms: addition to prev. revision [#METR-2944]. 2015-11-21 22:52:31 +03:00