Commit Graph

279 Commits

Author SHA1 Message Date
Michael Kolupaev
e10125a052 Using IStorage locks properly in most places. Got rid of StoragePtr and DatabaseDropper. Drops are now synchronous. [#METR-10202] 2014-03-20 14:59:45 +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
Michael Kolupaev
0faca75b37 Merge 2014-03-17 22:27:43 +04:00
Michael Kolupaev
ba9315d264 Merge 2014-03-14 21:03:52 +04:00
Alexey Milovidov
a4778d81cd dbms: added trivial benchmark tool [#METR-2944]. 2014-03-10 13:36:20 +04:00
Michael Kolupaev
8c48291ecb clickhouse: fixed null pointer when using WITH TOTALS without HAVING. [#METR-9365] 2014-03-07 15:19:37 +04:00
Alexey Milovidov
3dfadb76ff dbms: fixed error with TOTALS and HAVING [#METR-10346]. 2014-03-06 23:27:11 +04:00
Michael Kolupaev
d3874a1202 clickhouse: subqueries in IN update progress and can be cancelled (and added missing files). [#METR-10102] 2014-03-04 21:56:24 +04:00
Michael Kolupaev
73d7353f91 Fixed comments in RemoveColumnsBlockInputStream. [#METR-9750] 2014-03-03 12:29:01 +04:00
Alexey Milovidov
d1aeaedf61 dbms: added totals and extremes to Pretty* and TabSeparated* formats [#METR-9365]. 2014-03-02 23:16:45 +04:00
Michael Kolupaev
b0f079be0d setting for totals threshold with AFTER_HAVING_AUTO. [#METR-10223] 2014-02-27 17:12:56 +04:00
Michael Kolupaev
d83ff9ceb2 clickhouse: totals modes. [#METR-9365] 2014-02-27 16:53:38 +04:00
Michael Kolupaev
04f0056b0a clickhouse: totals mode: development. [#METR-9365] 2014-02-27 16:53:38 +04:00
Michael Kolupaev
647a821822 fixed comment. [#METR-2807] 2014-02-26 13:06:23 +04:00
Alexey Milovidov
9a8e77673d Revert "dbms: Addition to prev. revision [#METR-9750]."
This reverts commit 0c8a6fa068e26accb1467f980d111bfae7215911.
2014-02-23 06:43:53 +04:00
Alexey Milovidov
6a6adc4de0 dbms: Addition to prev. revision [#METR-9750]. 2014-02-23 06:41:02 +04:00
Alexey Milovidov
5c71627f44 dbms: fixed TableFunctionRemote [#METR-9750]. 2014-02-23 06:27:09 +04:00
Alexey Milovidov
8efd6ee42c dbms: sending only set/changed settings [#METR-10087]. 2014-02-17 23:56:45 +00:00
Alexey Milovidov
4cc8906d91 dbms: improvement [#METR-2944]. 2014-02-16 21:02:20 +00:00
Sergey Fedorov
a2aa16b4c1 dbms: empty query_id support [METR-8818] 2014-02-14 15:59:01 +00:00
Sergey Fedorov
b101457183 client: client with string query_id now works with old-versioned server [METR-8818] 2014-02-14 13:22:45 +00:00
Sergey Fedorov
b75fe2f6eb dbms: query Id is String valued now, show process list also shows query_id, query_id is stored in processlist, now query could be replaced [METR-8818] 2014-02-12 17:31:02 +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
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
Sergey Fedorov
14620b3347 Merge 2014-01-22 12:50:19 +00:00
Sergey Fedorov
9cc974568e Merge 2014-01-17 15:19:20 +00:00
Sergey Fedorov
5d00bf81ea streams: adding const column, important for virtual columns [METR-9172] 2014-01-16 15:19:50 +00:00
Sergey Fedorov
91609727a8 Merge 2014-01-10 13:24:50 +00:00
Michael Kolupaev
5ac8541e2b ClickHouse: changed readSuffix calling requirements to match what RemoteBlockInputStream expects; changed some streams to meet that requirements. It fixed segfault with DISTINCT with LIMIT from Distributed table. [#METR-9598] 2013-12-27 13:22:32 +00:00
Sergey Fedorov
1a5f04d3bf Merge 2013-12-26 13:55:19 +00:00
Alexey Milovidov
dac017c03d dbms: fixed error with FINAL [#METR-9514]. 2013-12-16 07:12:30 +00:00
Alexey Milovidov
e5a6cc5436 dbms: fixed error [#METR-9007]. 2013-12-08 05:18:22 +00:00
Alexey Milovidov
ff7cd145ca Merge 2013-11-30 18:43:59 +00:00
Alexey Milovidov
629a224230 dbms: hopefully fixed error [#METR-9342]. 2013-11-29 18:44:02 +00:00
Alexey Milovidov
b3f0d43ba6 dbms: hope fixed error [#METR-9342]. 2013-11-29 15:04:07 +00:00
Michael Kolupaev
812127899d UnionBlockInputStream: fixed possible deadlock. [#METR-9007] 2013-11-29 12:25:54 +00:00
Alexey Milovidov
aa3ed8bc66 dbms: fixed race condition [#METR-9344]. 2013-11-29 08:08:43 +00:00
Michael Kolupaev
606a2ad942 ClickHouse: fixed UnionBlockInputStream freezing interactive queries in some cases. [#METR-9007] 2013-11-25 12:32:43 +00:00
Michael Kolupaev
0bc7b868a1 ClickHouse: fixed UnionBlockInputStream calling readSuffixImpl during a call to readImpl. Better invariant for IBlockInputStream::readSuffix(). [#METR-9007] 2013-11-25 10:46:25 +00:00
Sergey Fedorov
1de8ddb8df dbms: Pushing to Views fixed workflow with constant columns [#METR-9076] 2013-11-20 16:02:45 +00:00
Alexey Milovidov
0dd758d101 dbms: addition to prev. revision [#METR-9007]. 2013-11-20 01:48:23 +00:00
Alexey Milovidov
98bb9bb33e dbms: probably fixed error [#METR-9007]. 2013-11-20 01:42:24 +00:00
Sergey Fedorov
ac21314784 dbms: Couple of unimportant fixes (includes, code simplification) in View and Materialized View [#METR-9076] 2013-11-15 09:43:50 +00:00
Sergey Fedorov
13bd27c498 dbms: View and Materialized View fixes, logic updates, implementation [#METR-9076] 2013-11-13 14:39:48 +00:00
Alexey Milovidov
806fee097b dbms: fixed limits on result data with distributed query processing [#METR-9180]. 2013-11-12 23:15:09 +00:00
Sergey Fedorov
b6b40d4c4e dbms: View and Materialized View implementation [#METR-9076] 2013-11-08 17:43:03 +00:00
Alexey Milovidov
3f2ee82cdc dbms: SplittingAggregator: added support for max_rows_to_group_by [#METR-2944]. 2013-11-04 00:49:37 +00:00
Alexey Milovidov
18a8aa74f8 dbms: merged convertToBlock and finalize aggregation steps whenever possible [#METR-2944]. 2013-11-03 23:35:18 +00:00
Alexey Milovidov
9437657b7b dbms: modified Limits, Quotas, Progress, ProcessList [#METR-8459], [#METR-8894]. 2013-11-03 05:32:42 +00:00