Commit Graph

3920 Commits

Author SHA1 Message Date
Alexey Milovidov
59f3e9bf17 dbms: more uniform aggregation: development [#METR-2944]. 2014-12-02 03:31:07 +03:00
Alexey Milovidov
8bbcb3a232 dbms: fixed error in aggregate function minIf [#METR-2944]. 2014-12-02 03:19:11 +03:00
Alexey Milovidov
d58ab3e4fe dbms: added reference file for test [#METR-2944]. 2014-12-02 01:40:15 +03:00
Alexey Milovidov
da4c4a0566 dbms: more uniform load of threads while aggragation [#METR-2944]. 2014-11-30 21:22:57 +03:00
Alexey Milovidov
0abde09572 dbms: added tests for UnionBlockInputStream [#METR-2944]. 2014-11-30 15:01:46 +03:00
Alexey Milovidov
5fae38cb97 dbms: tiny improvement [#METR-2944]. 2014-11-30 10:00:05 +03:00
Alexey Milovidov
92e5793c8e dbms: tiny fix [#METR-2944]. 2014-11-30 09:59:03 +03:00
Alexey Milovidov
b84b192ba4 dbms: fixed test [#METR-13988]. 2014-11-30 08:58:54 +03:00
Alexey Milovidov
3a38517f86 dbms: addition to prev. revision [#METR-13936]. 2014-11-30 08:43:04 +03:00
Alexey Milovidov
4e64d5198c dbms: fixed test [#METR-13919]. 2014-11-30 08:40:41 +03:00
Alexey Milovidov
82f9e253a1 Merge 2014-11-30 08:11:04 +03:00
Alexey Milovidov
32f3c9c1da Merge 2014-11-30 06:23:36 +03:00
Alexey Milovidov
a359b09c83 dbms: fixed misleading variable name [#METR-2944]. 2014-11-30 06:21:01 +03:00
Alexey Milovidov
b2696ffec1 dbms: fixed one of errors [#METR-13979]. 2014-11-28 23:45:33 +03:00
Alexey Milovidov
76ba1f053b dbms: aggregation by arrays: added test [#METR-13933]. 2014-11-28 05:41:54 +03:00
Alexey Milovidov
cd54727557 dbms: added few tests [#METR-13933]. 2014-11-28 05:29:35 +03:00
Alexey Milovidov
ead238608b dbms: fixed error with aggregation by arrays [#METR-13933]. 2014-11-28 05:17:29 +03:00
Alexey Milovidov
23b38c0e18 dbms: fixed error only partially [#METR-13933]. 2014-11-28 00:31:13 +03:00
Evgeniy Gatov
109c41954c libcloud, dbms: added write speed to clickhouse [#METR-13955]. 2014-11-27 22:35:31 +03:00
Andrey Mironov
f7cda10386 Merge 2014-11-26 13:28:13 +03:00
Alexey Milovidov
bdb666efee Revert "Revert "dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399]""
This reverts commit 08c41d2abb2e08922c567856ec37038d1fa59e72.
2014-11-26 00:11:11 +03:00
Alexey Milovidov
a03bc39fa2 Merge 2014-11-25 23:55:36 +03:00
Alexey Milovidov
3dba76210f Merge 2014-11-25 23:55:36 +03:00
Alexey Milovidov
25ddd55cad Merge 2014-11-25 23:55:34 +03:00
Alexey Milovidov
8b2b1a52d1 Revert "Revert "dbms: allow all requested columns to be missing [#METR-13020]""
This reverts commit a74051d1739fbf4de8da2118e2f05820a6bc10f0.
2014-11-25 23:55:23 +03:00
Andrey Mironov
f1f139e8d0 dbms: fix allocation of excess memory for const result in concat. 2014-11-25 23:22:10 +03:00
Andrey Mironov
8f9373c3d7 dbms: add test for concat n-ary const with nonconst segfault. 2014-11-25 23:07:06 +03:00
Andrey Mironov
ec07d1f711 dbms: fix stupid error in concat length calculation. 2014-11-25 22:34:07 +03:00
Andrey Mironov
eefcb3e369 Revert "dbms: allow all requested columns to be missing [#METR-13020]"
This reverts commit e09872e3621f24a9a839ce377e4a317dc2ca1788.
2014-11-25 21:46:58 +03:00
Andrey Mironov
c28bb54ed4 Merge 2014-11-25 21:46:38 +03:00
Andrey Mironov
4c9af262fd Merge 2014-11-25 21:46:23 +03:00
Alexey Milovidov
53c1dd7e08 Merge 2014-11-25 21:13:52 +03:00
Alexey Milovidov
071e31a7fa Revert "dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399]"
This reverts commit f68d3226e0e55179b4cd734477f0aa45b669d6fa.
2014-11-25 19:33:01 +03:00
Andrey Mironov
e310a3021b dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399] 2014-11-24 20:11:29 +03:00
Alexey Milovidov
639d29d5d4 dbms: added few profile events [#METR-2944]. 2014-11-23 07:01:36 +03:00
Alexey Milovidov
be73e48c46 dbms: fixed error when writing tuple of date or datetime elements in pretty formats (tnx. hertz) [#METR-2944]. 2014-11-23 07:00:18 +03:00
Alexey Milovidov
53fc3b7cd2 dbms: improved tests [#METR-2944]. 2014-11-22 23:56:14 +03:00
Alexey Milovidov
3dc00a1298 dbms: addition to prev. revision [#METR-13262]. 2014-11-22 05:51:22 +03:00
Alexey Milovidov
1f67c192fd dbms: added tests [#METR-13262]. 2014-11-22 05:36:49 +03:00
Alexey Milovidov
d7a1abbbdc Merge 2014-11-22 05:22:30 +03:00
Andrey Mironov
811565b5b1 dbms: implement appendTrailingCharIfAbsent, refactor concat. [#METR-13772] 2014-11-21 20:42:51 +03:00
Andrey Mironov
813742e5d7 dbms: add intDivOrZero function. [#METR-13159] 2014-11-21 17:28:39 +03:00
Andrey Mironov
eaa8a75a63 dbms: prohibit narrow-width integral types for determinator of quantile(s)Deterministic. [#METR-13199] 2014-11-21 17:07:25 +03:00
Andrey Mironov
d0971956e0 dbms: add quantile[s]Deterministic, rename stdext:: to ext:: [#METR-13199] 2014-11-21 16:34:37 +03:00
Andrey Mironov
d4d3663cd4 Merge 2014-11-20 17:42:45 +03:00
Pavel Kartavyy
83e0c58cba style fix: Clikhouse -> ClickHouse 2014-11-20 10:20:25 +03:00
Alexey Milovidov
0d51957607 dbms: calculating population of regions by population of children [#METR-13326]. 2014-11-20 03:17:43 +03:00
Alexey Milovidov
c5635ce6d9 dbms: added function regionToPopulation; clickhouse-server, ███████████, ███████████, ███████████ needs to be released before regions_hierarchy.txt change [#METR-13326]. 2014-11-20 03:05:14 +03:00
Alexey Milovidov
96ef141c8a dbms: added 'listen_host' configuration parameter [#METR-13759]. 2014-11-19 23:52:42 +03:00
Alexey Milovidov
a7b4903f14 dbms: fixed error with replication when 'interserver_http_port' is not specified [#METR-13831]. 2014-11-19 23:40:51 +03:00
Alexey Milovidov
7b8beea5e4 dbms: FREEZE PARTITION: improvement [#METR-2944]. 2014-11-17 03:41:40 +03:00
Alexey Milovidov
c017f3ebe3 dbms: added operators for DB/IO [#METR-2944]. 2014-11-15 22:00:55 +03:00
Alexey Milovidov
8a0bdbe1d7 dbms: improved performance of deserializing strings (+5% on search phrases) [#METR-2944]. 2014-11-15 21:57:49 +03:00
Alexey Milovidov
8f076b8ac4 Removed deprecated date and time functions [#METR-13554]. 2014-11-14 23:55:23 +03:00
Andrey Mironov
37746b8e96 Merge 2014-11-14 15:52:02 +03:00
Andrey Mironov
58473a3085 Merge 2014-11-14 14:03:26 +03:00
Andrey Mironov
5af02c6119 Revert "dbms: purported fix", no luck
This reverts commit bf86346df8713ac76ed631f12eda4f13d3379057.
2014-11-14 12:47:58 +03:00
Andrey Mironov
4a70c452a7 dbms: purported fix 2014-11-14 12:30:35 +03:00
Andrey Mironov
11f1482927 dbms: allow all requested columns to be missing [#METR-13020] 2014-11-13 20:49:24 +03:00
Pavel Kartavyy
140b4545dd dbms: fix [#METR-13667] 2014-11-13 17:01:29 +03:00
Pavel Kartavyy
14c231c055 dbms: filtered tables in 'show tables from' query [#METR-13667] 2014-11-13 16:02:12 +03:00
Andrey Mironov
85e511fdab dbms: refactor IFunction descendants' registration in FunctionFactory 2014-11-12 21:04:49 +03:00
Andrey Mironov
50328d120a Merge 2014-11-12 13:42:04 +03:00
Andrey Mironov
731be3e7cf Merge 2014-11-12 13:37:47 +03:00
Andrey Mironov
ccc770e5ab dbms: add tests for defaulted columns. [#METR-12739] 2014-11-11 19:41:51 +03:00
Andrey Mironov
65629ef560 Merge 2014-11-11 19:29:21 +03:00
Andrey Mironov
8a2de38dc7 dbms: materialize constants during merge, allow alteration between DEFAULT and MATERIALIZED. [#METR-12739] 2014-11-11 18:22:39 +03:00
Andrey Mironov
b682e42e5a dbms: prohibit creating tables without physical columns. [#METR-12739] 2014-11-11 17:20:22 +03:00
Andrey Mironov
de271b753e dbms: allow creating tables with all columns set to default. [#METR-12739] 2014-11-11 17:11:49 +03:00
Alexey Milovidov
9a9036f217 dbms: added FREEZE PARTITION functionality [#METR-13441]. 2014-11-11 07:11:07 +03:00
Andrey Mironov
3407600536 dbms: save all columns in a single ZooKeeper node [#METR-12739] 2014-11-10 19:16:43 +03:00
Andrey Mironov
e7edb5e2af dbms: correct typo 2014-11-10 14:38:06 +03:00
Alexey Milovidov
212cb73eec dbms: improved performance of aggregation by string key when there are significant amount of empty strings [#METR-2944]. 2014-11-09 15:53:44 +03:00
Alexey Milovidov
87a31229e9 dbms: improved performance of aggregation by string key [#METR-2944]. 2014-11-09 15:43:09 +03:00
Alexey Milovidov
530eb9f919 dbms: HashTable: more use of saved hash value - less string comparisons, improved performance of aggregation by string [#METR-2944]. 2014-11-09 11:39:18 +03:00
Alexey Milovidov
f68e30cfdb dbms: testing string comparison [#METR-2944]. 2014-11-09 10:26:37 +03:00
Alexey Milovidov
d486138e0a dbms: added test for different string equality comparison methods [#METR-2944]. 2014-11-09 05:51:28 +03:00
Alexey Milovidov
16a1c1e6e8 Merge 2014-11-09 02:55:24 +03:00
Alexey Milovidov
1f52150f12 dbms: renamed variable [#METR-2944]. 2014-11-09 02:54:03 +03:00
Alexey Milovidov
a58104c818 dbms: showing progress for INSERT SELECT query [#METR-13612]. 2014-11-09 02:52:18 +03:00
Andrey Mironov
4e43304cd7 dbms: add reference file for concat test. 2014-11-07 22:01:46 +03:00
Andrey Mironov
fe49e06e46 dbms: implement concat for arbitrary arity (> 0). [#METR-12888] 2014-11-07 21:42:00 +03:00
Alexey Milovidov
c881adcaff dbms: allowed to start without ZooKeeper (in readonly mode) [#METR-2944]. 2014-11-07 04:12:55 +03:00
Alexey Milovidov
313fe36e7a dbms: addition to prev. revision [#METR-13322]. 2014-11-07 03:02:53 +03:00
Alexey Milovidov
3d359e2b82 Partially get rid of time2str.h [#METR-13554]. 2014-11-06 09:32:23 +03:00
Alexey Milovidov
6754ee8068 dbms: more sane [#METR-13554]. 2014-11-06 06:38:10 +03:00
Alexey Milovidov
ae56793530 dbms: fixed error with filtering by set of tuples with elements that fit in 128 bits [#METR-13322]. 2014-11-06 06:03:40 +03:00
Alexey Milovidov
74db63113e DateLUT: removed useless code; improved startup time [#METR-13554]. 2014-11-06 05:39:48 +03:00
Alexey Milovidov
2727fef911 dbms: removed few functions [#METR-13554]. 2014-11-06 04:31:50 +03:00
Alexey Milovidov
4e363249e1 dbms: added test [#METR-2944]. 2014-11-05 23:55:33 +03:00
Alexey Milovidov
a825e54b3a dbms: improved performance of aggregation by string keys [#METR-13168]. 2014-11-04 00:08:56 +03:00
Alexey Milovidov
ec08b393de dbms: tiny improvement [#METR-2944]. 2014-11-01 02:20:18 +03:00
Alexey Milovidov
bc454aec71 dbms: added override to all columns [#METR-2944]. 2014-11-01 01:15:17 +03:00
Andrey Mironov
23bf89d490 dbms: properly resize const strings passed into toFixedString. 2014-10-31 16:49:48 +03:00
Andrey Mironov
11a7b05f48 dbms: add tests for ip coding functions with non-const arguments. [#METR-13151] 2014-10-31 15:57:41 +03:00
Andrey Mironov
c62bcdcd18 Revert "dbms: remove redundant memset(0) from IPv6StringToNum. [#METR-13151]"
This reverts commit 37cc08166507494428c8b858a4670156de356c32.
2014-10-31 15:57:30 +03:00
Andrey Mironov
70f376b8e6 dbms: remove redundant memset(0) from IPv6StringToNum. [#METR-13151] 2014-10-31 15:46:57 +03:00
Andrey Mironov
5465bb3d50 dbms: add tests for IPv4/6 coding functions. [#METR-13151] 2014-10-31 15:03:35 +03:00
Andrey Mironov
152ca18a21 dbms: drastic increase in IPv6StringToNum performance. [#METR-13151] 2014-10-31 15:03:35 +03:00
Andrey Mironov
a88c5e74ab dbms: improve performance of IPv6NumToString. [#METR-13151] 2014-10-30 17:43:41 +03:00
Andrey Mironov
74b2f521d0 dbms: fix IPv6NumToString out of bounds access. [#METR-13151] 2014-10-29 16:53:04 +03:00
Andrey Mironov
a5905c608a dbms: IPv6StringToNum. [#METR-13151] 2014-10-29 15:49:33 +03:00
Andrey Mironov
ee34ca31d8 dbms: add MD5, SHA1, SHA224, SHA256, IPv6NumToString. [#METR-13151] 2014-10-29 15:49:33 +03:00
Alexey Milovidov
37e599934f dbms: further [#METR-2944]. 2014-10-29 05:35:16 +03:00
Alexey Milovidov
425263970f dbms: improved performance of aggregation by one numeric key (up to: 2x for UInt8, 5x for UInt16, 1.1x for UInt32, UInt64) [#METR-2944]. 2014-10-29 04:18:50 +03:00
Andrey Mironov
96d8c7484a dbms: add arrayFirst, arrayFirstIndex functions. [#METR-13151] 2014-10-28 18:49:33 +03:00
Andrey Mironov
484073a95c dbms: add emptyArrayType family of functions. #[METR-13151] 2014-10-28 16:43:51 +03:00
Andrey Mironov
0d35ea0bf4 dbms: implement firstSignificantSubdomain, cutToFirstSignificantSubdomain. [#METR-13151] 2014-10-27 18:17:07 +03:00
Alexey Milovidov
5d21d75e85 dbms: addition to prev. revision [#METR-13297]. 2014-10-27 07:50:38 +03:00
Alexey Milovidov
e063ccc180 dbms: StorageBuffer: additions [#METR-13297]. 2014-10-27 07:18:13 +03:00
Alexey Milovidov
b3c060b89e dbms: fixed error [#METR-13297]. 2014-10-26 05:59:46 +03:00
Alexey Milovidov
fee4863a16 dbms: Client: tiny fix for progress-bar [#METR-2944]. 2014-10-26 05:01:21 +03:00
Alexey Milovidov
5cf02c4cc1 dbms: addition to prev. revision [#METR-13297]. 2014-10-26 03:21:06 +03:00
Alexey Milovidov
13f825a7e5 dbms: StorageBuffer: fixed error [#METR-13297]. 2014-10-26 03:12:39 +03:00
Alexey Milovidov
2d5192c4a0 dbms: StorageBuffer: development [#METR-13297]. 2014-10-26 03:01:36 +03:00
Alexey Milovidov
08e93dbbd4 dbms: Client: showing progress bar for long-running queries [#METR-2944]. 2014-10-26 00:27:37 +04:00
Alexey Milovidov
0045133b0e dbms: prepared for fully-functional progress bar [#METR-2944]. 2014-10-25 22:33:52 +04:00
Andrey Mironov
2798a19944 Merge 2014-10-24 14:48:47 +04:00
Andrey Mironov
ec5aa734f9 dbms: cut coupling between dbms and dbms_functions. [#METR-12739] 2014-10-24 13:33:31 +04:00
Alexey Milovidov
199837baa4 dbms: fixed error in formatting [#METR-2944]. 2014-10-24 03:30:48 +04:00
Alexey Milovidov
59d4783d5c dbms: fixed bad code [#METR-2944]. 2014-10-24 02:32:17 +04:00
Alexey Milovidov
731fcf6b01 dbms: fixed error in move to PREWHERE [#METR-13020]. 2014-10-24 02:22:34 +04:00
Alexey Milovidov
b7d93bcb18 dbms: fixed error in prev. revision [#METR-13374]. 2014-10-24 02:19:57 +04:00
Alexey Milovidov
405d3ed16f metrage: fixed error [#METR-13374]. 2014-10-24 01:57:03 +04:00
Alexey Milovidov
4eba9dc56c dbms: treat SAMPLE 1 as no-op [#METR-2944]. 2014-10-23 23:16:43 +04:00
Andrey Mironov
934149d59a Merge 2014-10-23 16:16:24 +04:00
Andrey Mironov
2e7c880fe5 dbms: remove accidentally forgotten code. [#METR-13321] 2014-10-21 18:08:06 +04:00
Andrey Mironov
25639d9834 dbms: fix segmentation fault when left tuple of IN contains array types. [#METR-13321] 2014-10-21 17:07:38 +04:00
Andrey Mironov
847b91614a dbms: deduce and check types during alter, alteration of defaulted columns. [#METR-12739] 2014-10-21 16:11:20 +04:00
Alexey Milovidov
2c23fb4d87 dbms: tiny modifications [#METR-2944]. 2014-10-19 01:46:05 +04:00
Alexey Milovidov
d3664eac89 dbms: added setting replication_alter_partitions_sync [#METR-13158]. 2014-10-18 23:14:09 +04:00
Alexey Milovidov
f26b265eed Merge 2014-10-18 21:37:55 +04:00
Alexey Milovidov
6575443ff9 dbms: Client: don't fall to std::terminate when bad arguments (tnx. egatov) [#METR-2944]. 2014-10-18 03:42:50 +04:00
Alexey Milovidov
172ac6715f dbms: tiny fix [#METR-2944]. 2014-10-18 01:44:56 +04:00
Andrey Mironov
8a8e5963c5 dbms: chaining support for defaulted columns when corresponding columns files are absent. [#METR-12739] 2014-10-17 16:26:53 +04:00
Alexey Milovidov
a097d24644 dbms: moved some code to separate file [#METR-13153]. 2014-10-17 05:05:51 +04:00
Alexey Milovidov
ef82933bb3 zkutil: Async interface: development [#METR-2944]. 2014-10-17 00:05:26 +04:00
Andrey Mironov
1dfcaefc64 Merge 2014-10-16 20:55:23 +04:00
Andrey Mironov
0bfd35e5c7 dbms: defaulted columns support for ALTER, currently without type deduction and checking. 2014-10-16 17:37:01 +04:00
Alexey Milovidov
c2e4662ad7 Changed boost:: to std:: for bind, ref/cref, thread, shared_ptr [#METR-2807]. 2014-10-16 05:21:03 +04:00
Alexey Milovidov
afc4f7fcf0 dbms: tiny modification [#METR-13153]. 2014-10-16 00:28:43 +04:00
Alexey Milovidov
07ba420b85 dbms: addition to prev. revision; removed support to FETCH UNREPLICATED PARTITION [#METR-13153]. 2014-10-15 23:59:12 +04:00
Alexey Milovidov
2800bf4c30 dbms: modified criteria for automatic repair [#METR-13235]. 2014-10-15 23:42:32 +04:00
Alexey Milovidov
7ef7b5d81e dbms: allowed recursive macros [#METR-13146]. 2014-10-15 23:38:46 +04:00
Alexey Milovidov
25b474bd81 dbms: fixed subtle error [#METR-13153]. 2014-10-15 17:38:09 +04:00
Alexey Milovidov
3d7639e5f1 dbms: little better [#METR-13153]. 2014-10-15 05:22:06 +04:00
Alexey Milovidov
8d0bdffdff dbms: addition to prev. revision [#METR-13204]. 2014-10-14 23:12:49 +04:00
Alexey Milovidov
1c16466214 dbms: fixed error when sorting result of ARRAY JOIN by empty arrays [#METR-13204]. 2014-10-14 22:39:38 +04:00
Alexey Milovidov
5fc32bb267 dbms: FETCH PARTITION: development [#METR-13153]. 2014-10-13 22:01:58 +04:00
Alexey Milovidov
21383c5475 dbms: FETCH PARTITION: development [#METR-13153]. 2014-10-13 21:28:59 +04:00
Andrey Mironov
43deee45c9 dbms: MATERIALIZED columns evaluation during insert, error handling. #[METR-12739] 2014-10-13 18:35:40 +04:00
Andrey Mironov
6f7997ce11 dbms: prohibit inserting materialized columns, support create as and similar queries. [#METR-12739] 2014-10-10 19:45:43 +04:00
Alexey Milovidov
54636994ef dbms: FETCH PARTITION: development [#METR-13153]. 2014-10-10 04:46:37 +04:00
Alexey Milovidov
39bf7f3442 dbms: fixed error in system.zookeeper table [#METR-13153]. 2014-10-10 03:15:14 +04:00
Alexey Milovidov
a76db2ba78 dbms: improvement [#METR-13153]. 2014-10-10 03:14:06 +04:00
Alexey Milovidov
24be223a48 dbms: added column 'partition' to table system.parts [#METR-13153]. 2014-10-10 02:54:17 +04:00
Alexey Milovidov
299f32dc14 dbms: addition to prev. revision [#METR-13129]. 2014-10-10 02:52:20 +04:00
Alexey Milovidov
110422dc21 dbms: fixed error with position of FINAL and SAMPLE in SELECT query [#METR-13129]. 2014-10-10 02:46:28 +04:00
Alexey Milovidov
c1601502bd dbms: FETCH PARTITION: parsing and dispatching [#METR-13153]. 2014-10-10 00:28:33 +04:00
Pavel Kartavyy
cc5629a06a Merge 2014-10-08 23:00:44 +04:00
Pavel Kartavyy
d9bba776eb cloud: fixed funny bug that cloud cannot be created if some host is unknown by DNS [#METR-10969] 2014-10-08 23:00:25 +04:00
Alexey Milovidov
58982a2530 dbms: fixed error [#METR-11587]. 2014-10-08 05:54:26 +04:00
Alexey Milovidov
150bde4e4f dbms: VIEWs: added support for SAMPLE, FINAL, PREWHERE [#METR-13098]. 2014-10-08 03:08:56 +04:00
Alexey Milovidov
a6dcbb0371 dbms: addition to prev. revision [#METR-13087]. 2014-10-08 02:22:09 +04:00
Alexey Milovidov
c74a5e1166 dbms: addition to prev. revision [#METR-13087]. 2014-10-08 02:20:32 +04:00
Alexey Milovidov
82467eca80 dbms: improved checking types in IN [#METR-13087]. 2014-10-08 02:19:48 +04:00
Alexey Milovidov
49df24d891 dbms: system.replicas: improvement [#METR-12726]. 2014-10-08 00:04:40 +04:00
Alexey Milovidov
48ec87bc40 dbms: fixed error with system.replicas; improvement [#METR-12726]. 2014-10-07 22:44:03 +04:00
Alexey Milovidov
bb60b4e859 dbms: fixed bad code [#METR-12726]. 2014-10-07 22:42:35 +04:00
Pavel Kartavyy
10f948d3a3 Merge 2014-10-07 17:10:38 +04:00
Andrey Mironov
f675bed75b dbms: add partial validation of ALTER queries. [#METR-12739] 2014-10-07 13:09:59 +04:00
Alexey Milovidov
a800baba16 dbms: more neat [#METR-2944]. 2014-10-07 02:48:20 +04:00
Alexey Milovidov
3ff8c7ff26 dbms: fixed error [#METR-13087]. 2014-10-07 02:46:18 +04:00
Alexey Milovidov
390b2efc61 dbms: fixing error [#METR-13087] (incomplete). 2014-10-07 00:33:12 +04:00
Pavel Kartavyy
35bdcc715d Merge 2014-10-06 16:26:17 +04:00
Alexey Milovidov
ee52328600 dbms: fixed error with index and NOT [#METR-13066]. 2014-10-06 09:49:31 +04:00
Alexey Milovidov
468ea6e4be dbms: added table system.replicas [#METR-12726]. 2014-10-06 09:18:17 +04:00
Alexey Milovidov
0e923da9b3 dbms: added system.zookeeper table [#METR-2944]. 2014-10-06 07:49:56 +04:00
Alexey Milovidov
2c2d4ea921 dbms: added table system.settings [#METR-2944]. 2014-10-06 06:01:41 +04:00
Alexey Milovidov
a3dbff3fc4 dbms: easier to add more compression algrorithms [#METR-2944]. 2014-10-06 01:59:23 +04:00
Alexey Milovidov
ec9fb6f600 dbms: fixed error in prev. revision [#METR-12524]. 2014-10-03 23:38:51 +04:00
Alexey Milovidov
b274378e18 dbms: Client: more handy [#METR-12524]. 2014-10-03 23:09:15 +04:00
Alexey Milovidov
b4f45dc27a dbms: fixed double whitespace when formatting ALTER TABLE ATTACH/DETACH [#METR-12524]. 2014-10-03 22:57:05 +04:00
Alexey Milovidov
a2634c60d0 dbms: fixed error in prev. revisions [#METR-12524]. 2014-10-03 22:55:11 +04:00
Alexey Milovidov
64071c2224 Merge 2014-10-03 22:41:16 +04:00
Alexey Milovidov
90d8096a0e Merge 2014-10-03 21:57:01 +04:00
Alexey Milovidov
e84a0266e6 dbms: more consistent usage of override in Storages [#METR-12524]. 2014-10-03 21:55:36 +04:00
Andrey Mironov
220ce78326 dbms: support ALIAS in table declaration 2014-10-03 19:30:10 +04:00
Andrey Mironov
defc09ed40 Merge 2014-10-03 18:29:42 +04:00
Andrey Mironov
f7ce30aa9d dbms: support AddingDefaultBlock(Input|Output)Stream without ColumnDefaults 2014-10-03 14:25:05 +04:00
Andrey Mironov
468b7af64e Merge 2014-10-03 14:19:34 +04:00
Andrey Mironov
47629b31cd fix optimize_move_to_prewhere, alter query before any other manipulations. #[METR-13020] 2014-10-03 13:17:06 +04:00
Alexey Milovidov
1da86169d6 dbms: more handy error message [#METR-2944]. 2014-10-03 03:31:18 +04:00
Alexey Milovidov
c1bb78df32 Merge 2014-10-02 23:20:39 +04:00
Alexey Milovidov
b470cb26b1 dbms: uniqUpTo: fixed error [#METR-13022]. 2014-10-02 23:20:09 +04:00
Andrey Mironov
9800d0d95f Merge 2014-10-02 22:34:49 +04:00
Pavel Kartavyy
7bb049e4e0 Merge 2014-10-02 20:07:18 +04:00
Andrey Mironov
59ae69c5e9 rename optimization setting to optimize_move_to_prewhere 2014-10-02 13:48:53 +04:00
Alexey Milovidov
6b6151d51f dbms: system.parts: more handy [#METR-12784]. 2014-10-01 22:40:43 +04:00
Andrey Mironov
192dde9b36 Merge 2014-10-01 20:47:36 +04:00
Andrey Mironov
5083090f8d Merge 2014-10-01 20:39:32 +04:00
Andrey Mironov
5dde67112d remove std::cout loggin 2014-10-01 18:12:06 +04:00
Andrey Mironov
aebc4f0f48 add merge_tree_optimize_where setting, default to false. [#METR-11900] 2014-10-01 17:51:44 +04:00
Andrey Mironov
5f88c8ae81 always show default_type and default_expression columns for DESC TABLE query. [#METR-12739] 2014-10-01 15:17:44 +04:00
Alexey Milovidov
8afa7c1943 dbms: probably fixed error [#METR-12784]. 2014-10-01 04:11:32 +04:00
Alexey Milovidov
d6a2cc33aa dbms: tiny modifications [#METR-12784]. 2014-10-01 04:10:35 +04:00
Alexey Milovidov
4b83a8d3b3 dbms: tiny modifications [#METR-12784]. 2014-10-01 00:26:10 +04:00
Andrey Mironov
34dba980c7 show defaulted columns info in DESC TABLE query output. [#METR-12739] 2014-09-30 07:48:40 +04:00
Andrey Mironov
8052020218 add draft version of DEFAULT, MATERIALIZED/ALIAS currently parsed but not taken into account. [#METR-12739] 2014-09-30 07:08:47 +04:00
Alexey Milovidov
995bc9a5dd dbms: investigation [#METR-12784]. 2014-09-30 00:26:46 +04:00
Andrey Mironov
3060ba9571 return ColumnDefaults from InterpreterCreateQuery::parseColumns. [#METR-12739] 2014-09-29 18:58:48 +04:00
Andrey Mironov
529674ce6a detect cycles, deduce and check types. [#METR-12739] 2014-09-29 17:36:30 +04:00
Alexey Milovidov
e3ac086ff0 Merge 2014-09-29 09:03:17 +04:00
Alexey Milovidov
af02e67992 dbms: tiny modification [#METR-2944]. 2014-09-29 09:03:03 +04:00
Alexey Milovidov
20de7e1003 dbms: tiny modification (more compatible) [#METR-12784]. 2014-09-26 20:11:30 +04:00
Alexey Milovidov
e379477828 dbms: don't allow empty identifiers [#METR-2944]. 2014-09-26 20:10:37 +04:00
Alexey Milovidov
fdd34069ff dbms: probably fixed error in cyclic ALTERs [#METR-12509]. 2014-09-26 04:49:50 +04:00
Andrey Mironov
1d04061a0e implement type-deduction and type-enforcing. [#METR-12739] 2014-09-25 19:01:09 +04:00
Andrey Mironov
cee035439e add makeASTFunction factory-function. #[NETR-12739] 2014-09-25 19:00:12 +04:00
Andrey Mironov
142d0a49c0 add ASTColumnDeclaration, corresponding formatAST, modify Interpreters. [#METR-12739] 2014-09-25 17:40:26 +04:00
Alexey Milovidov
ba0191d0fc dbms: better observability [#METR-12784]. 2014-09-25 03:35:27 +04:00
Alexey Milovidov
b32586f851 dbms: added tests for prev. revision [#METR-12901]. 2014-09-24 22:07:39 +04:00
Alexey Milovidov
2706a28d3b dbms: fixed errors when INSERTing subset of columns through HTTP [#METR-12901]. 2014-09-24 22:06:24 +04:00
Alexey Milovidov
36866b7d6b Removed columns NormalizedEndURLHash, NormalizedRefererHash everywhere [#MTRSADMIN-447]. 2014-09-24 19:43:47 +04:00
Andrey Mironov
d1d9037053 Merge 2014-09-24 18:46:23 +04:00
Andrey Mironov
58dd0cbe50 extend parser for default column declaration support. [#METR-12739] 2014-09-24 18:44:57 +04:00
Andrey Mironov
08a4ba91ef add tests for date arithmetic. 2014-09-24 15:53:41 +04:00
Andrey Mironov
f77ef5f84d rename evaluateDatabaseName function and header, add comments 2014-09-24 15:53:41 +04:00
Andrey Mironov
0a4e3f1280 add function currentDatabase(), allow string-expressions in place of database name 2014-09-24 15:53:41 +04:00
Alexey Milovidov
463dfe5ea9 Merge 2014-09-23 23:47:25 +04:00
Andrey Mironov
c6048522d2 Merge 2014-09-23 21:24:39 +04:00
Andrey Mironov
9c5f8eadb3 Merge 2014-09-23 21:00:57 +04:00
Andrey Mironov
f9afc661d1 Merge 2014-09-23 15:36:02 +04:00
Andrey Mironov
bc1587a192 Merge 2014-09-23 15:36:02 +04:00
Andrey Mironov
0f0c10a62d move single condition from WHERE to PREWHERE, refactor. [#METR-11900] 2014-09-23 15:36:02 +04:00
Andrey Mironov
13870f5ba5 transform of non-good conditions, refactor. [#METR-11900] 2014-09-23 15:36:02 +04:00
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
Sergey Fedorov
f5d07ed9dd dbms: fixed uninitialized variable in set.h [METR-11023] 2014-05-15 14:45:44 +04:00
Sergey Fedorov
32e1a76960 dbms: fixed number parsing error in table function remote [METR-11112] 2014-05-15 14:39:52 +04:00
Sergey Fedorov
2bdcb127ec dbms: fixed compilation bug [METR-11023] 2014-05-15 14:35:02 +04:00
Sergey Fedorov
b308db2434 dbms: limits for transfering external tables, only_external mode in set [METR-11023] 2014-05-15 14:24:03 +04:00
Michael Kolupaev
ed26098886 Merge 2014-05-14 21:51:43 +04:00
Alexey Milovidov
ca4717e69a dbms: Client: fixed error in command line options [#METR-2944]. 2014-05-14 21:35:51 +04:00
Sergey Fedorov
208e5ccdce dbms: rewriting logic of global in queries [METR-10974] 2014-05-14 19:07:51 +04:00
Michael Kolupaev
90c5aacde6 dbms: fixed a test with undefined result. [#METR-2807] 2014-05-14 18:34:33 +04:00
Michael Kolupaev
4e2f2eca05 dbms: small fix. [#METR-2807] 2014-05-14 18:20:34 +04:00
Michael Kolupaev
19a037c8a4 dbms: fixed default users config name. [#METR-2807] 2014-05-14 18:19:58 +04:00
Michael Kolupaev
728bdf4928 Merge 2014-05-13 15:24:16 +04:00
Michael Kolupaev
f17b46548c fixed build. [#METR-10202] 2014-05-13 14:34:45 +04:00
Michael Kolupaev
2765b93851 Merge 2014-05-13 14:16:33 +04:00
Michael Kolupaev
90e93b171d Merge 2014-05-13 14:10:26 +04:00
Alexey Milovidov
2326d31f62 dbms: fixed error [#METR-10945]. 2014-05-12 21:27:48 +04:00
Alexey Milovidov
7c923f5799 dbms: TwoLevelHashTable: fixed error [#METR-2944]. 2014-05-12 07:11:45 +04:00
Alexey Milovidov
027e80e2b6 dbms: Fixed possible uninitialized memory read [#METR-2944]. 2014-05-12 04:49:24 +04:00
Alexey Milovidov
8198d86f5a dbms: fixed errors on clang [#METR-2807]. 2014-05-12 04:45:50 +04:00
Alexey Milovidov
4f15ea1c09 dbms: tiny improvement [#METR-2944]. 2014-05-12 00:49:08 +04:00
Alexey Milovidov
c0e1aa8f2c dbms: fixed error [#METR-2944]. 2014-05-12 00:48:39 +04:00
Alexey Milovidov
3411b9fe68 dbms: TwoLevelHashTable: development [#METR-2944]. 2014-05-11 00:47:12 +04:00
Alexey Milovidov
f0792f0deb dbms: improved performance of aggregation and aggregate function uniq [#METR-2944]. 2014-05-10 09:17:08 +04:00
Alexey Milovidov
b5eb465f84 dbms: preparation [#METR-2944]. 2014-05-10 09:16:23 +04:00
Alexey Milovidov
95827e2dc2 dbms: improved performance of aggregation by string key [#METR-2944]. 2014-05-10 06:42:45 +04:00
Alexey Milovidov
82a44f8eec dbms: tiny improved performance of aggregation [#METR-2944]. 2014-05-10 05:37:12 +04:00
Alexey Milovidov
47afe8bd9c dbms: Aggregator: decomposed code to easier trying more aggregation methods; performance is suddenly improved up to 25%; fixed memory leak when exception while aggregating by KEYS_128 method [#METR-2944]. 2014-05-10 04:31:22 +04:00
Alexey Milovidov
ea3a22102d dbms: MemoryTracker: added whitespace [#METR-11015]. 2014-05-10 04:29:50 +04:00
Alexey Milovidov
19d6a632b6 Fixed build [#METR-2807]. 2014-05-08 22:34:43 +04:00
Alexey Milovidov
9a6691aa6b dbms: MemoryTracker: fixed error [#METR-11015]. 2014-05-08 19:54:51 +04:00
Michael Kolupaev
be5a9cf820 Merge 2014-05-08 17:27:18 +04:00
Michael Kolupaev
a6d0c9693e dbms: development. [#METR-10202] 2014-05-08 17:27:18 +04:00
Michael Kolupaev
f93db5572e dbms: added a check to active_parts.py. [#METR-10202] 2014-05-08 16:35:46 +04:00
Michael Kolupaev
8ea2b0f7a7 dbms: human readable sizes logged in MemoryTracker. [#METR-11015] 2014-05-08 16:00:47 +04:00
Michael Kolupaev
6232f3e9b4 Merge 2014-05-08 12:03:03 +04:00
Michael Kolupaev
e2e7a61c61 Merge 2014-05-08 11:30:00 +04:00
Michael Kolupaev
ea9e8964f0 Merge 2014-05-08 11:12:01 +04:00
Michael Kolupaev
cbf3719981 dbms: small improvement. [#METR-11044] 2014-05-08 10:24:48 +04:00
Michael Kolupaev
5a5cfa31f1 Merge 2014-05-07 18:12:15 +04:00
Michael Kolupaev
0b7928f6a9 Merge 2014-05-07 17:58:20 +04:00
Michael Kolupaev
df07fa2674 Merge 2014-05-07 17:56:01 +04:00
Michael Kolupaev
c6194d47f4 Merge 2014-05-07 15:44:14 +04:00
Michael Kolupaev
892704d332 dbms: fixed a test. [#METR-11017] 2014-05-07 14:44:50 +04:00
Alexey Milovidov
fed3d5ec68 dbms: benchmark: fixed error [#METR-2944]. 2014-05-06 22:19:23 +04:00
Alexey Milovidov
cfac18bdd4 dbms: benchmark: more info [#METR-2944]. 2014-05-06 22:02:57 +04:00
Alexey Milovidov
ada10cebad dbms: benchmark: more info [#METR-2944]. 2014-05-06 21:34:22 +04:00
Alexey Milovidov
3e4fdd0256 dbms: benchmark: more timings [#METR-2944]. 2014-05-06 21:19:24 +04:00
Alexey Milovidov
a9cd1a65ae dbms: fixed benchmark [#METR-2944]. 2014-05-06 21:08:51 +04:00
Alexey Milovidov
a17d59d409 dbms: fixed error with HashTable [#METR-11015]. 2014-05-04 03:59:30 +04:00
Alexey Milovidov
0abc554493 dbms: tracking amount of memory usage per query [#METR-11015]. 2014-05-04 02:57:43 +04:00
Alexey Milovidov
4f1852c399 dbms: fixed error with 'replace running query' [#METR-2944]. 2014-05-03 23:52:35 +04:00
Alexey Milovidov
734acc10c2 dbms: experiments with hash tables: removed code of unsuccessful method of parallel aggregation [#METR-2944]. 2014-05-03 20:35:18 +04:00
Alexey Milovidov
c55c3829f7 dbms: fixed comment [#METR-2944]. 2014-05-03 20:04:15 +04:00
Alexey Milovidov
2b13e02d3c dbms: fixed error [#METR-2944]. 2014-05-03 20:03:49 +04:00
Alexey Milovidov
2dc708e70c dbms: experiments with hash tables [#METR-2944]. 2014-05-03 05:45:34 +04:00
Alexey Milovidov
04cb4d878b dbms: experiments with hash tables [#METR-2944]. 2014-05-03 04:08:35 +04:00
Alexey Milovidov
36b677e873 dbms: HashTable: better [#METR-2944]. 2014-05-02 23:25:17 +04:00
Alexey Milovidov
4aa1b5963b dbms: continue [#METR-2944]. 2014-05-02 19:48:03 +04:00
Alexey Milovidov
b394bc5a61 dbms: experiments with hash tables [#METR-2944]. 2014-05-02 16:49:39 +04:00
Alexey Milovidov
73daa82d82 dbms: tiny improvement [#METR-2944]. 2014-05-01 21:26:46 +04:00
Alexey Milovidov
1151854175 dbms: fixed error [#METR-2944]. 2014-05-01 21:26:31 +04:00
Alexey Milovidov
9d225f69ed dbms: added test to prev. revision [#METR-2944]. 2014-05-01 19:05:36 +04:00
Alexey Milovidov
c9831381e0 dbms: fixed error [#METR-2944]. 2014-05-01 19:02:36 +04:00
Alexey Milovidov
10fdfb2c9f dbms: tiny performance improvement [#METR-2944]. 2014-05-01 04:17:02 +04:00
Michael Kolupaev
4cee45e004 dbms: better optimization of ARRAY JOIN; tests for it. [#METR-11017] 2014-04-30 23:19:35 +04:00
Alexey Milovidov
fc8aa282c0 dbms: lowered default block size; introduced default insert block size [#METR-11014].. 2014-04-30 00:22:57 +04:00
Alexey Milovidov
e1eac9c927 Merge 2014-04-29 23:09:33 +04:00
Alexey Milovidov
0eedfd6542 dbms: improved usability [#METR-10904]. 2014-04-29 23:09:11 +04:00
Sergey Fedorov
add1b80d7a dbms: fixed global_in inside aggregate function. [METR-10974] 2014-04-29 20:53:01 +04:00
Alexey Milovidov
c66979eafb dbms: addition to prev. revision [#METR-10988]. 2014-04-29 08:13:26 +04:00
Alexey Milovidov
7d534675af dbms: fixed error in prev. revision [#METR-10988]. 2014-04-29 07:33:10 +04:00
Alexey Milovidov
8ad9d10c4f dbms: added tests [#METR-2944]. 2014-04-29 05:18:28 +04:00
Alexey Milovidov
7d395ac826 dbms: unified hash tables: development [#METR-2944]. 2014-04-29 04:52:29 +04:00
Alexey Milovidov
752ed08e8f dbms: unified hash tables: development [#METR-2944]. 2014-04-29 04:51:05 +04:00
Alexey Milovidov
897752de16 dbms: unified hash tables: development [#METR-2944]. 2014-04-29 04:28:18 +04:00
Alexey Milovidov
da3cec39b1 dbms: addition to prev. revision [#METR-10988]. 2014-04-29 04:25:12 +04:00
Alexey Milovidov
3e20b26fd2 dbms: HashTableAllocator: using mremap for large chunks; fixed error [#METR-10988]. 2014-04-29 04:24:13 +04:00
Alexey Milovidov
38f7c7834e dbms: unified hash tables: development [#METR-2944]. 2014-04-28 07:29:32 +04:00
Alexey Milovidov
bbbc5c2b69 dbms: unified hash tables: development [#METR-2944]. 2014-04-28 07:25:05 +04:00
Alexey Milovidov
4bf42ea6e6 dbms: unified hash tables: development [#METR-2944]. 2014-04-28 06:47:56 +04:00
Alexey Milovidov
8232983714 dbms: unified hash tables: development [#METR-2944]. 2014-04-28 05:48:24 +04:00
Alexey Milovidov
b7092a7ab1 Merge 2014-04-28 00:47:28 +04:00
Sergey Fedorov
199738fee9 mergeTree: fixed bug with all_mark_ranges[i].end [METR-10931] 2014-04-25 18:56:32 +04:00
Michael Kolupaev
205b0bd908 Merge 2014-04-25 16:43:10 +04:00
Michael Kolupaev
94cae0b3ad dbms: not logging some useless info; added comment. [#METR-10202] 2014-04-25 12:46:40 +04:00
Alexey Milovidov
1e34ee442a dbms: added test [#METR-10955]. 2014-04-25 03:13:33 +04:00
Alexey Milovidov
1db77a0a8f dbms: test: allowed to use .sh scripts as tests [#METR-10955]. 2014-04-25 03:13:06 +04:00
Alexey Milovidov
a0d87ca85e dbms: fixed error with big inserts through HTTP [#METR-10955]. 2014-04-25 00:18:00 +04:00
Alexey Milovidov
17a10c082a dbms: better [#METR-10955]. 2014-04-24 22:54:36 +04:00
Alexey Milovidov
3b883d6b43 dbms: doc: development [#METR-10719]. 2014-04-24 22:49:07 +04:00
Michael Kolupaev
571a446aaf dbms: fixed active_parts.py. [#METR-10202] 2014-04-24 14:21:23 +04:00
Michael Kolupaev
8bd16d3361 Merge 2014-04-24 14:20:02 +04:00
Sergey Fedorov
0fbd8a32be dbms: optimization of reading from files in merge tree [METR-10931] 2014-04-23 20:45:53 +04:00
Sergey Fedorov
6e55c822c0 client: fixed bug with sending readOnly [METR-8983] 2014-04-23 17:35:26 +04:00
Alexey Milovidov
aa3c0b6a8d dbms: tiny improvement [#METR-10931]. 2014-04-23 02:58:05 +04:00
Alexey Milovidov
b821e1420d Fixed style [#METR-10931]. 2014-04-23 02:52:00 +04:00
Alexey Milovidov
a3caebf31b dbms: tiny improvement [#METR-10931]. 2014-04-23 02:43:55 +04:00
Alexey Milovidov
6bec60bb39 dbms: external tables: fixed error [#METR-10071]. 2014-04-22 22:35:40 +04:00
Alexey Milovidov
4befbd1f20 dbms: Client: fixed error [#METR-10719]. 2014-04-22 21:55:30 +04:00
Sergey Fedorov
c139a6d209 dbms: fixed bug in merge tree output stream: compression of min block now runs at the right moment [METR-10570] 2014-04-22 19:36:21 +04:00
Michael Kolupaev
dba95b4de5 Merge 2014-04-22 15:20:02 +04:00
Michael Kolupaev
345b1bfb44 Merge 2014-04-22 14:41:53 +04:00
Alexey Milovidov
b07f478984 dbms: added tests [#METR-10705]. 2014-04-21 20:20:57 +04:00
Alexey Milovidov
554d329064 dbms: fixed WITH TOTALS and LIMIT/DISTINCT [#METR-10705]. 2014-04-21 20:09:04 +04:00
Sergey Fedorov
64ca649a27 dbms: fixed bug in Client, user and password now work properly [METR-10801] 2014-04-18 19:52:27 +04:00
Sergey Fedorov
e1c84869f7 dbms: fixed compilation buf [METR-8983] 2014-04-18 18:40:05 +04:00
Sergey Fedorov
5e4f412040 dbms: bug-fix, profile is not storing for now [METR-8983] 2014-04-18 18:33:44 +04:00
Pavel Kartavyy
521577dced dbms: fixed bug [#METR-10190] 2014-04-18 18:26:00 +04:00
Sergey Fedorov
4c7dd4e269 dbms: storing settings and default database in client [METR-8983] 2014-04-18 17:59:39 +04:00
Michael Kolupaev
88644b2377 Merge 2014-04-18 15:05:30 +04:00
Michael Kolupaev
2ff0b62529 Merge 2014-04-18 14:37:26 +04:00
Michael Kolupaev
30db4e41ec Merge 2014-04-18 14:05:38 +04:00
Michael Kolupaev
d5215ae37e Better handling of old checksums files. [#METR-10202] 2014-04-18 13:55:25 +04:00
Michael Kolupaev
68049a0162 Merge 2014-04-18 13:55:25 +04:00
Sergey Fedorov
d0452204ad dbms: profile event UncompressedCacheWeightLost [METR-10570] 2014-04-17 19:46:58 +04:00