Commit Graph

3334 Commits

Author SHA1 Message Date
Andrey Mironov
78aeb03095 Merge 2014-09-23 15:36:02 +04:00
Andrey Mironov
8579036446 refactor, fix comment meaning. [#METR-11900] 2014-09-23 15:36:02 +04:00
Andrey Mironov
86beda3111 Merge 2014-09-23 15:36:01 +04:00
Andrey Mironov
0fb1912d7c WHERE condition recognition. [#METR-11900] 2014-09-23 15:36:01 +04:00
Alexey Milovidov
a81b5d7df9 dbms: additions to prev. revision [#METR-12857]. 2014-09-23 03:21:15 +04:00
Alexey Milovidov
5cc3316485 dbms: fixed tiny error in log message [#METR-2944]. 2014-09-19 22:56:20 +04:00
Alexey Milovidov
41d2b30992 dbms: added function regionToDistrict [#METR-12826]. 2014-09-19 22:51:24 +04:00
Alexey Milovidov
81c268177b dbms: probably fixed error when writeSuffix method wasn't called when writing to table [#METR-12767]. 2014-09-18 23:49:31 +04:00
Alexey Milovidov
658ab39d41 dbms: removed misleading comment [#METR-12795]. 2014-09-18 22:12:07 +04:00
Andrey Mironov
e954fa6d00 add elapsed and progress rows to system.merges. [#METR-12574]
Fix data-race introduced due to misconception of atomic instructions on integers.
2014-09-18 14:23:12 +04:00
Alexey Milovidov
f2c0ba3ba2 dbms: fixed error with merges [#METR-12767]. 2014-09-18 03:57:25 +04:00
Alexey Milovidov
8505c84c23 dbms: throttling INSERTs early [#METR-12767]. 2014-09-18 02:57:02 +04:00
Alexey Milovidov
bd8d56512e dbms: FunctionsArithmetic: style [#METR-12575]. 2014-09-18 00:18:52 +04:00
Alexey Milovidov
eca407e61a Revert "dbms: fixed high CPU usage on failed INSERTs [#METR-12726]."
This reverts commit 49cf3bbd0d8af92a756b46039a7a52fa81992765.
2014-09-17 06:36:32 +04:00
Alexey Milovidov
587820aab9 dbms: fixed high CPU usage on failed INSERTs [#METR-12726]. 2014-09-17 05:38:08 +04:00
Andrey Mironov
f6f7004684 Merge 2014-09-16 14:24:33 +04:00
Alexey Milovidov
4d01c0c7d0 dbms: addition to prev. revision [#METR-12715]. 2014-09-13 22:59:12 +04:00
Alexey Milovidov
40d6f26ed7 dbms: improved performance with very small INSERTs [#METR-12715]. 2014-09-13 22:34:08 +04:00
Alexey Milovidov
ef7ccff421 dbms: added missing modification [#METR-12715]. 2014-09-13 16:11:14 +04:00
Alexey Milovidov
b4952faf84 dbms: improvement [#METR-12509]. 2014-09-13 00:29:29 +04:00
Andrey Mironov
09a570ffc0 Merge 2014-09-12 20:05:29 +04:00
Alexey Milovidov
4a664351c1 dbms: fixed error in ProfileEvent name [#METR-12725]. 2014-09-12 19:24:33 +04:00
Andrey Mironov
13a77ffaa1 fix DB::ProcessList::Element::Update 2014-09-12 16:50:18 +04:00
Alexey Milovidov
126bfa0750 dbms: tiny modifications [#METR-12729]. 2014-09-12 06:30:01 +04:00
Alexey Milovidov
887f4d052f dbms: fixed error [#METR-12729]. 2014-09-12 05:06:38 +04:00
Alexey Milovidov
0ea4691107 Merge 2014-09-12 04:32:27 +04:00
Alexey Milovidov
1af0c1a524 dbms: instrumenting ZooKeeper [#METR-12725]. 2014-09-12 00:34:41 +04:00
Alexey Milovidov
5d4d84052f dbms: added missing file [#METR-2944]. 2014-09-11 21:46:41 +04:00
Alexey Milovidov
063b39efc0 dbms: fixed error in replication [#METR-12653]. 2014-09-11 07:13:27 +04:00
Pavel Kartavyy
1a73e77463 dbms: fixed exception in TinyLog when it is empty [#METR-12532] 2014-09-10 20:49:18 +04:00
Pavel Kartavyy
5b954f7dbe probably fixed error with bad version after some kind of alter [#METR-12509] 2014-09-10 16:46:11 +04:00
Andrey Mironov
e3d8e4e48b initial implementation. [#METR-12574] 2014-09-10 15:34:26 +04:00
Andrey Mironov
1212cfd170 Merge 2014-09-08 19:50:00 +04:00
Andrey Mironov
e92c71eb18 leverage substitution failure power. [#METR-12575] 2014-09-08 17:37:25 +04:00
Andrey Mironov
bb5fc8c1e1 initial implementation. [#METR-12575] 2014-09-08 14:46:30 +04:00
Pavel Kartavyy
952fdf1151 separated clickhouse-server for several packages [#METR-12543] 2014-09-06 00:06:22 +04:00
Alexey Milovidov
d6d163b5dc dbms: replication: writers don't block ZK session restart [#METR-12572]. 2014-09-05 00:26:14 +04:00
Pavel Kartavyy
b62e0ed395 Merge 2014-09-04 18:59:00 +04:00
Andrey Mironov
f8e5ae8a02 implement today(), yesterday() [#METR-12575] 2014-09-04 15:48:07 +04:00
Alexey Milovidov
8cda8c9190 dbms: probably fixed error [#METR-12572]. 2014-09-03 06:32:23 +04:00
Pavel Kartavyy
3eafab7253 Revert "removed "yandex" prefix due to conflicts with already exists tables [#METR-10969]"
This reverts commit 70832ec04ae521b12a23811293f5e8b3cd725325.
2014-09-02 20:26:30 +04:00
Andrey Mironov
aa19c0fd48 Merge 2014-09-02 20:23:10 +04:00
Pavel Kartavyy
96cae9978f removed "yandex" prefix due to conflicts with already exists tables [#METR-10969] 2014-09-02 19:45:45 +04:00
Andrey Mironov
35b7a941dd ColumnString::filter: manual vectorization 2014-09-02 19:18:04 +04:00
Pavel Kartavyy
bd53190998 Merge 2014-09-02 17:39:31 +04:00
Pavel Kartavyy
b5624cd57f dbms: fixed exception in TinyLog when it is empty [#METR-12532] 2014-08-29 22:44:44 +04:00
Pavel Kartavyy
9508cb93cf FileChecker migrated to boost::propertytree 2014-08-28 20:10:46 +04:00
Pavel Kartavyy
f53a889cc6 Revert "dbms: FileChecker migrated to json [#METR-11709]"
This reverts commit ab0aa4022f738334d15ad4522775c1343dd25fe9.
2014-08-28 20:10:46 +04:00
Andrey Mironov
771dada9c0 +PODArray::resize_assume_reserved 2014-08-28 15:59:41 +04:00
Andrey Mironov
7039a8b883 review corrections, exception safety. 2014-08-28 11:49:27 +04:00
Andrey Mironov
5d12a38bbb ColumnString::filter: manual vectorization 2014-08-26 18:59:22 +04:00
Alexey Milovidov
c96b5161a9 dbms: fixed error in comment [#METR-2944]. 2014-08-24 23:03:39 +04:00
Alexey Milovidov
842f04db1f dbms: preparation [#METR-2944]. 2014-08-24 11:17:50 +04:00
Alexey Milovidov
bf58b2b6e8 dbms: tiny modification [#METR-2944]. 2014-08-23 02:30:21 +04:00
Alexey Milovidov
eee2f04d70 dbms: addition to prev. revision [#METR-2944]. 2014-08-23 00:16:16 +04:00
Alexey Milovidov
bae467c493 dbms: preparation [#METR-2944]. 2014-08-23 00:14:53 +04:00
Alexey Milovidov
a98ea4d558 dbms: tiny modifications [#METR-2944]. 2014-08-22 23:51:55 +04:00
Alexey Milovidov
d8cad3c79b dbms: slightly improved performance on small blocks; removed unused code [#METR-2944]. 2014-08-22 22:49:51 +04:00
Alexey Milovidov
fe822c016f dbms: added system table 'numbers_mt' (for testing purposes) [#METR-2944]. 2014-08-22 21:26:43 +04:00
Alexey Milovidov
dd9edb8c15 dbms: StorageDistributed: fixed error with signed shard key [#METR-12221]. 2014-08-22 21:17:25 +04:00
Alexey Milovidov
391ec36fc2 Merge 2014-08-22 19:49:26 +04:00
Alexey Milovidov
3defedab21 dbms: changed std::function to function ptr (tnx. hertz) [#METR-2944]. 2014-08-22 19:48:48 +04:00
Andrey Mironov
09265f50f9 StorageDistributed: write to multiple local replicas, post-review corrections. [#METR-12221] 2014-08-22 18:06:20 +04:00
Alexey Milovidov
5523bdeaca dbms: improved performance on small blocks [#METR-2944]. 2014-08-22 06:31:54 +04:00
Alexey Milovidov
aae80fa8c5 dbms: removed deprecated 'replica_name' configuration parameter [#METR-10202]. 2014-08-22 05:01:28 +04:00
Alexey Milovidov
2b188ba6e0 dbms: improved build time [#METR-2944]. 2014-08-22 04:57:20 +04:00
Pavel Kartavyy
3258e4a160 Merge 2014-08-21 19:08:48 +04:00
Evgeniy Gatov
bc887b15dd dbms, columnar-sender: development [#METR-12299]. 2014-08-21 16:58:07 +04:00
Andrey Mironov
c6d4fd941f review corrections. [#METR-12221] 2014-08-21 16:15:24 +04:00
Alexey Milovidov
0019c0ef57 dbms: fixed error [#METR-12412]. 2014-08-20 08:57:03 +04:00
Alexey Milovidov
d76bfae57b dbms: tiny modifications [#METR-12221]. 2014-08-20 06:20:07 +04:00
Alexey Milovidov
3b8c4d2c9d dbms: style [#METR-12108]. 2014-08-20 03:12:31 +04:00
Andrey Mironov
a643e52d29 refactor, encapsulate thread in DirectoryMonitor. [#METR-12221] 2014-08-19 12:33:14 +04:00
Andrey Mironov
e9d97af140 rename based on review, fix behaviour when the only replic present is a local one. [#METR-12221] 2014-08-19 12:33:14 +04:00
Andrey Mironov
da264af80d little comprehension test 2014-08-19 12:33:14 +04:00
Andrey Mironov
269be93cbe write to local nodes, refactor StorageDistributed, extract DirectoryMonitor. [#METR-12221] 2014-08-19 12:33:14 +04:00
Andrey Mironov
ec0cee0afe escape user, password and host. [#METR-12221] 2014-08-19 12:33:14 +04:00
Andrey Mironov
61af8baa77 save username and password and take internal_replication into account. [#METR-12221] 2014-08-19 12:33:14 +04:00
Andrey Mironov
b801907980 fix embarassing error in first-iterator detection 2014-08-19 12:33:14 +04:00
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
3c6a79f02b dbms: added tests [#METR-12383]. 2014-08-19 02:54:18 +04:00
Alexey Milovidov
b16c083de5 dbms: fixed error with GROUP BY expression with IN operators [#METR-12383]. 2014-08-19 02:43:03 +04:00
Pavel Kartavyy
cc248f358a FileChecker: rename files when create [#METR-10969] 2014-08-18 20:07:52 +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
6a3f204705 dbms: little better [#METR-2944]. 2014-08-18 04:07:05 +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
aade03d427 dbms: fixed error [#METR-2944]. 2014-08-17 09:12:46 +04:00
Alexey Milovidov
47a810e04f dbms: FunctionsComparison: improvement [#METR-2944]. 2014-08-17 07:29:56 +04:00
Alexey Milovidov
435394242c dbms: improved performance of filtering [#METR-2944]. 2014-08-17 06:17:23 +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
f531960561 dbms: fixed visibility of unreplicated parts [#METR-12738]. 2014-08-16 00:10:44 +04:00
Alexey Milovidov
047e5e30df dbms: Client: don't leave progress indicator in the middle of data; colors almost compatible with white backgrounds [#METR-11125]. 2014-08-15 04:08:15 +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
fd9668be12 dbms: Client: fixed error with part of JSON output after exception [#METR-12316]. 2014-08-15 00:00:19 +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
7af08f5347 Merge 2014-08-14 05:37:46 +04:00
Alexey Milovidov
cb94f1301c dbms: removed comment [#METR-2944]. 2014-08-14 05:37:06 +04:00
Michael Kolupaev
f0d2d918c7 Merge 2014-08-13 12:53:38 +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
5bbb6dc090 some grammar fixes. [#METR-2807] 2014-08-12 13:35:15 +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
5e0e9bbc00 Merge 2014-08-11 18:05:42 +04:00
Michael Kolupaev
7b11fc4f6c Merge 2014-08-11 18:05:42 +04:00
Alexey Milovidov
9e0976aef4 dbms: updated tests [#METR-2944]. 2014-08-10 02:40:09 +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
3c75c3f774 Merge 2014-08-08 14:46:38 +04:00
Michael Kolupaev
19ca334f9c Merge 2014-08-08 14:42:27 +04:00
Michael Kolupaev
dbe4dc64f3 Merge 2014-08-08 14:41:53 +04:00
Michael Kolupaev
08340ff6a0 Merge 2014-08-08 14:28:46 +04:00
Michael Kolupaev
71b90ea1d4 Merge 2014-08-08 14:03:19 +04:00
Michael Kolupaev
83812f5ed5 Merge 2014-08-08 14:02:54 +04:00
Michael Kolupaev
4025face46 Merge 2014-08-08 13:58:56 +04:00
Michael Kolupaev
37298bbe01 dbms: a bit more efficient virtual columns for some queries. [#METR-2807] 2014-08-08 13:04:32 +04:00
Andrey Mironov
e8fe836a1b dbms: more sound solution for backtracking for-loop. [#METR-12108] 2014-08-08 10:10:12 +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
a33ab0b36c Merge 2014-08-07 16:26:04 +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
20f8e17e84 dbms: interpreting ALTER TABLE DROP PARTITION. Not storage supports it yet. [#METR-12037] 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
23d48eae6b CalcCloud: fix error in calculating hash [#METR-10969] 2014-08-06 17:24:42 +04:00
Pavel Kartavyy
fad7154163 refactoring [#METR-10969] 2014-08-06 17:24:42 +04:00
Pavel Kartavyy
52906c8cdb riod: added new methods [#METR-10969] 2014-08-06 17:24:42 +04:00
Pavel Kartavyy
c8e4f3442d dbms: compilation fix [#METR-10969] 2014-08-06 17:24:42 +04:00
Pavel Kartavyy
7f48de7cdc RemoteWriteBuffer: calc hash of data [#METR-10969] 2014-08-06 17:24:41 +04:00
Pavel Kartavyy
dc16847ce1 dbms: FileChecker migrated to json [#METR-11709] 2014-08-06 17:23:38 +04:00
Michael Kolupaev
306f405917 Merge 2014-08-06 13:25:41 +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
c399e1d14a fix build. Stupid kdevelop! 2014-08-05 16:54:10 +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
2d9f08cb41 dbms: updated test for check query [#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
3adfe8d536 Merge 2014-08-05 12:57:25 +04:00
Alexey Milovidov
cf5c4c07f3 dbms: updated comment [#METR-2944]. 2014-08-05 02:10:56 +04:00
Alexey Milovidov
7bc99645e2 dbms: in case of exception, don't send data in buffer, if it hasn't already sent [#METR-12034]. 2014-08-05 00:16:49 +04:00
Alexey Milovidov
3ab7260c16 dbms: sending exception message even if part of data has been already sent [#METR-12034]. 2014-08-04 23:48:50 +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
Michael Kolupaev
304f2f274d active_parts.py: small improvements. [#METR-2807] 2014-08-04 12:12:13 +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
Michael Kolupaev
5533a047c5 active_parts.py: tiny improvement. [#METR-2807] 2014-08-01 14:04:36 +04:00
Michael Kolupaev
0b37543bd8 Merge 2014-08-01 13:53:03 +04:00
Michael Kolupaev
757aa8891d Merge 2014-08-01 13:45:59 +04:00
Michael Kolupaev
02f0ecf886 Added watchparts.sh for the unlikely case anyone else needs it. [#METR-2807] 2014-08-01 13:36:28 +04:00
Michael Kolupaev
0ff7667654 Merge 2014-08-01 13:32:31 +04:00
Michael Kolupaev
dbbd1c9dc8 active_parts.py: small improvement. [#METR-2807] 2014-08-01 13:30:56 +04:00
Michael Kolupaev
765a5e4685 clickhouse-test: small fix. [#METR-2807] 2014-08-01 13:12:30 +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
ba11ae3be5 clickhouse-test: skipping tests with "zookeeper" in name when no zookeeper seems to be available. [#METR-2807] 2014-07-31 17:53:57 +04:00
Andrey Mironov
5c529d7b4f dbms: ExpressionsAnalyzer: switch off group by literal elimination completely. [#METR-12108] 2014-07-31 17:17:51 +04:00
Andrey Mironov
c519e9d15f dbms: ExpressionsAnalyzer: switch literal optimization off temporarily. [#METR-12108] 2014-07-31 17:14:08 +04:00
Andrey Mironov
18db7b24d1 comment typo fixed 2014-07-31 15:27:34 +04:00
Andrey Mironov
57633f2c35 Merge 2014-07-31 15:26:30 +04:00
Andrey Mironov
91373f1525 dbms: ExpressionAnalyzer: eliminate constant expressions from GROUP BY statement 2014-07-31 15:26:05 +04:00
Michael Kolupaev
b1c6001e40 Merge 2014-07-31 13:12:12 +04:00
Andrey Mironov
1995d3e1ba replace commentary tabs with spaces 2014-07-31 12:14:19 +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
b2f5b9bfab Merge 2014-07-30 16:22:12 +04:00
Michael Kolupaev
2bd9733223 Merge 2014-07-30 16:10:38 +04:00
Alexey Milovidov
2061b6af03 int_hashes_perf: changed /dev/urandom to /dev/random data [#METR-2944], 2014-07-29 23:24:54 +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
Alexey Milovidov
f474645a0d dbms: modified test [#METR-2944]. 2014-07-29 04:54:15 +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
286bf18747 VirtualColumnUtils: using index on PREWHERE expression as well as WHERE. [#METR-2807] 2014-07-28 11:53:55 +04:00
Alexey Milovidov
94ed780065 ███████████: intrusive: development [#METR-12050]. 2014-07-26 08:12:43 +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
18eb2d8b8f Merge 2014-07-25 18:31:55 +04:00
Michael Kolupaev
0c5e87bce8 Merge 2014-07-25 17:28:49 +04:00
Michael Kolupaev
1f1e0fcc67 Merge 2014-07-25 17:12:14 +04:00
Michael Kolupaev
354bf02bf6 Merge 2014-07-25 17:12:14 +04:00
Michael Kolupaev
8142941b42 Merge 2014-07-25 17:12:14 +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
6c4b3e3379 Merge 2014-07-23 17:58:38 +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
Alexey Milovidov
32895b3c02 dbms: ProfileEventsTransmitter: better [#METR-10463]. 2014-07-23 03:36:33 +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
Michael Kolupaev
cb7aa9dd66 part_checker: fixes. [#METR-11980] 2014-07-22 14:35:44 +04:00
Michael Kolupaev
c8c5fb9d5b missing files for previous commit. [#METR-11980] 2014-07-22 14:35:44 +04:00
Michael Kolupaev
c777975b0b dbms: parts_checker; not working yet. [#METR-11980] 2014-07-22 14:35:44 +04:00
Michael Kolupaev
4830e7f634 Hashing*Buffer: small fix. [#METR-10202] 2014-07-22 14:35:44 +04:00
Pavel Kartavyy
78c24cb75a HashingBuffer: refactorind [#METR-10969] 2014-07-22 14:35:44 +04:00
Pavel Kartavyy
133cbbab37 HashingReadBuffer: added test. fixed bug [#METR-10969] 2014-07-22 14:35:44 +04:00
Pavel Kartavyy
b8b4a4a721 dbms: added HashingReadBuffer [#METR-10969] 2014-07-22 14:35:44 +04:00
Andrey Mironov
fbf6225911 dbms: fix possible counter value loss between difference calculcation and store. [#METR-10463] 2014-07-22 13:03:25 +04:00
Andrey Mironov
9bb88d4db2 dbms: ProfileEventsTransmitter corrections. [#METR-10463]
ProfileEventsTransmitter thread wakings are now properly aligned with minutes' boundaries.
Style and logic corrections.
2014-07-22 12:44:52 +04:00
Andrey Mironov
5d13832aeb dbms: ProfileEvents propagation to Graphite [#METR-10463] 2014-07-21 16:10:54 +04:00
Michael Kolupaev
40d98ad7a9 dbms: more informative exception message when reading fails during merge (in lucky cases when an exception occurs instead of a segfault). [#METR-11980] 2014-07-21 15:34:43 +04:00
Michael Kolupaev
8a2a34a8f3 Small improvements. [#METR-2807] 2014-07-21 13:11:20 +04:00
Alexey Milovidov
aadd791880 dbms: fixed error [#METR-11966]. 2014-07-18 23:47:28 +04:00
Michael Kolupaev
68ff148170 Merge 2014-07-18 20:06:02 +04:00
Michael Kolupaev
4f3b1a476f Merge 2014-07-18 19:41:04 +04:00
Michael Kolupaev
1d9af86c39 added test (previous commit claimed to add it but did not). [#METR-11886] 2014-07-17 18:43:58 +04:00
Michael Kolupaev
df852d2b5c added test, fixed test. [#METR-11886] 2014-07-17 18:41:43 +04:00
Michael Kolupaev
5e10dbca8a Merge 2014-07-17 17:41:47 +04:00
Michael Kolupaev
e493438564 Merge 2014-07-17 14:44:17 +04:00
Michael Kolupaev
67b76568d3 Merge 2014-07-17 13:38:31 +04:00
Michael Kolupaev
29e85b5fbc Merge 2014-07-17 12:29:10 +04:00
Michael Kolupaev
12c6d16743 Merge 2014-07-16 13:32:15 +04:00
Michael Kolupaev
22c0c1778e Merge 2014-07-16 12:58:59 +04:00
Alexey Milovidov
80f163eb08 dbms: removed debug output [#METR-11370]. 2014-07-16 06:13:26 +04:00
Alexey Milovidov
35e8a15092 dbms: improvement [#METR-11765]. 2014-07-16 06:06:58 +04:00
Alexey Milovidov
cdbff6e120 dbms: fixed race condition (still messy) [#METR-11765]. 2014-07-16 05:36:18 +04:00
Alexey Milovidov
71935f7916 dbms: reading all remaining POST data in case of exception and Keep-Alive [#METR-11937]. 2014-07-16 05:13:07 +04:00
Alexey Milovidov
4ffa76bf70 dbms: using Keep-Alive even in ping request [#METR-2944]. 2014-07-16 04:53:56 +04:00
Michael Kolupaev
d668fd27d2 Merge 2014-07-15 19:51:27 +04:00
Michael Kolupaev
15e30294cc Merge 2014-07-15 18:57:24 +04:00
Michael Kolupaev
5b7b7a0bb8 Merge 2014-07-15 18:48:50 +04:00
Michael Kolupaev
86fb1eee37 Merge 2014-07-15 18:37:49 +04:00
Michael Kolupaev
a6e31b55d5 Merge 2014-07-15 15:52:30 +04:00
Michael Kolupaev
39b675167d Merge 2014-07-15 15:42:06 +04:00
Michael Kolupaev
9ced1d909e Merge 2014-07-15 15:12:58 +04:00
Michael Kolupaev
01094ec78d Merge 2014-07-15 14:13:36 +04:00
Alexey Milovidov
273ccc0a14 dbms: probably fixed error [#METR-11926]. 2014-07-14 23:46:06 +04:00
Michael Kolupaev
8eb2a7218b Merge 2014-07-14 20:01:23 +04:00
Michael Kolupaev
32b1a52dc1 dbms: fixed test. [#METR-11886] 2014-07-14 20:00:57 +04:00
Michael Kolupaev
007c0cedc1 fixed build and a bunch of other stuff. [#METR-11886] 2014-07-14 19:49:03 +04:00
Michael Kolupaev
dfb21bcaff fixed segfault when creating materialized views. [#METR-11886] 2014-07-14 18:26:11 +04:00
Michael Kolupaev
33955ee7dd Merge 2014-07-14 18:07:47 +04:00
Michael Kolupaev
bcc81b712d dbms: added reference file for test. [#METR-11886] 2014-07-14 16:31:00 +04:00
Michael Kolupaev
62de3bc73a Merge 2014-07-14 16:24:22 +04:00
Michael Kolupaev
02d04e4bfd dbms: added test. [#METR-11886] 2014-07-14 16:09:15 +04:00
Michael Kolupaev
516789157b Merge 2014-07-14 16:02:17 +04:00
Michael Kolupaev
8f394dd852 Merge 2014-07-14 15:45:34 +04:00
Michael Kolupaev
3efa9e91c9 ClickHouse: not accepting identifiers with multiple dots. [#METR-11739] 2014-07-14 13:16:49 +04:00
Michael Kolupaev
0ff3ede227 Merge 2014-07-14 13:12:50 +04:00
Michael Kolupaev
482e0c496c NamesAndTypes looks a tiny little bit better. [#METR-2807] 2014-07-14 11:54:47 +04:00
Alexey Milovidov
8f516a4b19 dbms: compatibility with OLAP: fixed error with UserAgentMinor [#METRIKASUPP-3517]. 2014-07-11 23:48:41 +04:00
Michael Kolupaev
d1edd92696 Merge 2014-07-11 17:34:12 +04:00
Michael Kolupaev
1005bbaa55 Merge 2014-07-11 17:11:06 +04:00
Michael Kolupaev
e26223d5c8 Merge 2014-07-11 16:47:45 +04:00
Michael Kolupaev
703b1d1c93 addition to previous commit. [#METR-11886] 2014-07-11 12:12:03 +04:00
Michael Kolupaev
b89813b042 Merge 2014-07-11 12:10:45 +04:00
Alexey Milovidov
818338872f columnar-sender: development [#METR-11888]. 2014-07-11 05:20:39 +04:00
Alexey Milovidov
94012f8231 columnar-sender: development [#METR-11888]. 2014-07-11 04:29:59 +04:00
Alexey Milovidov
247d7074e9 clickhouse-test: enable color hiliting only when stdout is a tty [#METR-11873]. 2014-07-10 22:58:04 +04:00
Alexey Milovidov
4c7226627c dbms: fixed error with formatting of date-times with 1970-01-01 dates [#METR-11873]. 2014-07-10 22:53:09 +04:00
Pavel Kartavyy
c60096564a ███████████: alloc fill memory with zeros at every call [#METR-11892] 2014-07-10 20:00:36 +04:00
Pavel Kartavyy
13830c960d ███████████: alloc fill memory with zeros at every call [#METR-11892] 2014-07-10 19:55:15 +04:00
Michael Kolupaev
ff64aeb036 Merge 2014-07-10 15:13:45 +04:00
Michael Kolupaev
ac7ee44128 Merge 2014-07-10 14:16:50 +04:00
Michael Kolupaev
c335519c9c Merge 2014-07-10 12:40:59 +04:00
Michael Kolupaev
dda1395dba Merge 2014-07-10 12:19:22 +04:00
Michael Kolupaev
3288bd5765 dbms: tiny improvement (not breaking the build this time). [#METR-2807] 2014-07-10 12:18:58 +04:00
Michael Kolupaev
6644701830 Revert "dbms: tiny improvement. [#METR-2807]"
This reverts commit 5a7af677ed8df0ed32a3a9be95b399a281b35b61.
2014-07-10 12:05:11 +04:00
Michael Kolupaev
66825973b5 Merge 2014-07-10 11:58:18 +04:00
Michael Kolupaev
f48de01d8d dbms: tiny improvement. [#METR-2807] 2014-07-10 11:53:33 +04:00
Alexey Milovidov
a2a41113e0 Fixed build [#METR-2807]. 2014-07-10 04:31:17 +04:00
Michael Kolupaev
a6fd9cd2bd Merge 2014-07-09 17:39:19 +04:00
Pavel Kartavyy
a0720382df ███████████: added IsTablet [#METR-9729] 2014-07-09 15:56:25 +04:00
Michael Kolupaev
0a67d151bd dbms: updated all usages of NamesAndTypesPair to new field names. [#METR-10202] 2014-07-09 15:54:26 +04:00
Michael Kolupaev
d848cfec91 dbms: made NameAndTypePair a struct (build is broken). [#METR-10202] 2014-07-09 15:54:26 +04:00
Alexey Milovidov
0041db77ab Tiny improvement [#METR-2807]. 2014-07-09 03:52:53 +04:00
Alexey Milovidov
410ca664b8 dbms: returned support of profiles inheritance [#METR-11872]. 2014-07-08 23:42:53 +04:00
Michael Kolupaev
c0bb5e8ce3 Merge 2014-07-08 18:41:19 +04:00
Alexey Milovidov
baa0f2ed94 dbms: separate limits for JOINs [#METR-11370]. 2014-07-07 22:32:20 +04:00
Michael Kolupaev
cdc937b31a Merge 2014-07-07 16:23:59 +04:00
Michael Kolupaev
c5c63b6111 fixed build. [#METR-10202] 2014-07-07 16:08:47 +04:00
Pavel Kartavyy
11162f6600 fix error in alter [#METR-11836] 2014-07-07 15:57:41 +04:00
Michael Kolupaev
a90dea2974 a little better active_parts.py. [#METR-2807] 2014-07-07 15:51:11 +04:00
Michael Kolupaev
639d1ad15f Merge 2014-07-07 15:39:06 +04:00
Michael Kolupaev
557a48f9e5 Merge 2014-07-07 14:23:24 +04:00
Michael Kolupaev
39fa078e85 active_parts.py in O(N log N). [#METR-2807] 2014-07-07 14:21:57 +04:00
Michael Kolupaev
b40f8bd8d5 Merge 2014-07-07 13:51:42 +04:00
Alexey Milovidov
22afae3b4a dbms: added test [#METR-11370]. 2014-07-07 02:32:37 +04:00
Alexey Milovidov
9e1e1f4552 dbms: fixed error [#METR-11370]. 2014-07-07 02:32:09 +04:00
Alexey Milovidov
f107415f75 dbms: fixed error; more diagnostics for GLOBAL subqueries [#METR-11370]. 2014-07-07 01:59:20 +04:00
Alexey Milovidov
4f2d00e696 dbms: fixed error in prev. revision [#METR-11370]. 2014-07-07 00:46:17 +04:00
Alexey Milovidov
8643f02ac0 dbms: reworked GLOBAL subqueries (probably doesn't work) [#METR-11370]. 2014-07-06 23:48:39 +04:00
Alexey Milovidov
0ee947c62a dbms: fixed leak in GLOBAL IN; improvements [#METR-11370]. 2014-07-06 08:22:12 +04:00
Alexey Milovidov
e7722f50b1 dbms: JOINs: development [#METR-11370]. 2014-07-06 04:19:49 +04:00
Alexey Milovidov
18f670defa dbms: JOINs: development [#METR-11370]. 2014-07-05 00:30:06 +04:00
Alexey Milovidov
7ef01201ef dbms: Arena: tiny modification [#METR-2944]. 2014-07-04 23:45:06 +04:00
Alexey Milovidov
ecb1cf9b33 dbms: ExpressionAnalyzer: better [#METR-11370]. 2014-07-04 23:13:38 +04:00
Michael Kolupaev
9a0516b839 Merge 2014-07-04 19:54:40 +04:00
Alexey Milovidov
8ad7540dff Merge 2014-07-04 18:27:26 +04:00
Alexey Milovidov
db0d25ea6d dbms: modified test [#METR-11370]. 2014-07-04 18:27:10 +04:00
Michael Kolupaev
ae5ea95a73 Merge 2014-07-04 18:07:14 +04:00
Michael Kolupaev
7362ca686f Merge 2014-07-04 17:59:05 +04:00
Michael Kolupaev
d00dc44397 Merge 2014-07-04 17:15:28 +04:00
Pavel Kartavyy
4260d6bf24 RemoteBlockOutputSream: better logging 2014-07-04 17:01:44 +04:00
Michael Kolupaev
1425813cdf Merge 2014-07-04 15:18:04 +04:00
Michael Kolupaev
3925f6dcf9 Merge 2014-07-04 14:11:55 +04:00
Michael Kolupaev
9c7ac77624 renamed anyHash64 to cityHash64, made them identical in unary case. [#METR-11774] 2014-07-04 13:43:00 +04:00
Alexey Milovidov
2e1e33da7e dbms: modified test [#METR-11370]. 2014-07-04 06:05:45 +04:00
Alexey Milovidov
8ffb7d390d dbms: modified test [#METR-11370]. 2014-07-04 06:03:53 +04:00
Alexey Milovidov
af659d7a45 dbms: modified test [#METR-11370]. 2014-07-04 06:01:32 +04:00
Alexey Milovidov
1982f46178 dbms: modified test [#METR-11370]. 2014-07-04 05:59:53 +04:00
Alexey Milovidov
8ee9f328fb dbms: modified test [#METR-11370]. 2014-07-04 05:58:00 +04:00
Alexey Milovidov
ab436a0f43 dbms: modified test [#METR-11370]. 2014-07-04 05:54:43 +04:00
Alexey Milovidov
484b3f1d5d dbms: fixed typo [#METR-11370]. 2014-07-04 05:42:08 +04:00
Alexey Milovidov
be8c22f47f dbms: GLOBAL JOINs: development [#METR-11370]. 2014-07-04 05:40:22 +04:00
Alexey Milovidov
694f1205d6 dbms: added test for GLOBAL IN [#METR-11370]. 2014-07-04 05:38:49 +04:00
Alexey Milovidov
8a7a4b11f0 dbms: better [#METR-11370]. 2014-07-04 02:39:13 +04:00
Alexey Milovidov
2fa4a2cf60 dbms: GLOBAL JOINs: development [#METR-11370]. 2014-07-04 00:32:42 +04:00
Michael Kolupaev
95fd8c88f1 Merge 2014-07-03 18:22:50 +04:00
Michael Kolupaev
861eee9163 Merge 2014-07-03 16:15:43 +04:00
Michael Kolupaev
c8fde6537f fixed SELECT anyHash64([1,2,3]) [#METR-11774] 2014-07-03 16:13:32 +04:00
Michael Kolupaev
da7d837497 added function anyHash64. [#METR-11774] 2014-07-03 15:24:29 +04:00
Michael Kolupaev
1983ac540b Merge 2014-07-03 12:51:11 +04:00
Michael Kolupaev
acfa0d2b46 Merge 2014-07-03 11:48:05 +04:00
Alexey Milovidov
4ab04c8b06 dbms: JOINs: test for aliases [#METR-11370]. 2014-07-03 00:26:34 +04:00
Alexey Milovidov
1579017cfd dbms: JOINs: fixed dealing with aliases [#METR-11370]. 2014-07-03 00:23:48 +04:00
Michael Kolupaev
15d9e39aa6 Merge 2014-07-02 16:30:38 +04:00
Michael Kolupaev
601732a0dd Merge 2014-07-02 14:16:49 +04:00
Michael Kolupaev
82d34fa1e9 Merge 2014-07-02 13:21:41 +04:00
Michael Kolupaev
faafb36596 Merge 2014-07-01 19:58:25 +04:00
Michael Kolupaev
201e63181c a bit more verbose exceptions when reading from merge tree. [#METR-10202] 2014-07-01 12:50:30 +04:00
Alexey Milovidov
3ea4fb0fa0 Improvement [#METR-2807]. 2014-07-01 05:03:16 +04:00
Alexey Milovidov
cbab5fb193 Removing refreshes [#METR-11408]. 2014-07-01 03:46:22 +04:00
Michael Kolupaev
68b077b8f5 Merge 2014-06-30 17:57:20 +04:00
Michael Kolupaev
310df87971 Merge 2014-06-30 14:02:25 +04:00
Michael Kolupaev
7d179c4294 slightly fixed error message. [#METR-2807] 2014-06-30 11:36:06 +04:00
Alexey Milovidov
1472b919ed Merge 2014-06-27 22:23:41 +04:00
Alexey Milovidov
c9cde08e36 dbms: improved error message [#METR-11524]. 2014-06-27 22:22:33 +04:00
Michael Kolupaev
3be9f54264 small improvements. [#METR-10202] 2014-06-27 21:58:26 +04:00
Michael Kolupaev
429b5f63b2 Merge 2014-06-27 21:58:26 +04:00
Michael Kolupaev
739f93e781 small logging improvement. [#METR-10202] 2014-06-27 21:58:26 +04:00
Michael Kolupaev
4baf5626cd small logging improvements. [#METR-10202] 2014-06-27 21:58:26 +04:00
Michael Kolupaev
1f45a832d9 RemoteBlockOutputStream fix. [#METR-10202] 2014-06-27 21:58:25 +04:00
Michael Kolupaev
2d2634c1e2 fixes. [#METR-10202] 2014-06-27 21:58:25 +04:00
Michael Kolupaev
68f6a9263a Merge 2014-06-27 21:58:25 +04:00
Alexey Milovidov
0d7263958d dbms: addition to prev. revision [#METR-11571]. 2014-06-26 05:01:16 +04:00
Alexey Milovidov
108a7850a5 dbms: improved performance on short queries [#METR-11571]. 2014-06-26 04:58:14 +04:00
Alexey Milovidov
413b8d214e dbms: improved performance of short queries [#METR-11571]. 2014-06-25 04:17:51 +04:00
Alexey Milovidov
149e92c6a7 dbms: removed useless copy of Block [#METR-11571]. 2014-06-24 23:53:48 +04:00
Alexey Milovidov
d420486522 dbms: improved performance on short queries [#METR-11571]. 2014-06-20 23:56:45 +04:00
Alexey Milovidov
653c138564 dbms: lowered max delay of insert [#METR-11520]. 2014-06-20 22:45:19 +04:00
Alexey Milovidov
a83915b62c dbms: JOINs: more tests [#METR-11370]. 2014-06-19 23:11:42 +04:00
Alexey Milovidov
4645131f7a dbms: added ALL JOINs [#METR-11370]. 2014-06-19 23:00:58 +04:00
Alexey Milovidov
7c0f53c34f dbms: JOINs: added tests [#METR-11370]. 2014-06-19 23:00:19 +04:00
Alexey Milovidov
b970c85546 dbms: JOINs: development [#METR-11370]. 2014-06-19 22:15:46 +04:00
Alexey Milovidov
efbd0de1ee dbms: JOINs: development [#METR-11370]. 2014-06-19 00:08:31 +04:00
Alexey Milovidov
2a25c8a4c0 dbms: JOINs: development [#METR-11370]. 2014-06-18 23:14:29 +04:00
Alexey Milovidov
d67b11211a dbms: added support for ANY INNER JOIN [#METR-11370]. 2014-06-18 22:31:35 +04:00
Alexey Milovidov
2ffdaa5ee0 dbms: JOINs: development [#METR-11370]. 2014-06-17 21:07:22 +04:00
Alexey Milovidov
b8ee43e5c5 dbms: removed debug output [#METR-11370]. 2014-06-17 00:01:42 +04:00
Alexey Milovidov
895ae78c9e dbms: incremental aggregation: fixed error [#METR-10894]. 2014-06-16 22:28:04 +04:00
Alexey Milovidov
a4647a9b51 dbms: added storage Null (for testing purposes) [#METR-10894]. 2014-06-16 21:32:31 +04:00
Alexey Milovidov
6eb6d538da dbms: JOINs: development [#METR-11370]. 2014-06-13 13:10:01 +04:00
Alexey Milovidov
29e8538f25 dbms: JOINs: development [#METR-11370]. 2014-06-13 13:07:20 +04:00
Alexey Milovidov
870f766798 dbms: JOINs: development [#METR-11370]. 2014-06-13 10:39:15 +04:00
Alexey Milovidov
3f650bfbab dbms: added test for ANY LEFT JOIN [#METR-11370]. 2014-06-13 06:14:22 +04:00
Alexey Milovidov
bfff8ab715 dbms: JOINs: development [#METR-11370]. 2014-06-13 06:05:05 +04:00
Alexey Milovidov
1ba07d65ad dbms: development [#METR-11370]. 2014-06-13 03:21:38 +04:00
Alexey Milovidov
607485d82a dbms: better [#METR-11370]. 2014-06-13 01:17:03 +04:00
Alexey Milovidov
fcc21c5b4c dbms: better [#METR-11370]. 2014-06-13 01:15:44 +04:00
Alexey Milovidov
c7c2d4ad8d dbms: better [#METR-11370]. 2014-06-13 01:14:06 +04:00
Alexey Milovidov
8ca868ce25 dbms: better [#METR-11370]. 2014-06-13 01:12:47 +04:00
Alexey Milovidov
5a74e92b0b dbms: better [#METR-11370]. 2014-06-12 23:53:36 +04:00
Alexey Milovidov
f16a9beb61 dbms: removed sign_rewrite (obsolete, unused); tiny modifications [#METR-11370]. 2014-06-12 23:23:06 +04:00
Alexey Milovidov
a7c8921eb2 dbms: little more readable [#METR-11370]. 2014-06-12 22:41:09 +04:00
Alexey Milovidov
a77ec35c96 dbms: JOINs: development [#METR-11370]. 2014-06-12 09:13:50 +04:00
Alexey Milovidov
0ba0894a90 dbms: JOINs: development [#METR-11370]. 2014-06-12 08:04:47 +04:00
Alexey Milovidov
295398e423 dbms: JOIN: development [#METR-11370]. 2014-06-12 06:31:30 +04:00
Alexey Milovidov
a1595ee591 Tiny modifications [#METR-11370]. 2014-06-12 05:22:49 +04:00
Alexey Milovidov
136ad3f5d3 dbms: removed garbage [#METR-11370]. 2014-06-12 04:56:43 +04:00
Alexey Milovidov
5e153b2bb9 dbms: support for JOINs in parser [#METR-11370]. 2014-06-12 04:48:56 +04:00
Alexey Milovidov
e19c4aedde dbms: tiny improved comments [#METR-11370]. 2014-06-12 02:36:55 +04:00
Alexey Milovidov
f912dc42b4 Merge 2014-06-11 22:38:37 +04:00
Alexey Milovidov
5a300300d2 dbms: fixed error in primary key usage [#METR-11540]. 2014-06-11 22:38:10 +04:00
Pavel Kartavyy
7b62758dcf dbms: fix to compability with new zkutil 2014-06-11 21:29:04 +04:00
Pavel Kartavyy
f27941b233 Merge 2014-06-10 19:23:49 +04:00
Alexey Milovidov
10544c8afc dbms: development [#METR-10894]. 2014-06-09 02:17:44 +04:00
Alexey Milovidov
55d8811f82 dbms: added test [#METR-10894]. 2014-06-06 23:45:21 +04:00
Alexey Milovidov
649114821c dbms: development [#METR-10894]. 2014-06-06 23:35:41 +04:00
Alexey Milovidov
8e3a5194e6 dbms: added test [#METR-10894]. 2014-06-06 22:00:52 +04:00
Alexey Milovidov
5bbc71650e dbms: development [#METR-10894]. 2014-06-06 21:46:03 +04:00
Alexey Milovidov
100da1547e dbms: added test [#METR-10894]. 2014-06-06 21:19:40 +04:00
Michael Kolupaev
5a8e9a517c Merge 2014-06-06 18:56:57 +04:00
Alexey Milovidov
2b7a2c025f dbms: development [#METR-10894]. 2014-06-06 03:52:28 +04:00
Alexey Milovidov
97b30392a7 dbms: development [#METR-10894]. 2014-06-06 00:35:34 +04:00
Alexey Milovidov
4a2bcf2137 dbms: development [#METR-10894] (don't even compiling). 2014-06-06 00:34:13 +04:00
Alexey Milovidov
16f092d87b dbms: development [#METR-10894]. 2014-06-05 23:52:13 +04:00
Michael Kolupaev
ac06ebccf6 sqxxl: Shards supports writing to one replica instead of all replicas. [#METR-10202] 2014-06-05 16:02:18 +04:00
Michael Kolupaev
50d37fc80e statdaemons: fixed PoolWithFailoverBase [#METR-10202] 2014-06-05 12:23:52 +04:00
Alexey Milovidov
47f98136fc dbms: 'mark_cache_size' configuration parameter is mandatory [#METR-11447]. 2014-06-04 17:39:56 +04:00
Alexey Milovidov
f1dba5e341 dbms: improved performance of function regionToName [#METR-11434]. 2014-06-04 05:00:09 +04:00
Alexey Milovidov
647ff835c4 dbms: improved performance of system.numbers table [#METR-11434]. 2014-06-04 03:34:44 +04:00
Alexey Milovidov
0ee6ba4b67 dbms: improved performance of region functions [#METR-11434]. 2014-06-04 03:09:57 +04:00
Alexey Milovidov
c3450791fc dbms: development of [#METR-10894]. 2014-06-04 00:29:04 +04:00
Michael Kolupaev
972a3bab8d DB::ConnectionPool: fixed an error. [#METR-10202] 2014-06-03 19:23:03 +04:00
Michael Kolupaev
38c5500a71 Refactored DB::ConnectionPool, DB::ConnectionPoolWithFailover and sqxxl::Pool. [#METR-10202] 2014-06-03 18:32:08 +04:00
Alexey Milovidov
1e6091cc63 ███████████, ███████████, completed: removed obsolete 'GoodEvent' column [#METR-11404]. 2014-06-02 22:30:56 +04:00
Michael Kolupaev
c2f4912100 fixed tiny typo in comment. [#METR-2807] 2014-06-02 16:28:53 +04:00
Alexey Milovidov
a4fba5c6b1 dbms: fixed error with MemoryTracker and UnionBlockInputStream [#METR-11393]. 2014-05-30 23:22:41 +04:00
Sergey Fedorov
edd482acf3 dbms: more fixes on aggregate function columns [METR-10894] 2014-05-30 20:22:14 +04:00
Sergey Fedorov
4fe8f37e03 Merge 2014-05-28 19:00:08 +04:00
Michael Kolupaev
3aad8dad8f Merge 2014-05-27 16:08:40 +04:00
Michael Kolupaev
cf2843d22c Merge 2014-05-27 14:03:13 +04:00
Michael Kolupaev
d51f9cae03 Merge 2014-05-27 12:43:01 +04:00
Michael Kolupaev
4c771903d7 Merge 2014-05-26 22:29:29 +04:00
Michael Kolupaev
ecf8e8b43c Merge 2014-05-26 22:27:25 +04:00
Michael Kolupaev
c1b265d4ac Merge 2014-05-26 22:16:05 +04:00
Michael Kolupaev
f137d7b84d Merge 2014-05-26 22:16:04 +04:00
Michael Kolupaev
b830e0b4fe Merge 2014-05-26 22:16:04 +04:00
Sergey Fedorov
8f306f4238 Merge 2014-05-26 20:13:46 +04:00
Michael Kolupaev
7abd68d5ed dbms: added ActiveDataPartSet, currently unused. [#METR-10202] 2014-05-26 14:41:40 +04:00
Alexey Milovidov
05f4843213 dbms: added tests [#METR-11277]. 2014-05-23 06:25:07 +04:00
Alexey Milovidov
0d2ac52f26 dbms: fixed segfault when ORDER BY one string or fixed string DESC [#METR-11277]. 2014-05-23 06:18:01 +04:00
Alexey Milovidov
d8b642aa6f dbms: tiny improvement [#METR-2944]. 2014-05-23 05:32:32 +04:00
Alexey Milovidov
8627ab108a Addition to prev. revision [#METR-2944]. 2014-05-23 05:09:18 +04:00
Alexey Milovidov
79213536df dbms: fixed error [#METR-11220]. 2014-05-23 04:50:28 +04:00
Alexey Milovidov
0d92614971 dbms: fixed wrong code [#METR-10894]. 2014-05-23 04:35:49 +04:00
Alexey Milovidov
c815fe7a6f dbms: fixed error [#METR-11220]. 2014-05-23 04:35:14 +04:00
Alexey Milovidov
0f5e847172 dbms: fixed segfault in case of memory limit exceeded [#METR-11220]. 2014-05-22 22:58:41 +04:00
Alexey Milovidov
fb2caea60b dbms: tiny modification [#METR-2944]. 2014-05-22 22:58:07 +04:00
Sergey Fedorov
19d17ceb6c dbms: bool array instead of miltiple checking for final aggregate functions [METR-10894] 2014-05-22 18:22:54 +04:00
Sergey Fedorov
be9527f09f dbms: more read write functions for DataTypeAggregateFunction and ColumnAggregateFunction [METR-10894] 2014-05-22 18:09:10 +04:00
Michael Kolupaev
77589b0c6e Merge 2014-05-22 14:37:17 +04:00
Alexey Milovidov
f4b33550fe dbms: updated tests [#METR-2944]. 2014-05-22 05:21:37 +04:00
Alexey Milovidov
9bb6471715 dbms: fixed error in ClearableHashMap [#METR-2944]. 2014-05-22 05:19:14 +04:00
Alexey Milovidov
0ea972c13a dbms: fixed exception safety of HashTable [#METR-11220]. 2014-05-22 04:22:48 +04:00
Alexey Milovidov
c166dfab67 dbms: fixed tiny error [#METR-11220]. 2014-05-22 03:38:40 +04:00
Pavel Kartavyy
ffde70b5c9 dbms: changed type when add column to nested from Array(NN) -> NN [#METR-11063] 2014-05-21 18:06:29 +04:00
Pavel Kartavyy
9d7e14fde2 clickhouse: bugfix [#METR-11063] 2014-05-21 18:06:29 +04:00
Sergey Fedorov
214e8aa9ea Merge 2014-05-21 17:30:42 +04:00
Michael Kolupaev
c70e26bc70 Small improvement for previous commit. [#METR-11193] 2014-05-21 14:37:53 +04:00
Michael Kolupaev
df4c963bc1 Merge 2014-05-21 14:20:41 +04:00
Alexey Milovidov
119f3377a8 dbms: modified hash function for ints [#METR-2944]. 2014-05-21 06:19:44 +04:00
Alexey Milovidov
ef82f8fd75 dbms: Fixed error in prev. revision [#METR-11160]. 2014-05-20 23:30:39 +04:00
Pavel Kartavyy
5138ef4553 clickhouse: bugfix [#METR-11063] 2014-05-20 22:01:36 +04:00
Pavel Kartavyy
f2d2dd2739 clickhouse: alter doesn't need quotes anymore [#METR-11063] 2014-05-20 20:46:33 +04:00
Pavel Kartavyy
5d1e8a5a3c clickhouse: check type of nested column [#METR-11063] 2014-05-20 19:44:46 +04:00
Pavel Kartavyy
dd76cb7479 clickhouse: updated test for alter [#METR-11063] 2014-05-20 19:44:46 +04:00
Pavel Kartavyy
b336d8057c clickhouse: alter nested columns [#METR-11063] 2014-05-20 19:44:46 +04:00
Alexey Milovidov
34eeed7ed3 Renamed mysqlxx::String and sqxxl::String to mysqlxx::Value and sqxxl::Value [#METR-2807]. 2014-05-20 02:05:33 +04:00
Alexey Milovidov
7f2d738498 dbms: fixed segfault in case of memory limit exceeded [#METR-11160]. 2014-05-19 23:41:56 +04:00
Alexey Milovidov
babe61675c dbms: Client: tiny improvement (tnx. maaaks) [#METR-2944]. 2014-05-19 22:50:50 +04:00
Alexey Milovidov
8b5be77c11 dbms: updated test [#METR-2944]. 2014-05-19 11:17:15 +04:00
Alexey Milovidov
c99921fc14 dbms: tiny improvement [#METR-2944]. 2014-05-19 08:54:54 +04:00
Alexey Milovidov
ea4c75ac82 dbms: TwoLevelHashTable: improvement [#METR-2944]. 2014-05-19 08:53:05 +04:00
Michael Kolupaev
06edb12dbe Merge 2014-05-16 19:55:57 +04:00
Sergey Fedorov
cd48cb6cba dbms: extracting columns list from select query for storage view [METR-11084] 2014-05-16 15:06:31 +04:00
Alexey Milovidov
a4fc77a8cb dbms: removed useless code, fixed error [#METR-10719]. 2014-05-16 05:25:20 +04:00
Sergey Fedorov
aae61e105b client: not allowing unknown options in client [METR-11064] 2014-05-15 17:14:57 +04:00