Commit Graph

280 Commits

Author SHA1 Message Date
Alexey Arno
d01825eaca dbms: Server: fixed issue with query stage setup on replicas [#METR-14410] 2015-02-09 20:53:44 +03:00
Alexey Milovidov
715f5bf8d1 dbms: fixed error with GLOBAL IN when one of shard is localhost [#METR-14557]. 2015-01-14 05:44:25 +03:00
Alexey Milovidov
f9ae1ea67e dbms: fixed error with table function 'remote' [#METR-14483]. 2014-12-30 06:53:41 +03:00
Alexey Milovidov
5d7fe1e852 dbms: fixed error [#METR-14361]. 2014-12-17 23:38:38 +03:00
Andrey Mironov
3ebfd2fb7f dbms: pass proper context into Storage::read(). [#METR-14179]
This reverts commit 34b3f738a67432b44f6f69238dd1529535984d1a.
2014-12-17 17:19:07 +03:00
Andrey Mironov
49e322a045 Revert "dbms: pass proper context into Storage::read(). [#METR-14179]"
This reverts commit c0800b74a6fa338d29a65111599aa1fe71b67201.
2014-12-16 19:22:57 +03:00
Andrey Mironov
dcae14d25e dbms: return cloning query in StorageDistributed::read. [#METR-14179, #METR-13399] 2014-12-16 15:40:25 +03:00
Andrey Mironov
fc9472ba47 dbms: pass proper context into Storage::read(). [#METR-14179] 2014-12-16 15:40:25 +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
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
Andrey Mironov
d0971956e0 dbms: add quantile[s]Deterministic, rename stdext:: to ext:: [#METR-13199] 2014-11-21 16:34:37 +03:00
Andrey Mironov
0bfd35e5c7 dbms: defaulted columns support for ALTER, currently without type deduction and checking. 2014-10-16 17:37:01 +04:00
Andrey Mironov
220ce78326 dbms: support ALIAS in table declaration 2014-10-03 19:30: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
Andrey Mironov
09265f50f9 StorageDistributed: write to multiple local replicas, post-review corrections. [#METR-12221] 2014-08-22 18:06:20 +04:00
Andrey Mironov
c6d4fd941f review corrections. [#METR-12221] 2014-08-21 16:15:24 +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
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
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
Michael Kolupaev
b1c6001e40 Merge 2014-07-31 13:12:12 +04:00
Michael Kolupaev
703b1d1c93 addition to previous commit. [#METR-11886] 2014-07-11 12:12:03 +04:00
Alexey Milovidov
108a7850a5 dbms: improved performance on short queries [#METR-11571]. 2014-06-26 04:58:14 +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
763f354b3d dbms: probably lowered latency of global distributed queries [#METR-10500]. 2014-04-07 04:00:23 +04:00
Alexey Milovidov
312feedecb dbms: removed virtual columns from StorageDistributed [#METR-9172]. 2014-04-07 01:59:27 +04:00
Sergey Fedorov
a4d4990860 dbms: fixed problem with sending empty tables, few more fixes [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
6f85a12692 dbms: fixed variable names, temporary tables are now external tables, in distributed query external table now always will be send to remote servers [METR-10071] 2014-03-27 16:06:45 +04:00
Michael Kolupaev
4d201fa0e5 Merge 2014-03-20 21:34:40 +04:00
Sergey Fedorov
730079e99d dbms: fixed bug with incorrect to_stage calculation in storage distributed [METR-10499] 2014-03-19 16:49:40 +04:00
Michael Kolupaev
67c563a4d3 Added locks to IStorage. Some race conditions are fixed, some are introduced, along with some possible deadlocks. [#METR-10202] 2014-03-19 14:45:13 +04:00
Alexey Milovidov
8c87b14c7f Fixed warnings on clang [#METR-2807]. 2014-03-10 08:17:17 +04:00
Sergey Fedorov
655e0d4934 virtual columns: fixed bug with Group by virtual column, bug when column appears in result more than once [METR-9172] 2014-02-26 14:59:56 +04:00
Alexey Milovidov
5c71627f44 dbms: fixed TableFunctionRemote [#METR-9750]. 2014-02-23 06:27:09 +04:00
Alexey Milovidov
8cf5eb001a dbms: TableFunctionRemote, StorageDistributed: improvements [#METR-9750]. 2014-02-23 02:42:36 +04:00
Alexey Milovidov
f5f95b7cd6 dbms: Cluster: improvement; TableFunctionRemote: allowed to omit port number [#METR-9750]. 2014-02-23 01:50:27 +04:00
Alexey Milovidov
63ff4c57b5 dbms: fixed garbage [#METR-9172]. 2014-02-21 00:05:06 +04:00
Sergey Fedorov
79feefb6a7 storages: index on virtual columns fully supported [METR-9172] 2014-02-11 18:38:21 +00:00
Sergey Fedorov
45dccb01b7 storages: index on virtual columns, huge optimization in queries like select smth where _host = .. [METR-9750] 2014-02-11 17:10:48 +00:00
Sergey Fedorov
b74904a4be storages: virtual column port in storag distributed now work properly [METR-9172] 2014-02-07 15:39:55 +00:00
Sergey Fedorov
325cc47ca5 table functions: implementation of function remote, updates in cluster and storageDistributed [METR-9750] 2014-02-07 15:11:57 +00:00
Alexey Milovidov
16fd573314 dbms: fixed error with virtual columns [#METR-9172]. 2014-02-04 15:44:15 +00:00
Sergey Fedorov
1e220376cd storages: few more comments on virtual columns, couple of code style changes [METR-9172] 2014-01-27 13:52:01 +00:00
Sergey Fedorov
f8b5613b82 storages: Virtual columns for storage distributed + few style fixes [METR-9172] 2014-01-22 14:24:05 +00:00
Pavel Kartavyy
d930b49c75 dbms: can change load_balancing in runtime [#METR-9350] 2013-12-11 11:51:01 +00:00
Pavel Kartavyy
ec2e5ff860 dbms: create cluster when distributed tables are created[#METR-9350] 2013-12-10 17:06:57 +00:00
Pavel Kartavyy
278f5a9246 dbms: added Cluster class [#METR-9350] 2013-12-07 16:51:29 +00:00
Pavel Kartavyy
74309378d7 dbms: development [#METR-9268] 2013-12-05 17:39:33 +00:00
Pavel Kartavyy
c6aabe89e4 dbms: limited timeouts to be less than limits.max_execution_time [#METR-9268] 2013-12-05 17:24:05 +00:00
Pavel Kartavyy
26f58e99d0 Merge 2013-11-28 10:31:21 +00:00
Pavel Kartavyy
de71157b10 StorageDistributed: development [#METR-9244] 2013-11-28 10:31:17 +00:00
Pavel Kartavyy
06759d5f3e dbms: style fix 2013-11-13 09:47:12 +00:00
Pavel Kartavyy
1bf0490191 Merge 2013-09-23 12:01:19 +00:00
Alexey Milovidov
f3f6268ee5 dbms: users: development [#CONV-8458]. 2013-08-10 09:04:45 +00:00
Vyacheslav Alipov
755031efc6 performing sign rewrite from distributed table too [#CONV-6778] 2013-05-08 10:30:29 +00:00
Michael Kolupaev
e7c3e10814 clickhouse: slightly refactored storage creation [#CONV-6561]. 2013-02-06 11:26:35 +00:00
Alexey Milovidov
7cc2871e30 dbms: allowed to send custom settings with query; sending current settings to remote servers for distributed query processing [#CONV-2944]. 2013-02-01 19:02:04 +00:00
Alexey Milovidov
f5419d3d5a dbms: development of connection pool with failover [#CONV-2944]. 2012-11-06 18:20:00 +00:00
Alexey Milovidov
d7d23ac81b dbms: StorageDistributed: added failover [#CONV-2944]. 2012-11-06 17:04:38 +00:00
Alexey Milovidov
a5e88d1fb5 dbms: fixed error with distributed connections [#CONV-2944]. 2012-10-22 19:55:19 +00:00
Alexey Milovidov
061a75785b dbms: development [#CONV-2944]. 2012-08-02 17:33:31 +00:00
Alexey Milovidov
292958fc73 dbms: development [#CONV-5331]. 2012-07-26 20:16:57 +00:00
Alexey Milovidov
075cdd5e22 dbms: development [#CONV-5331]. 2012-07-26 19:42:20 +00:00
Alexey Milovidov
9c022720a4 dbms: development [#CONV-2944]. 2012-05-30 06:46:57 +00:00
Alexey Milovidov
6a01fbf8c5 dbms: development [#CONV-2944]. 2012-05-30 04:45:49 +00:00
Alexey Milovidov
f018ea4aac dbms: development [#CONV-2944]. 2012-05-30 01:38:02 +00:00
Alexey Milovidov
fa7a42842f dbms: development [#CONV-2944]. 2012-05-23 19:51:30 +00:00
Alexey Milovidov
039cf5ab06 dbms: development [#CONV-2944]. 2012-05-22 20:18:45 +00:00
Alexey Milovidov
03d4d2ed4b dbms: development [#CONV-2944]. 2012-05-22 20:05:43 +00:00
Alexey Milovidov
e727d7cf90 dbms: development [#CONV-2944]. 2012-05-22 18:32:45 +00:00
Alexey Milovidov
77c46cdcfd dbms: development [#CONV-2944]. 2012-05-21 20:38:34 +00:00