Commit Graph

318 Commits

Author SHA1 Message Date
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
Alexey Milovidov
a3caaef38a dbms: better exception handling [#METR-2944]. 2013-11-02 23:42:10 +00:00
Alexey Milovidov
8fd01c8d7d dbms: better comparison of floating point numbers with NaNs [#METR-9053]. 2013-11-01 20:10:43 +00:00
Alexey Milovidov
a10905163b dbms: fixed error [#METR-8975]. 2013-10-31 18:38:34 +00:00
Michael Kolupaev
bcd3a116be ClickHouse: fixed FINAL behavior with deleted visits; added test for it. [#METR-9072] 2013-10-30 09:15:41 +00:00
Michael Kolupaev
732302c263 Merge 2013-10-30 08:50:58 +00:00
Sergey Fedorov
f7a6316abd dbms: Moved addingDefault logic into the Block class [#METR-9001] 2013-10-28 16:09:42 +00:00
Sergey Fedorov
053eb9adcb dbms: Rename file, Code Style fixes, Rename class [#METR-9001] 2013-10-28 14:15:56 +00:00
Sergey Fedorov
8fd6963212 My latest changes.
REVIEW:new
2013-10-25 14:56:47 +00:00
Alexey Milovidov
da62ed8c6f Merge 2013-10-01 20:38:01 +00:00
Alexey Milovidov
2851e0abcc Merge 2013-10-01 18:09:31 +00:00
Alexey Milovidov
c8193c1618 dbms: fixed 'rows_before_limit_at_least' [#CONV-2944]. 2013-09-19 00:08:49 +00:00
Alexey Milovidov
56d95e4268 dbms: optimized ORDER BY with LIMIT; rows_before_limit_at_least is temporarily broken [#CONV-2944]. 2013-09-16 05:44:47 +00:00
Alexey Milovidov
1aa789831b dbms: Aggregator: fixed error [#CONV-2944]. 2013-09-16 05:33:49 +00:00
Alexey Milovidov
40464a0123 dbms: added new aggregation method [#CONV-2944]. 2013-09-15 10:53:10 +00:00
Alexey Milovidov
717a3fc591 dbms: fixed MergingSortedBlockInputStreams when one of stream is empty [#CONV-2944]. 2013-09-15 03:14:29 +00:00
Alexey Milovidov
40f602ff92 dbms: improvement [#CONV-2944]. 2013-09-14 07:43:45 +00:00
Alexey Milovidov
fd4f4a9a86 dbms: fixed error [#CONV-2944]. 2013-09-14 05:14:22 +00:00
Alexey Milovidov
ca2da37d2e dbms: don't write too many messages about inconsistent data into log [#CONV-8729]. 2013-09-13 22:59:02 +00:00
Alexey Milovidov
6def419e85 dbms: development [#CONV-2944]. 2013-09-13 20:33:09 +00:00
Alexey Milovidov
706aad9e63 dbms: added expression calculation on totals [#CONV-8366]. 2013-09-08 08:27:06 +00:00
Alexey Milovidov
c69f353a17 dbms: added calculation of min/max [#CONV-8691]. 2013-09-07 02:03:13 +00:00
Alexey Milovidov
b872dadb52 dbms: fixed 'rows_before_limit_at_least' in case of distributed query with single server [#CONV-7549]. 2013-09-06 19:33:07 +00:00
Alexey Milovidov
c7d8723a54 dbms: sending totals as separate packet [#CONV-8366]. 2013-09-05 20:22:43 +00:00
Alexey Milovidov
d055d54380 dbms: added SHOW PROCESSLIST query and 'max_concurrent_queries' setting [#CONV-8665] [#CONV-8664]. 2013-09-03 20:21:28 +00:00
Alexey Milovidov
151506d742 dbms: added totals as separate data in JSON formats [#CONV-8366]. 2013-09-01 04:55:41 +00:00
Alexey Milovidov
81d9d1deaa dbms: don't create useless threads for small queries [#CONV-2944]. 2013-08-31 04:07:11 +00:00
Alexey Milovidov
051249122a dbms: Quota: development [#CONV-8459]. 2013-08-28 21:36:16 +00:00
Alexey Milovidov
c10d3a4bb9 dbms: Quota: development [#CONV-8459]. 2013-08-28 20:47:22 +00:00
Alexey Milovidov
08e6150fe9 SipHash: more handy [#CONV-2944]. 2013-08-28 17:13:43 +00:00
Alexey Milovidov
b74f610397 dbms: fixed error when receiving incorrect packet type [#CONV-2944]. 2013-08-04 00:42:35 +00:00
Alexey Milovidov
3e7a073fdb dbms: fixed parametric aggregate functions in distributed query processing [#CONV-8223]. 2013-07-28 03:14:03 +00:00
Alexey Milovidov
43825cdf95 dbms: improved performance of finalizing aggregate functions [#CONV-2944]. 2013-06-30 11:38:46 +00:00
Vyacheslav Alipov
60aa196a56 skipping header-block in RemoteBlockInputStream [#CONV-7906] 2013-06-24 13:38:50 +00:00
Alexey Milovidov
fe0dd1d0b2 dbms: improvement [#CONV-2944]. 2013-06-21 20:34:19 +00:00
Alexey Milovidov
acad879df8 dbms: fixed Limits for DISTINCT [#CONV-7934]. 2013-06-21 19:37:47 +00:00
Vyacheslav Alipov
c8cc523ffe getBufferSizeInBytes() return type fix [#CONV-7934] 2013-06-20 12:47:10 +00:00
Vyacheslav Alipov
7f91afaf20 limits for IN and DISTINCT [not tested] [#CONV-7934] 2013-06-20 12:12:27 +00:00
Vyacheslav Alipov
cea132c012 PrettyCompact and PrettyCompactMonoBlock use common code actively now [#CONV-6723] 2013-06-18 09:56:11 +00:00
Vyacheslav Alipov
e3a2816989 PrettyCompactMonoBlock format [#CONV-6723] 2013-06-17 12:40:44 +00:00
Michael Kolupaev
9942dcc9c8 clickhouse: removed obsolete code [#CONV-7444]. 2013-06-05 13:42:13 +00:00
Michael Kolupaev
e3ee5fdc1f clickhouse: removed Expression, fixed tests [#CONV-7444]. 2013-06-05 12:46:41 +00:00
Michael Kolupaev
7b67d22982 clickhouse: fixed [#CONV-7444]. 2013-06-03 10:43:25 +00:00
Michael Kolupaev
dd72f5b8b8 clickhouse: switched to ExpressionAnalyzer [#CONV-7444]. 2013-06-03 10:18:41 +00:00
Alexey Milovidov
941bd5541c dbms: fixed error [#CONV-7750]. 2013-06-01 18:57:04 +00:00
Alexey Milovidov
67f905dbc4 dbms: added DISTINCT [#CONV-7756]. 2013-06-01 07:43:57 +00:00
Alexey Milovidov
9848a42c82 dbms: fixed error [#CONV-7549]. 2013-05-31 17:34:30 +00:00
Alexey Milovidov
4d36ed58e0 dbms: fixed arrayJoin [#CONV-7733]. 2013-05-29 18:37:28 +00:00
Vyacheslav Alipov
f1c161842b added collation [#CONV-7651] 2013-05-28 16:56:05 +00:00
Michael Kolupaev
0ecebb645d Expression replacement: development [#CONV-7444]. 2013-05-27 14:02:55 +00:00
Vyacheslav Alipov
8501644704 works with client now [#CONV-7549] 2013-05-22 14:57:43 +00:00
Vyacheslav Alipov
24880408c7 works with HTTP [#CONV-7549] 2013-05-22 12:10:33 +00:00
Vyacheslav Alipov
70a13e3812 works with HTTP requests [#CONV-7549] 2013-05-20 12:21:51 +00:00
Vyacheslav Alipov
2ba18d9efa changed WriteBuffer to WriteBufferValidUTF8 [#CONV-7445] 2013-05-15 12:02:05 +00:00
Vyacheslav Alipov
a2b61e0d5f JSONCompactRowOutputStream [#CONV-7445] 2013-05-15 11:48:00 +00:00
Vyacheslav Alipov
8685024166 JSONRowOutputStream [#CONV-7445] 2013-05-15 11:18:58 +00:00
Vyacheslav Alipov
066f9ffa7c rolled back to revision 31455 [#CONV-6778] 2013-05-08 09:58:31 +00:00
Vyacheslav Alipov
c2d5749128 preserving original column names for distributed queries [#CONV-6778] 2013-05-07 10:30:52 +00:00
Alexey Milovidov
15b0ef253c dbms: added WITH TOTALS modifier for GROUP BY [#CONV-2944]. 2013-05-04 15:46:50 +00:00
Alexey Milovidov
657deb8125 dbms: development of one-pass processing of multiple queries [#CONV-2944]. 2013-05-04 06:09:23 +00:00
Alexey Milovidov
600f4bdd0b dbms: development [#CONV-2944]. 2013-05-04 05:20:07 +00:00
Alexey Milovidov
ce4161b4e0 dbms: development [#CONV-2944]. 2013-05-04 04:05:15 +00:00