Commit Graph

2547 Commits

Author SHA1 Message Date
Andrey Mironov
2066b089ab dbms: fix cut* functions for constant strings 2014-12-05 14:45:06 +03:00
Andrey Mironov
8533ebe8bd Merge 2014-12-04 18:51:36 +03:00
Andrey Mironov
fa3d9226b3 dbms: fix forced flush in StorageBuffer 2014-12-03 16:28:17 +03:00
Pavel Kartavyy
4b1ad86ce9 fixed date delimeter [#METR-13763] 2014-12-03 13:50:00 +03:00
Andrey Mironov
78a172bf0f dbms: disallow range() arguments greater than one millin. [#METR-13613] 2014-12-02 21:25:43 +03:00
Andrey Mironov
c6134124f6 dbms: remove square function, alter tests. [#METR-13613] 2014-12-02 20:25:10 +03:00
Andrey Mironov
ea9472312e dbms: implement range(n) function, add tests. [#METR-13613] 2014-12-02 20:25:10 +03:00
Andrey Mironov
682bfb46a5 dbms: vectorize math functions. [#METR-13613] 2014-12-02 20:25:10 +03:00
Andrey Mironov
af55445da3 dbms: implement abs(). [#METR-13613] 2014-12-02 20:25:09 +03:00
Andrey Mironov
fae4eb388d dbms: enforce const in CreatingSetsBlockInputStream ctor. 2014-12-02 20:25:09 +03:00
Andrey Mironov
8062844eed dbms: add math functions without SSE. [#METR-13613] 2014-12-02 20:25:09 +03:00
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
da4c4a0566 dbms: more uniform load of threads while aggragation [#METR-2944]. 2014-11-30 21:22:57 +03:00
Alexey Milovidov
92e5793c8e dbms: tiny fix [#METR-2944]. 2014-11-30 09:59:03 +03:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Pavel Kartavyy
1a73e77463 dbms: fixed exception in TinyLog when it is empty [#METR-12532] 2014-09-10 20:49:18 +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
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
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
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
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
2fe534aade dbms: fixed error; suddenly faster [#METR-2944]. 2014-08-17 13:18:47 +04:00
Alexey Milovidov
dbe7ce2990 dbms: faster rand and rand64 functions [#METR-2944]. 2014-08-17 12:28:03 +04:00
Alexey Milovidov
2d2c4c932e dbms: improved performance of filtering [#METR-2944]. 2014-08-17 11:39:28 +04:00
Alexey Milovidov
bbd6064a19 dbms: improved performance of comparisons [#METR-2944]. 2014-08-17 09:41:28 +04:00
Alexey Milovidov
47a810e04f dbms: FunctionsComparison: improvement [#METR-2944]. 2014-08-17 07:29:56 +04:00
Alexey Milovidov
cdf4e8d415 dbms: improved performance of integer division by constant [#METR-2944]. 2014-08-17 06:13:40 +04:00
Alexey Milovidov
35cdf28110 dbms: improved performance of filtering [#METR-2944]. 2014-08-17 03:18:37 +04:00
Alexey Milovidov
65cf115313 dbms: fixed error (progress message in the middle of data, in JSON formats) [#METR-11125]. 2014-08-15 00:27:41 +04:00
Alexey Milovidov
f2b967ab06 Merge 2014-08-14 11:25:21 +04:00
Alexey Milovidov
1cd1e5f724 dbms: BackgroundProcessingPool: less messy; fixed error(s) [#METR-12317]. 2014-08-14 05:48:50 +04:00
Alexey Milovidov
cb94f1301c dbms: removed comment [#METR-2944]. 2014-08-14 05:37:06 +04:00
Michael Kolupaev
d9ae9876ce Merge 2014-08-13 12:08:40 +04:00
Michael Kolupaev
a373267660 Merge 2014-08-12 16:41:39 +04:00
Michael Kolupaev
51992989a6 Merge 2014-08-12 13:27:00 +04:00
Alexey Milovidov
85b36b6c9d Merge 2014-08-12 04:16:27 +04:00
Alexey Milovidov
51f73643c6 ███████████: fixed order of rows processing [#METR-12291]. 2014-08-12 04:15:17 +04:00
Michael Kolupaev
583f4c114e Merge 2014-08-11 19:59:05 +04:00
Michael Kolupaev
7b11fc4f6c Merge 2014-08-11 18:05:42 +04:00
Alexey Milovidov
9a946d73b9 dbms: fixed error with formatting floating point literals in query [#METR-2944]. 2014-08-10 02:36:07 +04:00
Alexey Milovidov
69ba035488 dbms: fixed error with function negate on UInt32 [#METR-2944]. 2014-08-09 06:29:03 +04:00
Alexey Milovidov
8038d2ab66 dbms: added function bar [#METR-12249]. 2014-08-09 05:51:03 +04:00
Michael Kolupaev
eaf4a79f11 Merge 2014-08-08 16:53:59 +04:00
Michael Kolupaev
6c194f5a00 fixed PartChecker. [#METR-12155] 2014-08-08 15:40:03 +04:00
Michael Kolupaev
6189e53667 Merge 2014-08-08 14:57:33 +04:00
Michael Kolupaev
dbe4dc64f3 Merge 2014-08-08 14:41:53 +04:00
Michael Kolupaev
71b90ea1d4 Merge 2014-08-08 14:03:19 +04:00
Andrey Mironov
beca178f2f dbms: support WITH TOTALS without GROUP BY 2014-08-08 10:10:12 +04:00
Alexey Milovidov
857f7db99d Merge 2014-08-07 23:20:30 +04:00
Michael Kolupaev
9bec7e4a28 Merge 2014-08-07 16:26:04 +04:00
Michael Kolupaev
7643a49b8e Merge 2014-08-07 16:26:04 +04:00
Michael Kolupaev
00fefb3df2 dbms: interpreting ALTER TABLE DROP PARTITION. Not storage supports it yet. [#METR-12037] 2014-08-07 16:26:04 +04:00
Michael Kolupaev
e76a00fbd2 dbms: parsing and formatting ALTER TABLE DROP PARTITION. Not interpreting it yet. [#METR-12037] 2014-08-07 16:26:04 +04:00
Michael Kolupaev
98297fa475 Merge 2014-08-07 16:26:03 +04:00
Pavel Kartavyy
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
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
917f312a95 dbms: materialized views pass virtual columns through. [#METR-12150] 2014-08-06 13:25:41 +04:00
Pavel Kartavyy
e4dbe3c242 FileChecker: return true if no sizes.txt file exists [#METR-11709] 2014-08-05 17:41:07 +04:00
Pavel Kartavyy
bdea8e78e7 dbms: FileChecker simplified [#METR-11709] 2014-08-05 16:50:20 +04:00
Pavel Kartavyy
7f7d512f03 dbms: added check query [#METR-11709] 2014-08-05 14:53:27 +04:00
Pavel Kartavyy
79e755938b dbms: added support of check data to ChunkRef [#METR-11709] 2014-08-05 14:53:27 +04:00
Pavel Kartavyy
8e0a8a4d74 dbms: StorageChunks - added support for check query [#METR-11709] 2014-08-05 14:53:26 +04:00
Pavel Kartavyy
a37e0d4267 dbms: FileChecker - refactoring [#METR-11709] 2014-08-05 14:53:26 +04:00
Pavel Kartavyy
08b4b7ff02 FileChecker: changed xml parser from Poco to boost [#METR-11709]
Poco::XMLConfiguration couldn't parse nodes containing '%2E' sequences.
2014-08-05 14:53:26 +04:00
Pavel Kartavyy
b34c8e47ab dbms.StorageLog: added support for checkData query [#METR-11709] 2014-08-05 14:53:26 +04:00
Pavel Kartavyy
cf1afb1bd1 dbms: FileChecker moved to separate class [#METR-11709] 2014-08-05 14:53:26 +04:00
Pavel Kartavyy
e1c016cbac dbms.TinyLog: call updateSize after writing on disk [#METR-10969] 2014-08-05 14:53:26 +04:00
Pavel Kartavyy
1a39b3bf5c dbms: added checData method in TinyLog storage [#METR-11709] 2014-08-05 14:53:26 +04:00
Michael Kolupaev
6fd0f417b4 Merge 2014-08-04 19:48:03 +04:00
Michael Kolupaev
9a50694f22 Merge 2014-08-04 18:23:52 +04:00
Michael Kolupaev
e9ef0705f3 Merge 2014-08-04 18:23:52 +04:00
Alexey Milovidov
5d4ea3d827 dbms: uniqUpTo: small fix [#METR-12017]. 2014-08-01 23:31:38 +04:00
Alexey Milovidov
c112605fea dbms: fixed aggregate function uniqUpTo [#METR-12017]. 2014-08-01 23:14:21 +04:00
Alexey Milovidov
d9b4c671cd dbms: uniqUpTo: tiny modification [#METR-12017]. 2014-08-01 09:19:17 +04:00
Alexey Milovidov
77cafda096 dbms: uniqUpTo: fixed error (incomplete) [#METR-12017]. 2014-08-01 00:26:22 +04:00
Michael Kolupaev
b1c6001e40 Merge 2014-07-31 13:12:12 +04:00
Andrey Mironov
5dff483dfe Merge 2014-07-31 11:25:32 +04:00
Andrey Mironov
5c85b79e68 dbms: ExpressionAnalyzer: eliminate injective function calls from group by expressions. [#METR-12108] 2014-07-31 11:24:07 +04:00
Michael Kolupaev
8f6ded29f8 Merge 2014-07-30 19:24:45 +04:00
Michael Kolupaev
2bd9733223 Merge 2014-07-30 16:10:38 +04:00
Michael Kolupaev
f58b4f6ccb ClickHouse: Added table system.parts. [#METR-12036] 2014-07-29 19:21:09 +04:00
Michael Kolupaev
9b3ce7f0f8 Refactored VirtualColumnUtils. [#METR-12036] 2014-07-29 19:21:09 +04:00
Andrey Mironov
bfb9d70291 Merge 2014-07-28 19:10:00 +04:00
Michael Kolupaev
8a41d7985a Merge 2014-07-28 18:50:51 +04:00
Michael Kolupaev
2c8e5cd239 Passing new db name to IStorage::rename. [#METR-12038] 2014-07-28 18:50:51 +04:00
Michael Kolupaev
2854ed49da Merge 2014-07-28 18:50:51 +04:00
Michael Kolupaev
5c9f92ac1e Merge 2014-07-28 14:36:15 +04:00
Michael Kolupaev
d660d7db45 Merge 2014-07-28 14:36:15 +04:00
Michael Kolupaev
53a76dd348 Merge 2014-07-28 14:36:14 +04:00
Andrey Mironov
586facc940 libstatdaemons: split OptimizedRegularExpression into thread-safe and single-threaded version 2014-07-28 13:49:16 +04:00
Michael Kolupaev
c832fc00aa Merge 2014-07-25 20:32:02 +04:00
Michael Kolupaev
219e3ca3c6 Merge 2014-07-25 20:10:02 +04:00
Michael Kolupaev
13b9392241 Merge 2014-07-25 17:12:14 +04:00
Michael Kolupaev
85c722caf3 Merge 2014-07-25 17:12:14 +04:00
Michael Kolupaev
a6e8c35ba8 Merge 2014-07-25 11:49:02 +04:00
Alexey Milovidov
5b6173ccf1 dbms: uniqUpTo: development [#METR-12017]. 2014-07-25 05:32:59 +04:00
Alexey Milovidov
a294ab5448 dbms: tiny modification [#METR-2944]. 2014-07-25 05:32:06 +04:00
Alexey Milovidov
1a40e1942c dbms: added aggregate function uniqUpTo [#METR-12017]. 2014-07-25 00:20:36 +04:00
Andrey Mironov
0202b6e92c make_unique implementation, refactor 2014-07-24 17:16:09 +04:00
Alexey Milovidov
b897fdc27a dbms: updated comment [#METR-2944]. 2014-07-24 03:57:58 +04:00
Michael Kolupaev
7b44c88b73 Merge 2014-07-23 20:31:38 +04:00
Andrey Mironov
d16425a5cd dbms: use separate regexp objects for each thread. [#METR-10532] 2014-07-23 19:25:48 +04:00
Michael Kolupaev
90dc182f12 Merge 2014-07-23 19:24:51 +04:00
Michael Kolupaev
897d6fd336 Merge 2014-07-23 16:44:39 +04:00
Michael Kolupaev
272a2a8d9b Merge 2014-07-23 16:44:23 +04:00
Michael Kolupaev
8b18acffec Merge 2014-07-23 15:02:22 +04:00
Michael Kolupaev
bfe126ab04 Merge 2014-07-23 13:50:29 +04:00
Michael Kolupaev
f3285dba79 Merge 2014-07-23 13:15:41 +04:00
Michael Kolupaev
256f15b099 BackgroundProcessingPool: fast shutdown. [#METR-2807] 2014-07-23 13:14:51 +04:00
Michael Kolupaev
72aa59651f fixed a comment and removed an unused method. [#METR-2807] 2014-07-23 10:56:04 +04:00
Michael Kolupaev
16e5a92ed9 Merge 2014-07-22 17:49:52 +04:00
Michael Kolupaev
776f11a256 Merge 2014-07-22 14:36:56 +04:00
Michael Kolupaev
1be80d3410 part_checker: fixes. [#METR-11980] 2014-07-22 14:35:44 +04:00
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
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
4f3b1a476f Merge 2014-07-18 19:41:04 +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
Michael Kolupaev
d668fd27d2 Merge 2014-07-15 19:51:27 +04:00
Michael Kolupaev
86fb1eee37 Merge 2014-07-15 18:37:49 +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
Michael Kolupaev
007c0cedc1 fixed build and a bunch of other stuff. [#METR-11886] 2014-07-14 19:49:03 +04:00
Michael Kolupaev
33955ee7dd Merge 2014-07-14 18:07:47 +04:00
Michael Kolupaev
62de3bc73a Merge 2014-07-14 16:24:22 +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
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
94012f8231 columnar-sender: development [#METR-11888]. 2014-07-11 04:29:59 +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
Michael Kolupaev
a6fd9cd2bd Merge 2014-07-09 17:39:19 +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
baa0f2ed94 dbms: separate limits for JOINs [#METR-11370]. 2014-07-07 22:32:20 +04:00
Michael Kolupaev
c5c63b6111 fixed build. [#METR-10202] 2014-07-07 16:08:47 +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
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
Michael Kolupaev
7362ca686f Merge 2014-07-04 17:59:05 +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
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
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
861eee9163 Merge 2014-07-03 16:15:43 +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
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
Michael Kolupaev
310df87971 Merge 2014-06-30 14:02:25 +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
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
4645131f7a dbms: added ALL JOINs [#METR-11370]. 2014-06-19 23:00:58 +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
a4647a9b51 dbms: added storage Null (for testing purposes) [#METR-10894]. 2014-06-16 21:32:31 +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
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
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
Pavel Kartavyy
7b62758dcf dbms: fix to compability with new zkutil 2014-06-11 21:29:04 +04:00
Alexey Milovidov
10544c8afc dbms: development [#METR-10894]. 2014-06-09 02:17:44 +04:00
Alexey Milovidov
649114821c dbms: development [#METR-10894]. 2014-06-06 23:35:41 +04:00
Alexey Milovidov
5bbc71650e dbms: development [#METR-10894]. 2014-06-06 21:46:03 +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
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
f1dba5e341 dbms: improved performance of function regionToName [#METR-11434]. 2014-06-04 05:00:09 +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
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
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
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
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
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
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
Sergey Fedorov
214e8aa9ea Merge 2014-05-21 17:30:42 +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
Pavel Kartavyy
f2d2dd2739 clickhouse: alter doesn't need quotes anymore [#METR-11063] 2014-05-20 20:46:33 +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
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
Alexey Milovidov
a4fc77a8cb dbms: removed useless code, fixed error [#METR-10719]. 2014-05-16 05:25:20 +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