Commit Graph

1641 Commits

Author SHA1 Message Date
Alexey Milovidov
9437657b7b dbms: modified Limits, Quotas, Progress, ProcessList [#METR-8459], [#METR-8894]. 2013-11-03 05:32:42 +00:00
Alexey Milovidov
e745aa0cee dbms: Client: better [#METR-2944]. 2013-11-03 05:12:04 +00:00
Alexey Milovidov
4a4c7e7f60 dbms: addition to prev. revision [#METR-2944]. 2013-11-03 01:13:37 +00:00
Alexey Milovidov
e534a76eb4 dbms: Server: sending progress at end; Client: rearranged progress info [#METR-2944]. 2013-11-03 01:12:10 +00:00
Alexey Milovidov
b859718d26 dbms: calculating quota for each user separately [#METR-8459]. 2013-11-03 00:24:46 +00:00
Alexey Milovidov
4fd9671aba dbms: SplittingAggregator: translating exceptions from threads [#METR-2944]. 2013-11-02 23:42:52 +00:00
Alexey Milovidov
a3caaef38a dbms: better exception handling [#METR-2944]. 2013-11-02 23:42:10 +00:00
Alexey Milovidov
bbf44374a9 dbms: fixed error with limits on result [#METR-9090]. 2013-11-02 22:35:40 +00:00
Alexey Milovidov
51b979078e dbms: SplittingAggregator: development [#METR-2944]. 2013-11-02 22:28:13 +00:00
Alexey Milovidov
831ec21083 dbms: better synchronization of sending data [#METR-2944]. 2013-11-02 21:18:54 +00:00
Alexey Milovidov
790f224e56 dbms: probably fixed error (infinite loop in WriteBufferFromPocoSocket::nextImpl) [#METR-2944]. 2013-11-02 05:39:07 +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
943a4e0544 dbms: fixed error [#METR-9118]. 2013-10-31 18:20:52 +00:00
Sergey Fedorov
be738dc12b dbms: Erase extra includes in StorageView.cpp and extra variables in Parser [#METR-9076] 2013-10-30 14:04:27 +00:00
Sergey Fedorov
07bbedc07d dbms: added support for simple VIEW engine. [#METR-9076] 2013-10-30 13:52:02 +00:00
Sergey Fedorov
b56af16ca6 programs: indicate name of the columns in the insert query in ███████████ and ███████████ [#METR-9081] 2013-10-30 09:23:37 +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
ff61e2cbc8 dbms: support for argMinIf and argMaxIf functions [#METR-9001] 2013-10-28 16:13:19 +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
b3ba5e4cab dbms: Support columns in Insert query, bug-fix and Code Style fixes [#METR-8975] 2013-10-28 14:43:36 +00:00
Sergey Fedorov
053eb9adcb dbms: Rename file, Code Style fixes, Rename class [#METR-9001] 2013-10-28 14:15:56 +00:00
Alexey Milovidov
3c1ec5bc34 dbms: allowed to return tuples as query result [#METR-8970]. 2013-10-26 19:00:13 +00:00
Alexey Milovidov
c145c316de dbms: better exception message [#METR-2944]. 2013-10-26 03:53:51 +00:00
Alexey Milovidov
a38317e1f5 dbms: better exception messages [#METR-8224]. 2013-10-26 03:20:51 +00:00
Sergey Fedorov
8fd6963212 My latest changes.
REVIEW:new
2013-10-25 14:56:47 +00:00
Michael Kolupaev
99041b3173 Merge 2013-10-25 12:15:12 +00:00
Alexey Milovidov
472f82e2f7 dbms: Client: fixed locking in non-interactive mode with INSERT query and only embedded data [#METR-2944]. 2013-10-24 23:02:02 +00:00
Alexey Milovidov
29ba185a0f dbms: reverted prev. modification [#METR-8459]. 2013-10-23 23:32:30 +00:00
Alexey Milovidov
59095d4333 dbms: using user name as default quota key [#METR-8459]. 2013-10-23 23:24:31 +00:00
Alexey Milovidov
1845d91ac6 dbms: fixed error when no aggregate functions and GROUP BY WITH TOTALS [#METR-9030]. 2013-10-23 23:12:40 +00:00
Alexey Milovidov
b65bb6cbe2 dbms: StorageChunks: changed error to warning in log [#METR-2944]. 2013-10-22 19:11:33 +00:00
Alexey Milovidov
ac83b94b0b Merge 2013-10-22 19:11:03 +00:00
Alexey Milovidov
ee6ca65243 Merge 2013-10-22 18:39:14 +00:00
Alexey Milovidov
542e79fed4 dbms: Client: don't write message about syntax error two times in non-interactive mode [#METR-8967]. 2013-10-22 16:37:46 +00:00
Sergey Fedorov
2320e08fd9 [METR-8967] Bug-fix: parseQuery will now return correct exit message if failed 2013-10-22 12:17:21 +00:00
Alexey Milovidov
156bfdc094 dbms: eased use of SipHash [#METR-9019]. 2013-10-21 16:32:49 +00:00
Alexey Milovidov
b26038210d dbms: added sipHash64 function [#CONV-9017]. 2013-10-21 14:35:12 +00:00
Pavel Kartavyy
c33ab0bb73 dbms: make "TABLE" to be an optional parameter for DESC, SHOW CREATE, EXISTS[#CONV-8911] 2013-10-21 13:52:44 +00:00
Michael Kolupaev
0703a2d85b ClickHouse: added function arrayEnumerate. [#CONV-8821] 2013-10-21 11:36:44 +00:00
Michael Kolupaev
491480e79c ClickHouse: fixed and claened up ARRAY JOIN a little. [#CONV-8821] 2013-10-21 11:33:25 +00:00
Pavel Kartavyy
20da4e0a2b dbms: make TABLE to be optional world in DESC query [#CONV-8911] 2013-10-21 11:06:26 +00:00
Alexey Milovidov
67f4542bd0 dbms: more verbose messages on network errors [#CONV-8224]. 2013-10-20 06:04:51 +00:00
Michael Kolupaev
bc071d70c1 ClickHouse: fixed ARRAY JOIN when its result is unused. [#CONV-8821] 2013-10-18 08:40:14 +00:00
Michael Kolupaev
59b80197fc ClickHouse: fixed aliases on aliases: SELECT [1,2,3] AS a, x ARRAY JOIN a AS x. [#CONV-8821] 2013-10-18 08:07:51 +00:00
Michael Kolupaev
1cab77c753 Added support for multiple expressions in ARRAY JOIN section. There are known issues. Sorry for automatic indentation changes. [#CONV-8821] 2013-10-17 13:32:32 +00:00
Alexey Milovidov
566a11698e dbms: sending progress: little better [#CONV-2944]. 2013-10-14 20:24:20 +00:00
Alexey Milovidov
e513f8a314 dbms: fixed build [#CONV-2944]. 2013-10-11 18:38:35 +00:00
Michael Kolupaev
61213cd547 ClickHouse: Added function arrayEnumerateUniq. [#CONV-8821] 2013-10-11 11:43:50 +00:00
Michael Kolupaev
6a63256dc9 ClickHouse: throwing exception on nested nested types. [#CONV-2807] 2013-10-11 07:41:13 +00:00
Alexey Milovidov
a997258e26 dbms: OLAP compatibility: multiple categories [#CONV-8848]. 2013-10-11 00:27:28 +00:00
Alexey Milovidov
5f2df7adc2 dbms: fix for quota [#JIRA is in read-only state]. 2013-10-10 18:13:47 +00:00
Michael Kolupaev
dc3d84ac93 ClickHouse: type upscaling for if(). [#CONV-8764] 2013-10-08 12:30:43 +00:00
Michael Kolupaev
d195799419 Merge 2013-10-03 12:46:17 +00:00
Michael Kolupaev
6745803ef7 Merge 2013-10-03 12:13:16 +00:00
Michael Kolupaev
43fc9b09d8 Merge 2013-10-02 15:33:18 +00:00
Alexey Milovidov
4ebdcee47e dbms: addition to prev. revision [#CONV-8806]. 2013-10-01 20:39:26 +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
Michael Kolupaev
d2b63a74a0 Fixed IN with subqueries in some cases. [#CONV-8804] 2013-10-01 13:16:10 +00:00
Alexey Milovidov
c084250925 Merge 2013-09-30 19:54:25 +00:00
Alexey Milovidov
4fb4a93302 dbms: Client: tiny improvement [#CONV-2944]. 2013-09-30 01:42:20 +00:00
Alexey Milovidov
ecb0434e8f dbms: Client: tiny improvement [#CONV-2944]. 2013-09-30 01:41:23 +00:00
Alexey Milovidov
0629fb4fdd Merge 2013-09-30 01:29:19 +00:00
Alexey Milovidov
48c0c836da dbms: OLAP compatibility: fixed error [#METRIKASUPP-2536]. 2013-09-27 19:51:23 +00:00
Alexey Milovidov
7729bab279 dbms: removed sync [#CONV-8822]. 2013-09-27 17:26:35 +00:00
Alexey Milovidov
7dca2f21b9 Merge 2013-09-26 19:16:43 +00:00
Pavel Kartavyy
780f306bf4 dbms: fixed ability to add column after column, added it the same alter[#CONV-8712] 2013-09-24 15:05:40 +00:00
Pavel Kartavyy
1bf0490191 Merge 2013-09-23 12:01:19 +00:00
Pavel Kartavyy
baa434c7c3 dbms: delete unused line [#CONV-8383] 2013-09-20 09:11:32 +00:00
Pavel Kartavyy
37ed6f55d4 dbms: fixed error with missed .mrk file [#CONV-2944] 2013-09-19 15:20:31 +00:00
Alexey Milovidov
5c1c982e76 dbms: client: removed useless message [#CONV-2944]. 2013-09-19 00:17:52 +00:00
Alexey Milovidov
c8193c1618 dbms: fixed 'rows_before_limit_at_least' [#CONV-2944]. 2013-09-19 00:08:49 +00:00
Alexey Milovidov
2d48435ecd dbms: fixed error with high order functions and constants [#CONV-8757]. 2013-09-18 20:06: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
ac7035ed0e dbms: addition to prev. revision [#CONV-2944]. 2013-09-15 11:16:11 +00:00
Alexey Milovidov
40464a0123 dbms: added new aggregation method [#CONV-2944]. 2013-09-15 10:53:10 +00:00
Alexey Milovidov
c611212c3f dbms: preparation [#CONV-2944]. 2013-09-15 05:51:43 +00:00
Alexey Milovidov
808cec6d53 Merge 2013-09-15 03:44:32 +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
df9f14ac3b dbms: more easy startup after server fault [#CONV-2944]. 2013-09-15 01:41:09 +00:00
Alexey Milovidov
8fc69c2a8e dbms: more fsync [#CONV-2944]. 2013-09-15 01:40:29 +00:00
Alexey Milovidov
9a515d7082 dbms: AggregateFunctionIf: improvement [#CONV-8713]. 2013-09-14 22:56:11 +00:00
Alexey Milovidov
f9e426cf20 dbms: fixed locking of connection when cancel is sent before start of query processing [#CONV-2944]. 2013-09-14 07:58:42 +00:00
Alexey Milovidov
fd4f4a9a86 dbms: fixed error [#CONV-2944]. 2013-09-14 05:14:22 +00:00
Alexey Milovidov
25e36aebc4 dbms: fixed leak [#CONV-8383]. 2013-09-14 00:39:34 +00:00
Alexey Milovidov
a47faab727 dbms: style [#CONV-2807]. 2013-09-13 23:52:10 +00:00
Alexey Milovidov
2be066285a dbms: lowered memory usage for merge operations [#CONV-8705]. 2013-09-13 23:28:40 +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
ced5216c45 dbms: added AggregateFunctionIf adaptor [#CONV-8713]. 2013-09-11 00:55:31 +00:00
Alexey Milovidov
8d8b96480b dbms: updated test [#CONV-8661]. 2013-09-09 02:23:36 +00:00
Alexey Milovidov
861ae81325 dbms: updated config and defaults [#CONV-8661]. 2013-09-08 10:16:55 +00:00
Alexey Milovidov
706aad9e63 dbms: added expression calculation on totals [#CONV-8366]. 2013-09-08 08:27:06 +00:00
Alexey Milovidov
97b923fd7b dbms: uncompressed cache: better [#CONV-8661]. 2013-09-08 07:30:52 +00:00
Alexey Milovidov
efae271ae0 dbms: added uncompressed cache (experimental) [#CONV-8661]. 2013-09-08 05:53:10 +00:00
Alexey Milovidov
1f06b7a95c dbms: less copying when reading fixed columns in large blocks [#CONV-2944]. 2013-09-08 00:00:25 +00:00
Alexey Milovidov
23be968064 dbms: added waiting when too much queries [#CONV-8692]. 2013-09-07 04:54:59 +00:00
Alexey Milovidov
055eda8f81 dbms: reverted prev. modification [#CONV-2944]. 2013-09-07 03:56:27 +00:00
Alexey Milovidov
e8d5603a49 dbms: improved performance: less copying when reading fixed-size columns [#CONV-2944]. 2013-09-07 03:28:20 +00:00
Alexey Milovidov
c69f353a17 dbms: added calculation of min/max [#CONV-8691]. 2013-09-07 02:03:13 +00:00
Alexey Milovidov
35a6b621f4 dbms: tiny improvement [#CONV-2944]. 2013-09-06 23:43:11 +00:00
Alexey Milovidov
4100af9724 dbms: little better [#CONV-2944]. 2013-09-06 23:05:57 +00:00
Alexey Milovidov
c7d8723a54 dbms: sending totals as separate packet [#CONV-8366]. 2013-09-05 20:22:43 +00:00
Alexey Milovidov
7d011561e0 dbms: addition to prev. revision [#CONV-8665]. 2013-09-03 23:58:05 +00:00
Alexey Milovidov
069466795d dbms: addition to prev. revision [#CONV-8665]. 2013-09-03 20:31:27 +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
e9551970fb dbms: Aggregator: fixed error [#CONV-8366]. 2013-09-02 20:28:18 +00:00
Alexey Milovidov
85770ac762 dbms: addition to prev. revision [#CONV-8366]. 2013-09-01 05:07:54 +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
a1276315cc dbms: fixed indent [#CONV-2807]. 2013-08-30 19:21:40 +00:00
Evgeniy Gatov
3216072492 dbms/Server, programs/███████████, ███████████: added CorrectedTraficSourceID, CorrectedSerachEngineID [#CONV-7968]. 2013-08-29 17:54:37 +00:00
Alexey Milovidov
98af8d2db3 dbms: addition to prev. revision [#CONV-8565]. 2013-08-28 23:48:15 +00:00
Alexey Milovidov
49c475b280 dbms: OLAP compatibility: added 'local' setting [#CONV-8565]. 2013-08-28 23:05:53 +00:00
Alexey Milovidov
051249122a dbms: Quota: development [#CONV-8459]. 2013-08-28 21:36:16 +00:00
Alexey Milovidov
29635d4c30 dbms: addition to prev. revision [#CONV-8459]. 2013-08-28 20:48:41 +00:00
Alexey Milovidov
34cc3cc770 dbms: added whitespace [#CONV-2944]. 2013-08-28 20:47:43 +00:00
Alexey Milovidov
c10d3a4bb9 dbms: Quota: development [#CONV-8459]. 2013-08-28 20:47:22 +00:00
Alexey Milovidov
181651991d Quota: addition to prev. revision [#CONV-8459]. 2013-08-28 18:13:59 +00:00
Alexey Milovidov
9347a18cb0 dbms: Quota: development [#CONV-8459]. 2013-08-28 17:23:00 +00:00
Alexey Milovidov
08e6150fe9 SipHash: more handy [#CONV-2944]. 2013-08-28 17:13:43 +00:00
Alexey Milovidov
d5aa6576b6 dbms: OLAP compatibility: addition to prev. revision [#CONV-8597]. 2013-08-27 17:03:02 +00:00
Alexey Milovidov
e4b109e2f8 dbms: OLAP-compatibility: fixed error with goals [#CONV-8597]. 2013-08-27 16:48:07 +00:00
Alexey Milovidov
105a83a705 dbms: fixed error with merging of arrays [#CONV-2944]. 2013-08-25 05:37:15 +00:00
Alexey Milovidov
0b2ef14d19 dbms: added test [#CONV-2944]. 2013-08-25 03:44:11 +00:00
Alexey Milovidov
e54ee51124 dbms: probably better [#CONV-2944]. 2013-08-24 03:58:33 +00:00
Alexey Milovidov
e3f8671dd6 dbms: fixed error with OLAPHTTPHandler [#CONV-6757]. 2013-08-22 23:11:07 +00:00
Alexey Milovidov
54ecbee1aa dbms: OLAP compatibility: fixed error with 'region_in' [#CONV-8571]. 2013-08-22 19:08:26 +00:00
Alexey Milovidov
760a1fbca3 dbms: StorageMemory: fixed perf [#CONV-8572]. 2013-08-22 16:14:44 +00:00
Vyacheslav Alipov
2230e9ec44 fixed AggregateFunctionFactory [#CONV-8544] 2013-08-21 15:33:45 +00:00
Vyacheslav Alipov
602bea808d added uniq functions with HLL support [#CONV-8544] 2013-08-21 13:26:42 +00:00
Alexey Milovidov
ece838895f dbms: OLAP compatibility: fixed error with some date-time attributes [#METRIKASUPP-2361]. 2013-08-20 17:54:08 +00:00
Alexey Milovidov
a70573aeba dbms: Server: OLAP compatibility: using nested struct. for goals; fixed attributes for minutes [#CONV-6318]. 2013-08-19 19:23:11 +00:00
Pavel Kartavyy
18d1ee2eb2 Fixed incorrect working with nested tables in ALTER [#conv-8383] 2013-08-14 16:52:40 +00:00
Alexey Milovidov
dfc7f9fb57 dbms: enabled keep-alive [#CONV-2944]. 2013-08-13 18:59:51 +00:00
Pavel Kartavyy
d6c09e7636 Fixed check if column, which are going to be dropped, is a key column[#CONV-8383] 2013-08-13 08:54:28 +00:00
Alexey Milovidov
4001d37bb7 dbms: quotas: development [#CONV-8459]. 2013-08-12 00:36:18 +00:00
Alexey Milovidov
be67c3e3d6 Removed useless namespace [#CONV-2807]. 2013-08-11 03:40:14 +00:00
Alexey Milovidov
3e0046011a dbms: fixed error with users [#CONV-8458]. 2013-08-11 02:00:13 +00:00
Alexey Milovidov
0698d868c5 dbms: development of users [#CONV-8458]. 2013-08-11 00:48:28 +00:00
Alexey Milovidov
ad3b6539c4 dbms: fixed error, added test [#CONV-8458]. 2013-08-11 00:07:49 +00:00
Alexey Milovidov
7e251d6e14 dbms: added support for users in OLAP-compatibility layer [#CONV-8458]. 2013-08-10 09:21:09 +00:00
Alexey Milovidov
f3f6268ee5 dbms: users: development [#CONV-8458]. 2013-08-10 09:04:45 +00:00
Alexey Milovidov
f06d0148ba dbms: development of users and ACLs [#CONV-8458]. 2013-08-10 07:46:45 +00:00
Alexey Milovidov
0403f9eef7 dbms: client: fixed error with history; don't write repeating history entries [#CONV-2944]. 2013-08-10 01:07:12 +00:00
Alexey Milovidov
e6df8f2882 dbms: style [#CONV-8383]. 2013-08-09 00:18:03 +00:00
Alexey Milovidov
c2fc882312 dbms: tiny improvements [#CONV-8383]. 2013-08-09 00:12:59 +00:00
Pavel Kartavyy
4c07a0bccb Merge 2013-08-08 09:50:15 +00:00
Pavel Kartavyy
a5c799d7a3 Merge 2013-08-07 13:07:42 +00:00
Alexey Milovidov
b74f610397 dbms: fixed error when receiving incorrect packet type [#CONV-2944]. 2013-08-04 00:42:35 +00:00
Vyacheslav Alipov
adf9e506f4 added nested arrays offsets check [#CONV-7967] 2013-08-02 14:26:04 +00:00
Pavel Kartavyy
e2e6032020 ClickHouse: Added function extractURLParameterNames(URL) [#CONV-8285] 2013-08-02 13:55:43 +00:00
Pavel Kartavyy
fa761bd984 ClickHouse: Added extractAll(regexp, s) function [#CONV-8285] 2013-08-02 13:09:42 +00:00
Evgeniy Gatov
b1ed7de82f dbms: added "toStringCutToZero" function [#CONV-8237]. 2013-08-01 20:22:22 +00:00
Vyacheslav Alipov
9de74db58b fixed GROUP BY [#CONV-7967] 2013-08-01 18:04:59 +00:00
Vyacheslav Alipov
c82710b275 fixed arrayJoin, also functions on the original array should be working now [#CONV-7967] 2013-08-01 16:00:38 +00:00
Vyacheslav Alipov
f298f2698e reorganized array_joined_columns ('ARRAY JOIN ColumnArray AS alias' should be working now) [#CONV-7967] 2013-08-01 15:28:10 +00:00
Vyacheslav Alipov
f81a5d0d85 fixes, going to reorganize ExpressionActions::Action::array_joined_columns [#CONV-7967] 2013-08-01 15:06:41 +00:00
Vyacheslav Alipov
371c8ce796 fixed getRequiredColumns, getSelectSampleBlock, aliases dict and originalNestedName [#CONV-7967] 2013-08-01 14:43:04 +00:00
Vyacheslav Alipov
733db69d41 fixed server start up [#CONV-7967] 2013-08-01 13:43:47 +00:00
Vyacheslav Alipov
f504fd2193 reorganized adding of MULTIPLE_ARRAY_JOIN action [#CONV-7967] 2013-08-01 13:29:32 +00:00
Vyacheslav Alipov
d6acde63a9 fixed aliases for ARRAY JOIN section (unknown kolumn issue) [#CONV-7967] 2013-07-31 11:28:55 +00:00
Vyacheslav Alipov
857063ebf3 fixed aliases for ARRAY JOIN section (required_columns issue) [#CONV-7967] 2013-07-31 10:06:44 +00:00
Vyacheslav Alipov
ef8cd52e73 added alias support for ARRAY JOIN section [#CONV-7967] 2013-07-30 17:25:46 +00:00
Vyacheslav Alipov
fabb65274b fixed arrayJoin([1, 2, 3]) [#CONV-7967] 2013-07-29 16:56:52 +00:00
Alexey Milovidov
43d9edeca1 dbms: added aggregate function groupUniqArray [#CONV-8330]. 2013-07-28 20:53:31 +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
de9783ce11 dbms: tiny improvement [#CONV-2944]. 2013-07-28 01:42:36 +00:00
Alexey Milovidov
59a743f0ef dbms: removed useless code [#CONV-2944]. 2013-07-28 01:36:17 +00:00
Alexey Milovidov
d0bc18a815 Merge 2013-07-28 01:15:52 +00:00
Alexey Milovidov
6356f41105 dbms: added aggregate functions quantileTiming, quantilesTiming [#CONV-8223]. 2013-07-27 19:57:45 +00:00
Vyacheslav Alipov
3ef3d700fa reverted getArrayJoinImpl [#CONV-7967] 2013-07-26 17:21:01 +00:00
Vyacheslav Alipov
f7f906c835 fixed getArrayJoinImpl [#CONV-7967] 2013-07-26 17:02:24 +00:00
Vyacheslav Alipov
56e947befb reorganized adding of MULTIPLE_ARRAY_JOIN action (appendArrayJoin) [#CONV-7967] 2013-07-26 16:33:05 +00:00
Vyacheslav Alipov
7969288677 reorganized adding of MULTIPLE_ARRAY_JOIN action [#CONV-7967] 2013-07-26 16:11:31 +00:00
Vyacheslav Alipov
b1a45aed3e tiny fix [#CONV-7967] 2013-07-26 15:16:56 +00:00
Vyacheslav Alipov
834b2bc8be added new type of Action: MULTIPLE_ARRAY_JOIN [#CONV-7967] 2013-07-26 13:46:52 +00:00
Vyacheslav Alipov
fce904f438 fixed 'unknown column' issue with ARRAY JOIN section (partially reverted to previous revision) [#CONV-7967] 2013-07-23 16:52:50 +00:00
Vyacheslav Alipov
3ab02bffef fixed 'unknown column' issue with ARRAY JOIN section [#CONV-7967] 2013-07-23 16:15:40 +00:00
Vyacheslav Alipov
9dfce3c015 fixed another NULL pointer [#CONV-7967] 2013-07-23 14:31:51 +00:00
Vyacheslav Alipov
80cc3885f3 fixed NULL pointer and prepare and execute in ExpressionActions [#CONV-7967] 2013-07-23 14:19:03 +00:00
Vyacheslav Alipov
61f862dfbe ARRAY JOIN section in SELECT [#CONV-7967] 2013-07-22 16:49:19 +00:00
Vyacheslav Alipov
ab7d11b110 fixed input validation for Nested Arrays [#CONV-7967] 2013-07-22 13:21:16 +00:00
Vyacheslav Alipov
38b88d2d60 added input validation for Nested Arrays [#CONV-7967] 2013-07-22 12:04:08 +00:00
Alexey Milovidov
facaf9d24a dbms: improved performance of aggregation by FixedString columns [#CONV-2944]. 2013-07-19 20:12:02 +00:00
Alexey Milovidov
3870d76934 dbms: tiny unification [#CONV-2944]. 2013-07-19 19:53:51 +00:00
Alexey Milovidov
f7a5d2a215 dbms: OLAP-compatibility: reverted prev. modification [#CONV-8238]. 2013-07-17 20:29:47 +00:00
Alexey Milovidov
25fe58b30f dbms: OLAP-compatibility: removed unused code [#CONV-8238]. 2013-07-17 20:28:01 +00:00
Alexey Milovidov
d260289c6e ███████████, dbms compatibility with OLAP: added new attributes [#CONV-8238]. 2013-07-17 17:59:57 +00:00
Alexey Milovidov
4f06cd1fd5 dbms: OLAP-compatibility: removed useless func [#CONV-8238]. 2013-07-17 17:54:43 +00:00
Alexey Milovidov
cf5fa725af dbms: OLAP compatibility: removed old code [#CONV-8238]. 2013-07-17 17:40:45 +00:00
Vyacheslav Alipov
25ebf196f8 compound identifier parser to support '.' [#CONV-7967] 2013-07-16 15:26:35 +00:00
Vyacheslav Alipov
277759146d identifier parser now supports '.' [#CONV-7967] 2013-07-16 15:10:37 +00:00
Vyacheslav Alipov
ac42eb45a4 SELECT and table reads/writes may be wokring now [NOT TESTED] [#CONV-7967] 2013-07-16 14:55:01 +00:00
Vyacheslav Alipov
a0b84c848a added and passed data_type_nested test [#CONV-7967] 2013-07-15 12:42:40 +00:00
Alexey Milovidov
3e334da76f dbms: compatibility with OLAPServer: fixed error, removed half of garbage [#CONV-8210]. 2013-07-15 05:49:33 +00:00
Alexey Milovidov
0874bf17ca dbms: allowed Keep-Alive [#CONV-8210]. 2013-07-15 02:03:35 +00:00
Alexey Milovidov
c0309c5a67 dbms: compatibility with OLAPServer: added missing attributes [#CONV-8210]. 2013-07-15 01:51:13 +00:00
Vyacheslav Alipov
00f2cceac0 tiny style improvement: deleted empty line [#CONV-7967] 2013-07-12 17:47:19 +00:00
Vyacheslav Alipov
067375cb69 fixed parsing of Nested DateType in DataTypeFactory [#CONV-7967] 2013-07-12 17:40:38 +00:00
Vyacheslav Alipov
7bee7ed8ca updated ParserNestedTable: save parsed columns to func->args [#CONV-7967] 2013-07-12 16:46:58 +00:00
Vyacheslav Alipov
090aae8e7b propagated [de]serialization to storages and (in|out)put streams [#CONV-7967] 2013-07-12 13:35:05 +00:00
Vyacheslav Alipov
73bc183ffc main classes and first draft of CREATE TABLE parser [#CONV-7967] 2013-07-11 17:35:56 +00:00
Alexey Milovidov
858b2805eb dbms: probably better [#CONV-2944]. 2013-06-30 17:12:34 +00:00
Alexey Milovidov
930b3f96aa dbms: JSON formats: writing header before any data [#CONV-2944]. 2013-06-30 17:04:50 +00:00
Alexey Milovidov
d3d9aa327e dbms: improved performance of aggregation by many fields: lowered number of allocs; more direct memory layout; don't use temporary Fields; lowered memory consumption [#CONV-2944]. 2013-06-30 16:56:00 +00:00
Alexey Milovidov
6e34a0331d dbms: tiny improvement [#CONV-2944]. 2013-06-30 10:28:17 +00:00
Alexey Milovidov
79afdbc193 dbms: removed useless code [#CONV-2944]. 2013-06-30 10:14:50 +00:00
Alexey Milovidov
1c730617e7 dbms: added aggregate function quantiles [#CONV-2944]. 2013-06-29 23:49:34 +00:00
Alexey Milovidov
9af979adff dbms: improvement: using pre-LIMIT on remote servers when query is streaming [#CONV-2944]. 2013-06-29 20:32:33 +00:00
Alexey Milovidov
23215dac94 dbms: Server: fixed error: cancelling query doesn't always work [#CONV-7816]. 2013-06-29 19:58:23 +00:00
Alexey Milovidov
9c07d1b07f dbms: fixed error with serialization of FixedString columns [#CONV-8042]. 2013-06-29 19:01:54 +00:00
Alexey Milovidov
f38b00b36f dbms: Server: HTTP interface: allowed to specify default_format in URL parameter [#CONV-2944]. 2013-06-29 18:03:57 +00:00
Alexey Milovidov
63bdaa2636 dbms: removed two wrong comments [#CONV-2944]. 2013-06-29 17:22:22 +00:00
Alexey Milovidov
780e2e98c1 dbms: tiny style improvement [#CONV-2944]. 2013-06-29 14:19:46 +00:00
Alexey Milovidov
4bc51482ce dbms: fixed writing arrays [#CONV-8022]. 2013-06-27 17:11:25 +00:00
Michael Kolupaev
23046fe1fe clickhouse: fixed sets [#CONV-7997]. 2013-06-26 16:31:49 +00:00
Alexey Milovidov
dca754918c dbms: removed useless copy [#CONV-7962]. 2013-06-25 14:19:39 +00:00
Alexey Milovidov
0931ac57ae dbms: improved performance [#CONV-2944]. 2013-06-25 14:16:16 +00:00
Michael Kolupaev
878856a62b clickhouse: implemented individual array serialization [#CONV-7962]. 2013-06-25 13:24:55 +00:00
Vyacheslav Alipov
356f394db0 fixed CREATE DATABASE IF NOT EXISTS [#CONV-2807] 2013-06-25 12:03:36 +00:00
Alexey Milovidov
235c9ce7dd dbms: improved performance of aggregation a little [#CONV-2944]. 2013-06-25 08:06:40 +00:00
Alexey Milovidov
4da27ecd38 Addition to prev. revision [#CONV-7951]. 2013-06-21 23:27:26 +00:00
Alexey Milovidov
3fbd36fde9 dbms: improvement [#CONV-2944]. 2013-06-21 21:05:16 +00:00
Alexey Milovidov
fe0dd1d0b2 dbms: improvement [#CONV-2944]. 2013-06-21 20:34:19 +00:00
Alexey Milovidov
bd1f289b7b dbms: removed useless code [#CONV-2944]. 2013-06-21 20:30:18 +00:00
Alexey Milovidov
fb616fd5ca dbms: tiny improvement for Set [#CONV-2944]. 2013-06-21 19:25:53 +00:00
Michael Kolupaev
041dc5249d clickhouse: added function arraySum [#CONV-7444]. 2013-06-21 12:11:35 +00:00
Michael Kolupaev
33d1911402 clickhouse: slightly fixed sign-rewrite exception [#CONV-7962]. 2013-06-21 11:44:44 +00:00
Vyacheslav Alipov
b81e9544a8 added stream->cancel() in Set [#CONV-7934] 2013-06-21 11:33:58 +00:00
Michael Kolupaev
089c3307e5 clickhouse: fixed select from subquery [#CONV-7444]. 2013-06-21 11:32:27 +00:00
Michael Kolupaev
c2455e1182 clickhouse: fixed ExpressionAnalyzer [#CONV-7444]. 2013-06-21 10:36:01 +00:00
Michael Kolupaev
f59d6e3320 Merge 2013-06-21 10:31:31 +00:00
Michael Kolupaev
7e3ed127a2 clickhouse: generating unknown identifier error earlier [#CONV-7444]. 2013-06-21 10:09:02 +00:00
Michael Kolupaev
435cb0af9a clickhouse: fixed grouping by duplicate column [#CONV-7962]. 2013-06-20 15:38:03 +00:00
Michael Kolupaev
db725069f7 clickhouse: fixed selecting constants from distributed tables with group by (who needs to do it anyway?) [#CONV-7962]. 2013-06-20 14:49:41 +00:00
Michael Kolupaev
036d90e88f clickhouse: fixed aggregation by the same column more than once, fixed selecting column more than once [#CONV-7962]. 2013-06-20 14:24:43 +00:00
Michael Kolupaev
e7f40f25b3 clickhouse: fixed count() in some cases [#CONV-2944]. 2013-06-20 13:50:55 +00:00
Michael Kolupaev
2d620a3aa1 clickhouse: added oveloads for higher order array functions [#CONV-7444]. 2013-06-20 12:27:33 +00:00
Vyacheslav Alipov
7f91afaf20 limits for IN and DISTINCT [not tested] [#CONV-7934] 2013-06-20 12:12:27 +00:00
Vyacheslav Alipov
cbae7f6c44 added comments, fixed non-emptiness of SelectSampleBlock [#CONV-7906] 2013-06-19 13:09:28 +00:00
Vyacheslav Alipov
fee4726953 implemented using revision version [#CONV-7906] 2013-06-18 14:12:10 +00:00
Vyacheslav Alipov
cea132c012 PrettyCompact and PrettyCompactMonoBlock use common code actively now [#CONV-6723] 2013-06-18 09:56:11 +00:00
Michael Kolupaev
a466b9b6da clickhouse: slightly fixed overriding column names with aliases [#CONV-7907]. 2013-06-18 09:48:30 +00:00
Michael Kolupaev
e8d77fe8ec Merge 2013-06-18 09:43:35 +00:00
Michael Kolupaev
c5a92790db clickhouse: fixed arrayJoin with distributed tables [#CONV-7444]. 2013-06-17 14:57:03 +00:00
Michael Kolupaev
106c3aad4a clickhouse: slightly improved tests [#CONV-2807]. 2013-06-17 13:35:05 +00:00
Michael Kolupaev
ae581594aa clickhouse: fixed FINAL reading all columns [#CONV-7444]. 2013-06-17 13:29:50 +00:00
Vyacheslav Alipov
e3a2816989 PrettyCompactMonoBlock format [#CONV-6723] 2013-06-17 12:40:44 +00:00
Michael Kolupaev
8abe29d8d0 clickhouse: fixed a minor bug with aggregation and constants [#CONV-6703]. 2013-06-17 10:19:34 +00:00
Alexey Milovidov
170d408ba3 dbms: improvement to prev. revision [#CONV-7889]. 2013-06-17 07:57:58 +00:00
Alexey Milovidov
e853c4b320 dbms: don't write .sql files for ChunkRef tables [#CONV-7889]. 2013-06-17 07:01:31 +00:00
Alexey Milovidov
8fad2d42e2 dbms: StorageLog: fixed error in one of prev. revision [#CONV-2944]. 2013-06-17 05:28:15 +00:00
Alexey Milovidov
b2f02c372a dbms: style fix [#CONV-2944]. 2013-06-15 08:48:30 +00:00
Alexey Milovidov
91a062a575 Merge 2013-06-15 08:38:30 +00:00
Alexey Milovidov
44aad8f802 dbms: fixed cyclic aliases [#CONV-7734]. 2013-06-15 07:10:06 +00:00
Alexey Milovidov
bc14fabf98 dbms: server: logging HTTP queries [#CONV-2944]. 2013-06-15 06:44:22 +00:00
Alexey Milovidov
2493a03c54 dbms: fixed error in prev. revision [#CONV-2944]. 2013-06-15 06:16:17 +00:00
Alexey Milovidov
3b1cb6ef77 dbms: fixed error; improvement [#CONV-2944]. 2013-06-15 06:14:41 +00:00
Alexey Milovidov
72b18df1ff dbms: improved loading time [#CONV-2944]. 2013-06-15 05:51:12 +00:00
Alexey Milovidov
e3e9e52c5b dbms: addition to prev. revision [#CONV-2944]. 2013-06-15 05:20:28 +00:00
Alexey Milovidov
c6b7353467 dbms: improved loading speed [#CONV-2944]. 2013-06-15 05:19:01 +00:00
Alexey Milovidov
155e3e8e05 dbms: style fix [#CONV-2807]. 2013-06-15 04:45:59 +00:00
Alexey Milovidov
2d8cac6579 dbms: improved loading speed [#CONV-2944]. 2013-06-15 04:44:19 +00:00
Alexey Milovidov
6067377d74 dbms: improvement [#CONV-2807]. 2013-06-15 04:16:14 +00:00
Alexey Milovidov
16e5dc1f70 dbms: removed TODO [#CONV-7885]. 2013-06-15 04:08:53 +00:00
Alexey Milovidov
b7f98d9f6a dbms: lowered memory consumption [#CONV-7885]. 2013-06-15 03:33:45 +00:00
Michael Kolupaev
57b3b4837e clickhouse: fixed show tables not like [#CONV-7444]. 2013-06-14 19:07:35 +00:00
Michael Kolupaev
2bc3fb6630 clickhouse: ExpressionActions: removed limit on columns in sample block [#CONV-7444]. 2013-06-14 17:53:40 +00:00
Alexey Milovidov
2854dd428b Added line feeds [#CONV-2807]. 2013-06-14 16:38:54 +00:00
Alexey Milovidov
c6a638de01 dbms: added aggregate function sumIf [#CONV-7862]. 2013-06-14 16:17:02 +00:00
Alexey Milovidov
20a164a2d1 dbms: added aggregate functions uniqIf, avgIf [#CONV-7862]. 2013-06-13 20:30:47 +00:00
Michael Kolupaev
31582f2d91 clickhouse: optimized lambda expressions [#CONV-7444]. 2013-06-11 16:21:25 +00:00
Vyacheslav Alipov
ced71b0f9b ExtractString[NOT TESTED] and ExtractRaw [#CONV-7793] 2013-06-11 16:09:53 +00:00
Michael Kolupaev
41a16a4d71 clickhouse: optimized expressions with arrayJoin [#CONV-7444]. 2013-06-10 16:03:23 +00:00
Vyacheslav Alipov
e9c1b4e490 functions extracting numbers from VisitParams [#CONV-7793] 2013-06-10 15:19:37 +00:00
Michael Kolupaev
d8af545977 clickhouse: fixed comment [#CONV-2807]. 2013-06-10 14:32:09 +00:00
Michael Kolupaev
8a738aee11 clickhouse: leaving the smallest column instead of the first [#CONV-2807]. 2013-06-10 14:24:40 +00:00
Alexey Milovidov
c58339984b dbms: fixed duplicate DISTINCT [#CONV-7444]. 2013-06-08 21:18:13 +00:00
Alexey Milovidov
9d1142b028 dbms: fixed error [#CONV-7444]. 2013-06-08 20:19:29 +00:00
Michael Kolupaev
9942dcc9c8 clickhouse: removed obsolete code [#CONV-7444]. 2013-06-05 13:42:13 +00:00
Vyacheslav Alipov
fd22381a2d added regionToName function [#CONV-7735] 2013-06-05 13:40:14 +00:00
Michael Kolupaev
3e9da41bfa clickhouse: fixed nested higher order array functions [#CONV-7444]. 2013-06-05 13:15:52 +00:00
Michael Kolupaev
84155b936c clickhouse: fixed subqueries [#CONV-7444]. 2013-06-05 13:01:30 +00:00
Michael Kolupaev
e3ee5fdc1f clickhouse: removed Expression, fixed tests [#CONV-7444]. 2013-06-05 12:46:41 +00:00
Michael Kolupaev
56bb053e80 clickhouse: fixed a test [#CONV-7444]. 2013-06-05 11:45:41 +00:00
Michael Kolupaev
c06c895444 clickhouse: fixed build [#CONV-7444]. 2013-06-05 10:34:59 +00:00
Michael Kolupaev
fb7078fd81 clickhouse: added function replicate [#CONV-7444]. 2013-06-04 14:59:05 +00:00
Michael Kolupaev
452a233030 clickhouse: added function prerequisite support [#CONV-7444]. 2013-06-04 13:34:46 +00:00
Michael Kolupaev
b63cd83284 clickhouse: improved test [#CONV-7444]. 2013-06-04 11:00:53 +00:00
Michael Kolupaev
84050bc8bb Merge 2013-06-04 11:00:33 +00:00
Evgeniy Gatov
c45894d38d dbms/Server, programs/███████████: fix [#CONV-6828]. 2013-06-03 18:19:52 +00:00
Michael Kolupaev
cf1365a667 Merge 2013-06-03 14:33:14 +00:00
Michael Kolupaev
8b608055b7 Merge 2013-06-03 14:27:22 +00:00
Michael Kolupaev
e0ea940897 Merge 2013-06-03 14:21:28 +00:00
Michael Kolupaev
d4f98f5bc5 clickhouse: fixed lambda expressions [#CONV-7444]. 2013-06-03 14:08:08 +00:00
Michael Kolupaev
f7aedd227d Merge 2013-06-03 13:17:17 +00:00
Michael Kolupaev
eaa0af7575 clickhouse: fixed lambda expressions [#CONV-7444]. 2013-06-03 12:26:06 +00:00
Michael Kolupaev
229809de17 clickhouse: fixed lambda expressions [#CONV-7444]. 2013-06-03 12:16:17 +00:00
Michael Kolupaev
206f8083ae clickhouse: fixed sign rewrite [#CONV-7444]. 2013-06-03 12:02:59 +00:00
Michael Kolupaev
65b1d524a3 clickhouse: fixed column names that look like functions [#CONV-7444]. 2013-06-03 11:52:23 +00:00
Michael Kolupaev
80edc8d7b9 clickhouse: fixed arrayJoin [#CONV-7444]. 2013-06-03 11:40:17 +00:00
Michael Kolupaev
905b671fcd clickhouse: fixed * [#CONV-7444]. 2013-06-03 11:19:31 +00:00
Michael Kolupaev
dd72f5b8b8 clickhouse: switched to ExpressionAnalyzer [#CONV-7444]. 2013-06-03 10:18:41 +00:00
Alexey Milovidov
67f905dbc4 dbms: added DISTINCT [#CONV-7756]. 2013-06-01 07:43:57 +00:00
Alexey Milovidov
2698537c59 dbms: client: don't exit on client side exception while processing query in interactive mode [#CONV-7754]. 2013-06-01 01:57:05 +00:00
Alexey Milovidov
9848a42c82 dbms: fixed error [#CONV-7549]. 2013-05-31 17:34:30 +00:00
Michael Kolupaev
37b679bb9a clickhouse: fixed build [#CONV-7444]. 2013-05-30 16:59:16 +00:00
Michael Kolupaev
deaa72c8fd clickhosue: ExpressionAnalyzer: development [#CONV-7444]. 2013-05-30 16:52:21 +00:00
Vyacheslav Alipov
7c9a0f8ac1 renamed methods with collator in ColumnString, removed catching exception [#CONV-7651] 2013-05-30 14:28:27 +00:00
Michael Kolupaev
5981e8a745 clickhouse: fixed comment [#CONV-2807]. 2013-05-30 14:22:13 +00:00
Alexey Milovidov
8e586d94c2 Using collation [#CONV-7651]. 2013-05-29 18:47:37 +00:00
Vyacheslav Alipov
c60fd424a4 added COLLATE to formatAST [#CONV-7651] 2013-05-29 12:38:20 +00:00
Michael Kolupaev
29c3420be0 clickhouse: ExpressionAnalyzer: development [#CONV-7444]. 2013-05-29 12:14:28 +00:00
Michael Kolupaev
813c79061a clickhouse: ExpressionAnalyzer: development [#CONV-7444]. 2013-05-29 11:46:51 +00:00
Vyacheslav Alipov
93d92e2d40 fixed COLLATE parser [#CONV-7651] 2013-05-29 11:33:55 +00:00
Vyacheslav Alipov
f1c161842b added collation [#CONV-7651] 2013-05-28 16:56:05 +00:00
Michael Kolupaev
c69b9e4d53 clickhouse: ExpressionAnalyzer: development [#CONV-7444]. 2013-05-28 14:47:37 +00:00
Michael Kolupaev
46b7483243 clickhouse: ExpressionAnalyzer: development [#CONV-7444]. 2013-05-28 14:24:20 +00:00
Michael Kolupaev
2fd47144db clickhouse: ExpressionAnalyzer: development [#CONV-7444]. 2013-05-28 12:19:25 +00:00
Michael Kolupaev
137c0c1b5a clickhouse: fixed build [#CONV-7444]. 2013-05-28 12:05:47 +00:00
Michael Kolupaev
fa4d2dd10b clickhouse: ExpressionAnalyzer: development, fixed build [#CONV-7444]. 2013-05-28 11:54:37 +00:00
Michael Kolupaev
0ecebb645d Expression replacement: development [#CONV-7444]. 2013-05-27 14:02:55 +00:00
Vyacheslav Alipov
c8416c9771 rolled back updating progress with ProfileInfo [#CONV-7549] 2013-05-27 11:29:58 +00:00
Michael Kolupaev
796df96cbc clickhouse: Expression refactoring: development [#CONV-7444]. 2013-05-24 10:49:19 +00:00
Vyacheslav Alipov
bd995e11f6 updating progress with ProfileInfo [#CONV-7549] 2013-05-23 09:43:25 +00:00
Vyacheslav Alipov
fe47dbfd50 fixed Null pointer exception with limit 0 [#CONV-7549] 2013-05-22 15:35:25 +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
Evgeniy Gatov
88b78bfb0d dbms/Server, ███████████: fix [#CONV-6828]. 2013-05-21 14:05:46 +00:00
Michael Kolupaev
503ca18634 clickhouse: removed heuristic for FINAL [#CONV-7363]. 2013-05-20 15:48:38 +00:00
Vyacheslav Alipov
70a13e3812 works with HTTP requests [#CONV-7549] 2013-05-20 12:21:51 +00:00
Vyacheslav Alipov
20e4583662 typo in error messages [#CONV-2807] 2013-05-17 08:02:34 +00:00
Evgeniy Gatov
730f8e591b programs/███████████, ███████████, ███████████, dbms/Server: added ClickTargetPhraseID, added missing commercial interests [#CONV-7548], [#CONV-7310]. 2013-05-16 14:35:57 +00:00
Vyacheslav Alipov
312cf1ee00 added write buffer flushing [#CONV-7445] 2013-05-16 13:36:27 +00:00
Vyacheslav Alipov
206414fb29 serializeTextJSON [#CONV-7445] 2013-05-16 12:52:09 +00:00
Alexey Milovidov
af6a7b2697 DB/IO: improved writing strings [#CONV-2807]. 2013-05-15 22:58:57 +00:00
Michael Kolupaev
8bc64303be clickhouse: addition to previous commit [#CONV-6705]. 2013-05-15 13:45:44 +00:00
Michael Kolupaev
c0b803d204 clickhouse: addition to previous commit [#CONV-6705]. 2013-05-15 13:33:19 +00:00
Michael Kolupaev
ea836bbdce clickhouse: addition to previous commit [#CONV-6705]. 2013-05-15 12:34:26 +00:00
Michael Kolupaev
471f6b3a66 Merge 2013-05-15 12:32:40 +00:00
Vyacheslav Alipov
5a1c0126e3 added new formats to FormatFactory [#CONV-7445] 2013-05-15 11:51:54 +00:00
Vyacheslav Alipov
a2b61e0d5f JSONCompactRowOutputStream [#CONV-7445] 2013-05-15 11:48:00 +00:00
Michael Kolupaev
5c386bb038 clickhouse: fixed sampling [#CONV-7363]. 2013-05-15 11:32:31 +00:00
Vyacheslav Alipov
8685024166 JSONRowOutputStream [#CONV-7445] 2013-05-15 11:18:58 +00:00
Michael Kolupaev
e03e85184f clickhouse: fixed FINAL ans SAMPLE broken by some changes in Expression [#CONV-7363]. 2013-05-15 09:55:09 +00:00
Vyacheslav Alipov
54efc39223 fixed 'Different expressions with the same alias' exception [#CONV-6778] 2013-05-08 11:14:54 +00:00
Michael Kolupaev
c7ecc266c6 clickhouse: fixed parsing lambda expressions [#CONV-7444]. 2013-05-08 10:59:21 +00:00
Michael Kolupaev
4a19d688dd clickhouse: fixed parsing lambda expressions [#CONV-7444]. 2013-05-08 10:33:37 +00:00
Vyacheslav Alipov
755031efc6 performing sign rewrite from distributed table too [#CONV-6778] 2013-05-08 10:30:29 +00:00
Vyacheslav Alipov
066f9ffa7c rolled back to revision 31455 [#CONV-6778] 2013-05-08 09:58:31 +00:00
Michael Kolupaev
48c5dedb42 clickhouse: added parsing of lambda-expressions [#CONV-7444]. 2013-05-08 09:52:02 +00:00
Vyacheslav Alipov
897f03017e fixed substitution launch condition [#CONV-6778] 2013-05-07 13:42:48 +00:00
Vyacheslav Alipov
c2d5749128 preserving original column names for distributed queries [#CONV-6778] 2013-05-07 10:30:52 +00:00
Alexey Milovidov
e7a5e90c5a dbms: tiny improvement [#CONV-2944]. 2013-05-06 18:01:06 +00:00
Alexey Milovidov
01177e16fe Merge 2013-05-06 12:15:34 +00:00
Alexey Milovidov
4d19d33441 dbms: fixed error after adding 'WITH TOTALS' modifier [#CONV-7489]. 2013-05-06 11:45:28 +00:00
Alexey Milovidov
66d0ae7b24 dbms: added whitespace [#CONV-2944]. 2013-05-06 11:40:54 +00:00
Alexey Milovidov
48c6b9f486 dbms: probably fixed error [#CONV-2944]. 2013-05-06 11:28:45 +00:00
Michael Kolupaev
3330c4e4dc clickhouse: fixed Expression throwing exception on invalid table in select query [#CONV-6778]. 2013-05-06 10:31:35 +00:00
Alexey Milovidov
d38fd54295 dbms: fixed cyclic references (leak) [#CONV-2944]. 2013-05-05 20:07:11 +00:00
Alexey Milovidov
2efd1bc6b0 dbms: removed few cyclic SharedPtr references [#CONV-2944]. 2013-05-05 18:02:05 +00:00
Alexey Milovidov
b9f3e8c753 dbms: addition to prev. revisions [#CONV-2944]. 2013-05-05 15:34:45 +00:00
Alexey Milovidov
28c9579a5f Separated ColumnString from ColumnArray and ColumnFixedString from ColumnFixedArray; removed ColumnFixedArray [#CONV-2944]. 2013-05-05 15:25:25 +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
Alexey Milovidov
cefc1fcc67 dbms: addition to prev. revision [#CONV-2944]. 2013-05-03 10:34:36 +00:00
Alexey Milovidov
85664affbf dbms: development of multi-queries [#CONV-2944]. 2013-05-03 10:20:53 +00:00
Alexey Milovidov
d08e7cf5bc dbms: fixed error [#CONV-7486]. 2013-05-03 05:23:14 +00:00
Alexey Milovidov
3693481bb7 dbms: development [#CONV-2944]. 2013-05-03 02:25:50 +00:00
Vyacheslav Alipov
da4454b46e preserving aliases now [#CONV-6778] 2013-04-30 12:36:39 +00:00
Vyacheslav Alipov
36e070edce sign rewrite works fine [#CONV-6778] 2013-04-30 12:08:59 +00:00
Vyacheslav Alipov
c27cc5a3e9 sign rewrite fixes, count() is working, others do not [#CONV-6778] 2013-04-29 17:25:48 +00:00
Vyacheslav Alipov
55d143e974 sign rewrite in Expression [#CONV-6778] 2013-04-29 12:40:53 +00:00
Michael Kolupaev
7b343659e6 clickhouse: added FINAL to formatAST [#CONV-7363]. 2013-04-29 11:34:28 +00:00
Michael Kolupaev
e3999c23af clickhouse: code indentation [#CONV-2807]. 2013-04-29 11:34:06 +00:00
Michael Kolupaev
ffdeac3136 clickhouse: fixed FINAL with one data part [#CONV-7363]. 2013-04-29 11:20:10 +00:00
Alexey Milovidov
a14c5a4aa9 Improved notifications [#CONV-7461]. 2013-04-28 02:56:13 +00:00
Alexey Milovidov
67b0719f26 Global stat: dbms: added aggregate function 'uniqState'; added compatibility with ███████████ [#CONV-7315]. 2013-04-26 18:57:08 +00:00
Michael Kolupaev
a34f86cc7b clickhouse: FINAL only returning positive rows [#CONV-7363]. 2013-04-26 13:20:42 +00:00
Michael Kolupaev
e3c0352b45 clickhouse: optimized FINAL [#CONV-7363]. 2013-04-26 12:44:45 +00:00
Michael Kolupaev
1a4df75e08 clickhouse: added missing files [#CONV-7363]. 2013-04-25 15:48:09 +00:00
Michael Kolupaev
cd1183267c clickhouse: added CollapsingFinalBlockInputStream [#CONV-7363]. 2013-04-25 15:46:14 +00:00
Michael Kolupaev
12e73e0692 clickhouse: fixed reading sign column with FINAL modifier [#CONV-7363]. 2013-04-25 11:37:20 +00:00
Vyacheslav Alipov
6191923acc added option: sign_rewrite [#CONV-6778] 2013-04-24 13:34:04 +00:00
Vyacheslav Alipov
cff712858a Merge 2013-04-24 12:52:49 +00:00
Michael Kolupaev
fb180683c1 clickhouse: faster SELECT ... FINAL [#CONV-7363]. 2013-04-24 12:17:29 +00:00
Michael Kolupaev
a263b0b265 clickhouse: fixed FINAL [#CONV-7363]. 2013-04-24 11:39:12 +00:00
Michael Kolupaev
5be6bd2408 Merge 2013-04-24 10:31:32 +00:00
Michael Kolupaev
77ae92d8ab Merge 2013-04-23 11:35:09 +00:00
Michael Kolupaev
2c135ca1e2 clickhouse: slightly improved comment [#CONV-7363]. 2013-04-23 11:12:36 +00:00
Michael Kolupaev
d97d22919e Merge 2013-04-23 11:08:41 +00:00
Michael Kolupaev
62c3372d86 clickhouse: fixed an error in previous fix [#CONV-7344]. 2013-04-18 12:44:28 +00:00
Michael Kolupaev
fd8166559b clickhouse: fixed an error [#CONV-7344]. 2013-04-18 12:42:03 +00:00
Michael Kolupaev
0decb0799b fixed and added some OLAP attributes [#CONV-7197]. 2013-04-17 13:31:20 +00:00
Michael Kolupaev
0fddbe3f88 clickhouse: added functions for site categories [#CONV-7180]. 2013-04-17 11:37:34 +00:00
Vyacheslav Alipov
653ae4dfec fixed possible integer overflow [#CONV-2807] 2013-04-17 09:52:07 +00:00
Alexey Milovidov
b73bbbd7a7 dbms, sqxxl: fixed error [#CONV-7289]. 2013-04-13 00:56:07 +00:00
Alexey Milovidov
1b7a4b064c Using one file name to include sparse/dense hash (error if you use different style in one translation unit) [#CONV-7042]. 2013-04-09 19:15:52 +00:00
Alexey Milovidov
2bf90fb924 Renamed file [#CONV-6992]. 2013-04-08 19:47:25 +00:00
Michael Kolupaev
c898101f5d clickhouse: fixed nested IN ssections [#CONV-7046]. 2013-03-28 13:00:27 +00:00
Michael Kolupaev
d866ffbb91 clickhouse: slightly fixed subqueries with Distributed tables [#CONV-6822]. 2013-03-27 13:26:25 +00:00
Michael Kolupaev
164068ec35 clickhouse: slightly fixed subqueries with Distributed tables [#CONV-6822]. 2013-03-27 12:28:06 +00:00
Michael Kolupaev
887bfc695b clickhouse: slightly more verbose exception message [#CONV-6822]. 2013-03-27 12:17:33 +00:00
Michael Kolupaev
1e338dbd6d clickhouse: fixed subqueries with Distributed tables [#CONV-6822]. 2013-03-27 12:04:48 +00:00
Michael Kolupaev
d2241771bd clickhouse: fixed error when the same set is used more than once in a query [#CONV-7036]. 2013-03-27 11:32:43 +00:00
Michael Kolupaev
0f94ab34bf Merge 2013-03-27 10:07:23 +00:00
Michael Kolupaev
c638007904 clickhouse: slightly refactored [#CONV-6823]. 2013-03-25 17:41:48 +00:00
Michael Kolupaev
e80af0a15d clickhouse: fixed arrays to the left of IN [#CONV-6823]. 2013-03-25 13:37:58 +00:00
Michael Kolupaev
cc8914361f clickhouse: fixed arrays to the left of IN [#CONV-6823]. 2013-03-25 13:35:05 +00:00
Michael Kolupaev
2578c4af23 clickhouse: arrays to the left of IN [#CONV-6823]. 2013-03-25 13:02:12 +00:00
Michael Kolupaev
84f49b7f36 clickhouse-client: changed multiline history behavior [#CONV-6789]. 2013-03-19 12:36:13 +00:00
Michael Kolupaev
b017d8b476 clickhouse: adrray to the left of IN: development [#CONV-6823]. 2013-03-19 12:25:59 +00:00
Michael Kolupaev
bc8f9d550c clickhouse: fixed a crash on column number mismatch with IN section [#CONV-6823]. 2013-03-19 11:25:28 +00:00
Michael Kolupaev
f933440e9c clickhouse: added function cutURLParameter [#CONV-6788]. 2013-03-18 10:27:45 +00:00
Michael Kolupaev
7275be6ac4 Merge 2013-03-18 08:03:44 +00:00
Michael Kolupaev
103c77d636 clickhouse: undid last change that appeared to introduce deadlock [#CONV-6705]. 2013-03-14 13:22:57 +00:00
Michael Kolupaev
00e0307de1 Merge 2013-03-14 13:04:50 +00:00
Michael Kolupaev
21fa1370c7 clickhouse: rewound last change, it was slightly incorrect [#CONV-2807]. 2013-03-14 12:54:59 +00:00
Michael Kolupaev
ad0f1cfa3a Merge 2013-03-14 12:52:22 +00:00
Michael Kolupaev
b6404afed4 Merge 2013-03-14 12:38:15 +00:00
Michael Kolupaev
c4bbb1fe45 Merge 2013-03-14 12:11:23 +00:00
Michael Kolupaev
a163bfcd49 Merge 2013-03-14 11:43:43 +00:00
Michael Kolupaev
990a634642 clickhouse: added SHOW TABLES NOT LIKE [#CONV-2944]. 2013-03-11 11:28:36 +00:00
Michael Kolupaev
15f31802f6 clickhouse: fixed arrays in TinyLog [#CONV-2944]. 2013-03-07 17:44:32 +00:00
Michael Kolupaev
961e3c9c87 clickhouse: fixed arrays in TinyLog [#CONV-2944]. 2013-03-07 17:40:24 +00:00
Michael Kolupaev
56f918a0a3 clickhouse: added function bitmaskToArray [#CONV-6788]. 2013-03-07 13:15:22 +00:00
Michael Kolupaev
64f4d743d2 clickhouse: added function unhex [#CONV-6788]. 2013-03-07 12:43:54 +00:00
Michael Kolupaev
e3b48d5324 clickhouse: added function hex [#CONV-6788]. 2013-03-07 12:01:41 +00:00
Michael Kolupaev
a46833bbeb clickhouse: fixed build [#CONV-6788]. 2013-03-06 13:56:11 +00:00
Michael Kolupaev
35023d04b8 clickhouse: fixed a typo in comment [#CONV-2807]. 2013-03-06 13:53:09 +00:00
Michael Kolupaev
efed69fcc6 clickhouse: fixed bas_cast in ColumnConstArray (added nested type information) [#CONV-6788]. 2013-03-06 13:44:40 +00:00
Michael Kolupaev
8f8c97e858 clickhouse: added functions regionHierarchy, OSHierarchy, SEHierarchy [#CONV-6788]. 2013-03-06 12:03:52 +00:00
Michael Kolupaev
e8766d7e90 clickhouse: added URLHierarchy function [#CONV-6788]. 2013-03-06 11:22:17 +00:00
Michael Kolupaev
a1707b1e6c clickhouse: added function extractURLParameters [#CONV-6788]. 2013-03-05 13:30:23 +00:00
Michael Kolupaev
eb5ebc7996 clickhouse: added function extractURLParameter [#CONV-6788]. 2013-03-05 12:12:47 +00:00
Michael Kolupaev
24ffa945bc clickhouse: added function IPv4StringToNum [#CONV-6788]. 2013-03-05 10:29:26 +00:00
Michael Kolupaev
49ae9d23e2 clickhouse: added function FunctionIPv4NumToString [#CONV-6788]. 2013-03-05 09:32:12 +00:00
Michael Kolupaev
7cc555a855 clickhouse: added sleep function [#CONV-6788]. 2013-03-04 10:38:44 +00:00
Michael Kolupaev
ea816297c2 clickhouse: added function extract [#CONV-6788]. 2013-02-28 13:01:07 +00:00
Michael Kolupaev
eca698ad89 clickhouse-client: changed prompt [#CONV-6789]. 2013-02-28 10:33:48 +00:00
Michael Kolupaev
ed6a04ae7a clickhouse-client: slightly fixed multiline interactive input [#CONV-6789]. 2013-02-28 10:28:38 +00:00
Michael Kolupaev
78383e8bcd clickhouse-client: fixed multiline interactive input [#CONV-6789]. 2013-02-28 10:25:15 +00:00
Michael Kolupaev
f0628553a7 clickhouse-client: added multiline interactive input [#CONV-6789]. 2013-02-28 10:24:09 +00:00
Michael Kolupaev
061f99e117 clickhouse: removed unused code [#CONV-6705]. 2013-02-26 13:48:47 +00:00
Michael Kolupaev
2a05c2829c clickhouse: StorageLog now stores all marks in one file [#CONV-6705]. 2013-02-26 13:06:01 +00:00
Michael Kolupaev
58d5f65e60 clickhouse: StorageLog: fixed build [#CONV-2944]. 2013-02-26 11:48:09 +00:00
Michael Kolupaev
276961cc60 clickhouse: StorageLog: fixed renaming and inserting [#CONV-2944]. 2013-02-26 11:47:15 +00:00
Michael Kolupaev
86eb06064a clickhouse: fixed renaming TinyLog tables with arrays again [#CONV-2944]. 2013-02-26 11:37:49 +00:00
Michael Kolupaev
550ff5fb8e clickhouse: fixed renaming TinyLog tables with arrays [#CONV-2944]. 2013-02-26 11:28:00 +00:00
Alexey Milovidov
aaffff4dd1 dbms: Set: fixed error with NOT IN (empty set) [#CONV-2944]. 2013-02-25 18:17:54 +00:00
Michael Kolupaev
0ddaa9048e clickhouse: fixed build [#CONV-2944]. 2013-02-25 10:51:52 +00:00
Michael Kolupaev
7393b0033b Merge 2013-02-25 10:23:31 +00:00
Alexey Milovidov
ede8ad964c dbms: fixed error with IN [#CONV-2944]. 2013-02-22 19:07:41 +00:00
Michael Kolupaev
a4fe773cba Merge 2013-02-22 12:18:08 +00:00
Michael Kolupaev
2dc383a07b clickhouse: fixed SHOW CREATE TABLE and DESCRIBE TABLE [#CONV-6766]. 2013-02-21 11:34:32 +00:00
Michael Kolupaev
71377de83d clickhouse-client: fixed parsers again [#CONV-6766]. 2013-02-21 11:12:31 +00:00
Michael Kolupaev
c7cd17004f clickhouse-client: fixed formatAST again, added info to exception text [#CONV-6766]. 2013-02-21 11:08:29 +00:00
Michael Kolupaev
a5ee7a8a3d clickhouse-client: fixed return code for poco exceptions [#CONV-2944]. 2013-02-21 10:56:04 +00:00
Michael Kolupaev
b4222e65e3 clickhouse: fixed formatting SHOW DATABASES ... FORMAT [#CONV-6766]. 2013-02-21 10:51:25 +00:00
Michael Kolupaev
625d207ac5 clickhouse: fixed parser [#CONV-6766]. 2013-02-21 10:45:00 +00:00
Michael Kolupaev
63b2d9cc82 clickhouse: clickhouse-client return code is exception code [#CONV-2944]. 2013-02-21 10:40:18 +00:00
Michael Kolupaev
1fa892182d clickhouse: fixed SHOW DATABASES ... FORMAT [#CONV-6767]. 2013-02-21 10:39:24 +00:00
Michael Kolupaev
40d71ab381 clickhouse: added DESCRIBE and SHOW CREATE queries, fixed formatting queries with FORMAT section [#CONV-6766]. 2013-02-21 10:02:33 +00:00
Michael Kolupaev
1eaec724a5 Merge 2013-02-21 09:38:25 +00:00
Michael Kolupaev
fa771f6573 clickhouse: slightly refactored storages [#CONV-6561]. 2013-02-21 09:11:18 +00:00
Alexey Milovidov
7d180f9e71 Merge 2013-02-20 23:25:28 +00:00
Alexey Milovidov
77026f581f dbms: fixed error when inserting empty data (using HTTP protocol) [#CONV-2944]. 2013-02-20 23:24:17 +00:00
Michael Kolupaev
7b14c8ac36 clickhouse: support FORMAT section in EXISTS and SHOW queries [#CONV-6767]. 2013-02-20 13:14:12 +00:00
Michael Kolupaev
bb9fccdd95 Merge 2013-02-20 10:29:26 +00:00
Michael Kolupaev
38fbcfe065 Merge 2013-02-18 17:30:06 +00:00
Michael Kolupaev
c7149513d2 removed const_cast on std::string::data() where appropriate [#CONV-6704]. 2013-02-18 16:40:36 +00:00
Michael Kolupaev
fbd139a549 Merge 2013-02-18 13:10:59 +00:00
Alexey Milovidov
78496a10d2 dbms: tiny improvement [#CONV-2944]. 2013-02-17 20:19:05 +00:00
Alexey Milovidov
08ae323871 dbms: modified log message [#CONV-2944]. 2013-02-17 19:55:05 +00:00
Alexey Milovidov
10a41c00f4 dbms: added profiles of settings [#CONV-2944]. 2013-02-17 19:54:32 +00:00
Alexey Milovidov
76347e2e25 dbms: Client: fixed overflow in progress indicator [#CONV-2944]. 2013-02-16 22:17:01 +00:00
Alexey Milovidov
7b790fb2a8 dbms: Aggregator: improvement [#CONV-2944]. 2013-02-16 20:15:45 +00:00
Alexey Milovidov
9e4fd68e6c dbms: fixed possible leak [#CONV-2944]. 2013-02-16 18:59:05 +00:00
Alexey Milovidov
ad4e7c9da8 dbms: sending progress while processing subqueries [#CONV-2944]. 2013-02-16 14:55:14 +00:00
Alexey Milovidov
fb0f651db4 dbms: Server: HTTP handler: made GET readonly; fixed error in SET query [#CONV-2944]. 2013-02-16 13:48:25 +00:00
Alexey Milovidov
743108b25e dbms: fixed error [#CONV-6757]. 2013-02-16 13:14:41 +00:00
Michael Kolupaev
e05d3398c0 Merge 2013-02-14 12:51:52 +00:00
Michael Kolupaev
0184d23e1c Merge 2013-02-14 11:22:56 +00:00
Alexey Milovidov
105962f514 dbms: fixed error with Aggregator [#CONV-2944]. 2013-02-13 20:13:28 +00:00
Alexey Milovidov
427be97e00 dbms: probably fixed error in Aggregator [#CONV-2944]. 2013-02-13 19:24:19 +00:00
Michael Kolupaev
12f324cb4c clickhouse: fixed aliases with distributed storage [#CONV-6703]. 2013-02-13 17:53:40 +00:00
Michael Kolupaev
753b1fd03e clickhouse: fixed a typo in exception text [#CONV-6703]. 2013-02-13 10:01:53 +00:00
Michael Kolupaev
3e168c4cc0 clickouse: fixed aliases [#CONV-2944]. 2013-02-12 09:04:39 +00:00
Michael Kolupaev
1f472dceca clickhouse: improved exception text [#CONV-2944]. 2013-02-11 17:57:48 +00:00
Michael Kolupaev
e6993c973a clickhouse: fixed [#CONV-2944]. 2013-02-11 17:53:19 +00:00
Michael Kolupaev
eac9f3c337 clickhouse: fixed some alias issues [#CONV-2944]. 2013-02-11 17:30:09 +00:00
Michael Kolupaev
bebe6932fd clickhouse: fixed aliases in subqueries [#CONV-6727]. 2013-02-11 16:54:55 +00:00
Michael Kolupaev
4ed6c86648 clickhouse: Chunks: added logging [#CONV-6705]. 2013-02-11 12:28:43 +00:00
Michael Kolupaev
97287129aa clickhouse: Chunks: fixed [#CONV-6705]. 2013-02-11 11:59:21 +00:00
Michael Kolupaev
19707dc7ca Merge 2013-02-11 11:42:36 +00:00
Michael Kolupaev
f5cac625c6 Merge 2013-02-11 11:22:15 +00:00