Commit Graph

536 Commits

Author SHA1 Message Date
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
156bfdc094 dbms: eased use of SipHash [#METR-9019]. 2013-10-21 16:32:49 +00:00
Michael Kolupaev
491480e79c ClickHouse: fixed and claened up ARRAY JOIN a little. [#CONV-8821] 2013-10-21 11:33:25 +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
5f2df7adc2 dbms: fix for quota [#JIRA is in read-only state]. 2013-10-10 18:13:47 +00:00
Michael Kolupaev
d2b63a74a0 Fixed IN with subqueries in some cases. [#CONV-8804] 2013-10-01 13:16:10 +00:00
Alexey Milovidov
0629fb4fdd Merge 2013-09-30 01:29:19 +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
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
df9f14ac3b dbms: more easy startup after server fault [#CONV-2944]. 2013-09-15 01:41:09 +00:00
Alexey Milovidov
efae271ae0 dbms: added uncompressed cache (experimental) [#CONV-8661]. 2013-09-08 05:53:10 +00:00
Alexey Milovidov
23be968064 dbms: added waiting when too much queries [#CONV-8692]. 2013-09-07 04:54:59 +00:00
Alexey Milovidov
c69f353a17 dbms: added calculation of min/max [#CONV-8691]. 2013-09-07 02:03:13 +00:00
Alexey Milovidov
4100af9724 dbms: little better [#CONV-2944]. 2013-09-06 23:05:57 +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
151506d742 dbms: added totals as separate data in JSON formats [#CONV-8366]. 2013-09-01 04:55:41 +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
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
e54ee51124 dbms: probably better [#CONV-2944]. 2013-08-24 03:58:33 +00:00
Pavel Kartavyy
18d1ee2eb2 Fixed incorrect working with nested tables in ALTER [#conv-8383] 2013-08-14 16:52:40 +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
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
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
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
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
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
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
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
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
f38b00b36f dbms: Server: HTTP interface: allowed to specify default_format in URL parameter [#CONV-2944]. 2013-06-29 18:03:57 +00:00
Michael Kolupaev
23046fe1fe clickhouse: fixed sets [#CONV-7997]. 2013-06-26 16:31:49 +00:00
Alexey Milovidov
0931ac57ae dbms: improved performance [#CONV-2944]. 2013-06-25 14:16:16 +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
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
fb616fd5ca dbms: tiny improvement for Set [#CONV-2944]. 2013-06-21 19:25:53 +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
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
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
Michael Kolupaev
8abe29d8d0 clickhouse: fixed a minor bug with aggregation and constants [#CONV-6703]. 2013-06-17 10:19:34 +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
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
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
Michael Kolupaev
31582f2d91 clickhouse: optimized lambda expressions [#CONV-7444]. 2013-06-11 16:21:25 +00:00
Michael Kolupaev
41a16a4d71 clickhouse: optimized expressions with arrayJoin [#CONV-7444]. 2013-06-10 16:03:23 +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
Michael Kolupaev
9942dcc9c8 clickhouse: removed obsolete code [#CONV-7444]. 2013-06-05 13:42:13 +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
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
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
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
Alexey Milovidov
8e586d94c2 Using collation [#CONV-7651]. 2013-05-29 18:47:37 +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
f1c161842b added collation [#CONV-7651] 2013-05-28 16:56:05 +00:00