Commit Graph

2132 Commits

Author SHA1 Message Date
Alexey Milovidov
32f3c9c1da Merge 2014-11-30 06:23:36 +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
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
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
639d29d5d4 dbms: added few profile events [#METR-2944]. 2014-11-23 07:01:36 +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
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
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
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
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
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
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
16a1c1e6e8 Merge 2014-11-09 02:55:24 +03:00
Alexey Milovidov
a58104c818 dbms: showing progress for INSERT SELECT query [#METR-13612]. 2014-11-09 02:52:18 +03:00
Andrey Mironov
fe49e06e46 dbms: implement concat for arbitrary arity (> 0). [#METR-12888] 2014-11-07 21:42:00 +03:00
Alexey Milovidov
3d359e2b82 Partially get rid of time2str.h [#METR-13554]. 2014-11-06 09:32:23 +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
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
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
e063ccc180 dbms: StorageBuffer: additions [#METR-13297]. 2014-10-27 07:18:13 +03:00
Alexey Milovidov
5cf02c4cc1 dbms: addition to prev. revision [#METR-13297]. 2014-10-26 03:21:06 +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
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
Andrey Mironov
934149d59a Merge 2014-10-23 16:16:24 +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
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
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
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
07ba420b85 dbms: addition to prev. revision; removed support to FETCH UNREPLICATED PARTITION [#METR-13153]. 2014-10-15 23:59:12 +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
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
a76db2ba78 dbms: improvement [#METR-13153]. 2014-10-10 03:14:06 +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
150bde4e4f dbms: VIEWs: added support for SAMPLE, FINAL, PREWHERE [#METR-13098]. 2014-10-08 03:08:56 +04:00
Alexey Milovidov
48ec87bc40 dbms: fixed error with system.replicas; improvement [#METR-12726]. 2014-10-07 22:44:03 +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