Commit Graph

1916 Commits

Author SHA1 Message Date
Andrey Mironov
b91dfcd1c2 refactor based on review; complete block output to files 2014-08-19 12:33:14 +04:00
Andrey Mironov
8b6adcb047 unify rewriteQuery, rewrite insert query. [#METR-12221] 2014-08-19 12:33:14 +04:00
Andrey Mironov
7eff8548c3 stop and join directory monitors on StorageDistributed::shutdown 2014-08-19 12:33:14 +04:00
Andrey Mironov
4a364a09e3 do not create target block unless required. [#METR-12221] 2014-08-19 12:33:14 +04:00
Andrey Mironov
2db71666a3 refactor write to StorageDistributed. [#METR-12221] 2014-08-19 12:33:13 +04:00
Andrey Mironov
e73bfe7b8a naive split implementation for DistributeBlockOutputStream (IColumn::insertFrom). [#METR-12221] 2014-08-19 12:33:13 +04:00
Alexey Milovidov
d61d5e6784 dbms: fixed insertDefault method for ColumnArray (was inserting array with one element, not empty array) [#METR-2944]. 2014-08-18 11:18:40 +04:00
Alexey Milovidov
f466fa0572 dbms: fixed error [#METR-2944]. 2014-08-18 10:56:09 +04:00
Alexey Milovidov
4a3d9082f7 dbms: improved performance of aggregate functions min, max, any, anyLast [#METR-2944]. 2014-08-18 09:45:41 +04:00
Alexey Milovidov
2fe534aade dbms: fixed error; suddenly faster [#METR-2944]. 2014-08-17 13:18:47 +04:00
Alexey Milovidov
dbe7ce2990 dbms: faster rand and rand64 functions [#METR-2944]. 2014-08-17 12:28:03 +04:00
Alexey Milovidov
2d2c4c932e dbms: improved performance of filtering [#METR-2944]. 2014-08-17 11:39:28 +04:00
Alexey Milovidov
bbd6064a19 dbms: improved performance of comparisons [#METR-2944]. 2014-08-17 09:41:28 +04:00
Alexey Milovidov
47a810e04f dbms: FunctionsComparison: improvement [#METR-2944]. 2014-08-17 07:29:56 +04:00
Alexey Milovidov
cdf4e8d415 dbms: improved performance of integer division by constant [#METR-2944]. 2014-08-17 06:13:40 +04:00
Alexey Milovidov
35cdf28110 dbms: improved performance of filtering [#METR-2944]. 2014-08-17 03:18:37 +04:00
Alexey Milovidov
65cf115313 dbms: fixed error (progress message in the middle of data, in JSON formats) [#METR-11125]. 2014-08-15 00:27:41 +04:00
Alexey Milovidov
f2b967ab06 Merge 2014-08-14 11:25:21 +04:00
Alexey Milovidov
1cd1e5f724 dbms: BackgroundProcessingPool: less messy; fixed error(s) [#METR-12317]. 2014-08-14 05:48:50 +04:00
Alexey Milovidov
cb94f1301c dbms: removed comment [#METR-2944]. 2014-08-14 05:37:06 +04:00
Michael Kolupaev
d9ae9876ce Merge 2014-08-13 12:08:40 +04:00
Michael Kolupaev
a373267660 Merge 2014-08-12 16:41:39 +04:00
Michael Kolupaev
51992989a6 Merge 2014-08-12 13:27:00 +04:00
Alexey Milovidov
85b36b6c9d Merge 2014-08-12 04:16:27 +04:00
Alexey Milovidov
51f73643c6 ███████████: fixed order of rows processing [#METR-12291]. 2014-08-12 04:15:17 +04:00
Michael Kolupaev
583f4c114e Merge 2014-08-11 19:59:05 +04:00
Michael Kolupaev
7b11fc4f6c Merge 2014-08-11 18:05:42 +04:00
Alexey Milovidov
9a946d73b9 dbms: fixed error with formatting floating point literals in query [#METR-2944]. 2014-08-10 02:36:07 +04:00
Alexey Milovidov
69ba035488 dbms: fixed error with function negate on UInt32 [#METR-2944]. 2014-08-09 06:29:03 +04:00
Alexey Milovidov
8038d2ab66 dbms: added function bar [#METR-12249]. 2014-08-09 05:51:03 +04:00
Michael Kolupaev
eaf4a79f11 Merge 2014-08-08 16:53:59 +04:00
Michael Kolupaev
6c194f5a00 fixed PartChecker. [#METR-12155] 2014-08-08 15:40:03 +04:00
Michael Kolupaev
6189e53667 Merge 2014-08-08 14:57:33 +04:00
Michael Kolupaev
dbe4dc64f3 Merge 2014-08-08 14:41:53 +04:00
Michael Kolupaev
71b90ea1d4 Merge 2014-08-08 14:03:19 +04:00
Andrey Mironov
beca178f2f dbms: support WITH TOTALS without GROUP BY 2014-08-08 10:10:12 +04:00
Alexey Milovidov
857f7db99d Merge 2014-08-07 23:20:30 +04:00
Michael Kolupaev
9bec7e4a28 Merge 2014-08-07 16:26:04 +04:00
Michael Kolupaev
7643a49b8e Merge 2014-08-07 16:26:04 +04:00
Michael Kolupaev
00fefb3df2 dbms: interpreting ALTER TABLE DROP PARTITION. Not storage supports it yet. [#METR-12037] 2014-08-07 16:26:04 +04:00
Michael Kolupaev
e76a00fbd2 dbms: parsing and formatting ALTER TABLE DROP PARTITION. Not interpreting it yet. [#METR-12037] 2014-08-07 16:26:04 +04:00
Michael Kolupaev
98297fa475 Merge 2014-08-07 16:26:03 +04:00
Pavel Kartavyy
dc16847ce1 dbms: FileChecker migrated to json [#METR-11709] 2014-08-06 17:23:38 +04:00
Michael Kolupaev
917f312a95 dbms: materialized views pass virtual columns through. [#METR-12150] 2014-08-06 13:25:41 +04:00
Pavel Kartavyy
e4dbe3c242 FileChecker: return true if no sizes.txt file exists [#METR-11709] 2014-08-05 17:41:07 +04:00
Pavel Kartavyy
bdea8e78e7 dbms: FileChecker simplified [#METR-11709] 2014-08-05 16:50:20 +04:00
Pavel Kartavyy
7f7d512f03 dbms: added check query [#METR-11709] 2014-08-05 14:53:27 +04:00
Pavel Kartavyy
79e755938b dbms: added support of check data to ChunkRef [#METR-11709] 2014-08-05 14:53:27 +04:00
Pavel Kartavyy
8e0a8a4d74 dbms: StorageChunks - added support for check query [#METR-11709] 2014-08-05 14:53:26 +04:00
Pavel Kartavyy
a37e0d4267 dbms: FileChecker - refactoring [#METR-11709] 2014-08-05 14:53:26 +04:00
Pavel Kartavyy
08b4b7ff02 FileChecker: changed xml parser from Poco to boost [#METR-11709]
Poco::XMLConfiguration couldn't parse nodes containing '%2E' sequences.
2014-08-05 14:53:26 +04:00
Pavel Kartavyy
b34c8e47ab dbms.StorageLog: added support for checkData query [#METR-11709] 2014-08-05 14:53:26 +04:00
Pavel Kartavyy
cf1afb1bd1 dbms: FileChecker moved to separate class [#METR-11709] 2014-08-05 14:53:26 +04:00
Pavel Kartavyy
e1c016cbac dbms.TinyLog: call updateSize after writing on disk [#METR-10969] 2014-08-05 14:53:26 +04:00
Pavel Kartavyy
1a39b3bf5c dbms: added checData method in TinyLog storage [#METR-11709] 2014-08-05 14:53:26 +04:00
Michael Kolupaev
6fd0f417b4 Merge 2014-08-04 19:48:03 +04:00
Michael Kolupaev
9a50694f22 Merge 2014-08-04 18:23:52 +04:00
Michael Kolupaev
e9ef0705f3 Merge 2014-08-04 18:23:52 +04:00
Alexey Milovidov
5d4ea3d827 dbms: uniqUpTo: small fix [#METR-12017]. 2014-08-01 23:31:38 +04:00
Alexey Milovidov
c112605fea dbms: fixed aggregate function uniqUpTo [#METR-12017]. 2014-08-01 23:14:21 +04:00
Alexey Milovidov
d9b4c671cd dbms: uniqUpTo: tiny modification [#METR-12017]. 2014-08-01 09:19:17 +04:00
Alexey Milovidov
77cafda096 dbms: uniqUpTo: fixed error (incomplete) [#METR-12017]. 2014-08-01 00:26:22 +04:00
Michael Kolupaev
b1c6001e40 Merge 2014-07-31 13:12:12 +04:00
Andrey Mironov
5dff483dfe Merge 2014-07-31 11:25:32 +04:00
Andrey Mironov
5c85b79e68 dbms: ExpressionAnalyzer: eliminate injective function calls from group by expressions. [#METR-12108] 2014-07-31 11:24:07 +04:00
Michael Kolupaev
8f6ded29f8 Merge 2014-07-30 19:24:45 +04:00
Michael Kolupaev
2bd9733223 Merge 2014-07-30 16:10:38 +04:00
Michael Kolupaev
f58b4f6ccb ClickHouse: Added table system.parts. [#METR-12036] 2014-07-29 19:21:09 +04:00
Michael Kolupaev
9b3ce7f0f8 Refactored VirtualColumnUtils. [#METR-12036] 2014-07-29 19:21:09 +04:00
Andrey Mironov
bfb9d70291 Merge 2014-07-28 19:10:00 +04:00
Michael Kolupaev
8a41d7985a Merge 2014-07-28 18:50:51 +04:00
Michael Kolupaev
2c8e5cd239 Passing new db name to IStorage::rename. [#METR-12038] 2014-07-28 18:50:51 +04:00
Michael Kolupaev
2854ed49da Merge 2014-07-28 18:50:51 +04:00
Michael Kolupaev
5c9f92ac1e Merge 2014-07-28 14:36:15 +04:00
Michael Kolupaev
d660d7db45 Merge 2014-07-28 14:36:15 +04:00
Michael Kolupaev
53a76dd348 Merge 2014-07-28 14:36:14 +04:00
Andrey Mironov
586facc940 libstatdaemons: split OptimizedRegularExpression into thread-safe and single-threaded version 2014-07-28 13:49:16 +04:00
Michael Kolupaev
c832fc00aa Merge 2014-07-25 20:32:02 +04:00
Michael Kolupaev
219e3ca3c6 Merge 2014-07-25 20:10:02 +04:00
Michael Kolupaev
13b9392241 Merge 2014-07-25 17:12:14 +04:00
Michael Kolupaev
85c722caf3 Merge 2014-07-25 17:12:14 +04:00
Michael Kolupaev
a6e8c35ba8 Merge 2014-07-25 11:49:02 +04:00
Alexey Milovidov
5b6173ccf1 dbms: uniqUpTo: development [#METR-12017]. 2014-07-25 05:32:59 +04:00
Alexey Milovidov
a294ab5448 dbms: tiny modification [#METR-2944]. 2014-07-25 05:32:06 +04:00
Alexey Milovidov
1a40e1942c dbms: added aggregate function uniqUpTo [#METR-12017]. 2014-07-25 00:20:36 +04:00
Andrey Mironov
0202b6e92c make_unique implementation, refactor 2014-07-24 17:16:09 +04:00
Alexey Milovidov
b897fdc27a dbms: updated comment [#METR-2944]. 2014-07-24 03:57:58 +04:00
Michael Kolupaev
7b44c88b73 Merge 2014-07-23 20:31:38 +04:00
Andrey Mironov
d16425a5cd dbms: use separate regexp objects for each thread. [#METR-10532] 2014-07-23 19:25:48 +04:00
Michael Kolupaev
90dc182f12 Merge 2014-07-23 19:24:51 +04:00
Michael Kolupaev
897d6fd336 Merge 2014-07-23 16:44:39 +04:00
Michael Kolupaev
272a2a8d9b Merge 2014-07-23 16:44:23 +04:00
Michael Kolupaev
8b18acffec Merge 2014-07-23 15:02:22 +04:00
Michael Kolupaev
bfe126ab04 Merge 2014-07-23 13:50:29 +04:00
Michael Kolupaev
f3285dba79 Merge 2014-07-23 13:15:41 +04:00
Michael Kolupaev
256f15b099 BackgroundProcessingPool: fast shutdown. [#METR-2807] 2014-07-23 13:14:51 +04:00
Michael Kolupaev
72aa59651f fixed a comment and removed an unused method. [#METR-2807] 2014-07-23 10:56:04 +04:00
Michael Kolupaev
16e5a92ed9 Merge 2014-07-22 17:49:52 +04:00
Michael Kolupaev
776f11a256 Merge 2014-07-22 14:36:56 +04:00
Michael Kolupaev
1be80d3410 part_checker: fixes. [#METR-11980] 2014-07-22 14:35:44 +04:00