Commit Graph

750 Commits

Author SHA1 Message Date
Pavel Kartavyy
f17494744c dbms: add settings default sample [#METR-9464] 2014-01-28 19:26:37 +00:00
Alexey Milovidov
42ed5f89a6 dbms: fixed error with IN and limits [#METR-9748]. 2014-01-28 19:24:50 +00:00
Sergey Fedorov
a7edba5032 table functions: main interface implementation, function merge implementation, plug for remote function [METR-9750] 2014-01-28 16:45:10 +00:00
Sergey Fedorov
9cc974568e Merge 2014-01-17 15:19:20 +00:00
Sergey Fedorov
da115c14f7 Merge 2014-01-16 14:52:13 +00:00
Michael Kolupaev
936fc15640 clickhouse: better error message when an aggregate function is missing. [#METR-9590] 2014-01-13 11:29:24 +00:00
Sergey Fedorov
91609727a8 Merge 2014-01-10 13:24:50 +00:00
Alexey Milovidov
9c4043de67 Removed 'tr1' [#METR-2807]. 2014-01-08 16:33:28 +00:00
Alexey Milovidov
a57d64b7fa dbms: more instrumentation [#METR-2944]. 2014-01-04 04:53:07 +00:00
Alexey Milovidov
6820638c30 dbms: IO: added test [#METR-2944]. 2014-01-04 04:52:22 +00:00
Alexey Milovidov
fd414800d5 dbms: added ProfileEvents system [#METR-2944]. 2014-01-03 08:20:13 +00:00
Michael Kolupaev
1499c5df4a clickhouse: fixed ARRAY JOIN of constant array. [#METR-9373] 2013-12-30 13:13:53 +00:00
Sergey Fedorov
d2fe6e0fa9 dbms: update in expression analyzer, now * is only for virtual columns 2013-12-27 14:11:11 +00:00
Sergey Fedorov
1a5f04d3bf Merge 2013-12-26 13:55:19 +00:00
Michael Kolupaev
666ff5201f clickhouse: fixed DISTINCT with ORDER BY and LIMIT. [#METR-9598] 2013-12-25 13:12:43 +00:00
Sergey Fedorov
6bf937e897 [materialized view]: Couple of changes in format and metadata [METR-9076] 2013-12-24 17:01:50 +00:00
Pavel Kartavyy
a97a959b6c dbms: fixed error messages 2013-12-23 09:29:42 +00:00
Pavel Kartavyy
60f69f8be0 dbms: fixed error messages in alter 2013-12-23 09:29:27 +00:00
Alexey Milovidov
e0179cd968 dbms: fixed DISTINCT in subqueries in FROM [#METR-9549]. 2013-12-18 20:16:04 +00:00
Pavel Kartavyy
a0acabc46b dbms: alter Distributed table. bugfix [#METR-9493] 2013-12-18 11:19:37 +00:00
Pavel Kartavyy
788e8596de dbms: improved error message 2013-12-18 11:19:36 +00:00
Alexey Milovidov
8d53dcde32 dbms: improved performance for small queries [#METR-8582]. 2013-12-16 02:32:00 +00:00
Pavel Kartavyy
b64633e2a0 dbms: enable to write like: Set load_balancing = 'nearest_hostname' [#METR-9350] 2013-12-11 11:51:08 +00:00
Pavel Kartavyy
b9caf82430 dbms: added nearest_host mode to ConnectionPoolWithFailover [#METR-9350] 2013-12-10 17:07:09 +00:00
Pavel Kartavyy
cc3882b81f dbms: added load_balancing to settings [#METR-9350] 2013-12-10 17:07:06 +00:00
Pavel Kartavyy
ec2e5ff860 dbms: create cluster when distributed tables are created[#METR-9350] 2013-12-10 17:06:57 +00:00
Sergey Fedorov
205e22e0ba materialized view: added POPULATE option [#METR-9076] 2013-12-10 12:23:43 +00:00
Pavel Kartavyy
c22fb0ac12 dbms: fix config[#METR-9350] 2013-12-10 09:35:30 +00:00
Alexey Milovidov
e3427c8e93 dbms: addition to prev. revision [#METR-8582]. 2013-12-08 02:50:50 +00:00
Alexey Milovidov
c640065f37 dbms: don't zero-fill columns with numbers [#METR-8582]. 2013-12-08 02:29:40 +00:00
Pavel Kartavyy
278f5a9246 dbms: added Cluster class [#METR-9350] 2013-12-07 16:51:29 +00:00
Michael Kolupaev
c74cca252e ClickHouse: fixed one case in ARRAY JOIN. [#METR-8821] 2013-12-06 10:41:54 +00:00
Michael Kolupaev
857cebea6f ClickHouse: small fixes for PREWHERE. [#METR-9091] 2013-12-05 13:07:55 +00:00
Alexey Milovidov
4eb7ba0e60 dbms: more clear code [#METR-2944]. 2013-11-29 22:10:15 +00:00
Alexey Milovidov
5190fb4de9 dbms: fixed diagnostic 'Empty query' [#METR-9342]. 2013-11-28 20:09:38 +00:00
Michael Kolupaev
596b2bc1d9 ClickHouse: Parsing and passing around PREWHERE condition. No actual filtering yet. [#METR-9091] 2013-11-28 13:16:46 +00:00
Evgeniy Gatov
6cac6bc21d dbms: fix [#METRIKASUPP-2726]. 2013-11-27 14:19:50 +00:00
Alexey Milovidov
beaf9c100c dbms: reverted incomplete modification [#METR-2944]. 2013-11-19 20:12:10 +00:00
Alexey Milovidov
bcede415a9 dbms: improvement for small blocks [#METR-2944]. 2013-11-17 21:52:09 +00:00
Alexey Milovidov
405f03d437 dbms: less copying of blocks; improvement [#METR-2944]. 2013-11-17 19:14:17 +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
c252785d2a dbms: additional performance improvement [#METR-2944]. 2013-11-03 23:54:12 +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
c039460ba7 dbms: allowed to activate SplittingAggregator by setting [#METR-2944]. 2013-11-03 22:25:17 +00:00
Alexey Milovidov
2bfefa24ba dbms: SplittingAggregator: development [#METR-2944]. 2013-11-03 21:50:58 +00:00
Alexey Milovidov
d98f41ba3d dbms: improved performance of queries with GROUP BY and LIMIT but without HAVING and ORDER BY [#METR-2944]. 2013-11-03 21:36:37 +00:00
Alexey Milovidov
1c4b47fea2 dbms: SplittingAggregator: fixed error [#METR-2944]. 2013-11-03 06:39:13 +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
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
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
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
07bbedc07d dbms: added support for simple VIEW engine. [#METR-9076] 2013-10-30 13:52:02 +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
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
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
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
Michael Kolupaev
796df96cbc clickhouse: Expression refactoring: development [#CONV-7444]. 2013-05-24 10:49:19 +00:00
Vyacheslav Alipov
8501644704 works with client now [#CONV-7549] 2013-05-22 14:57:43 +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
Vyacheslav Alipov
54efc39223 fixed 'Different expressions with the same alias' exception [#CONV-6778] 2013-05-08 11:14:54 +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
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
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
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
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
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
Vyacheslav Alipov
6191923acc added option: sign_rewrite [#CONV-6778] 2013-04-24 13:34:04 +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
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
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
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
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
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
990a634642 clickhouse: added SHOW TABLES NOT LIKE [#CONV-2944]. 2013-03-11 11:28:36 +00:00
Alexey Milovidov
aaffff4dd1 dbms: Set: fixed error with NOT IN (empty set) [#CONV-2944]. 2013-02-25 18:17:54 +00:00
Alexey Milovidov
ede8ad964c dbms: fixed error with IN [#CONV-2944]. 2013-02-22 19:07:41 +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
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
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
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
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
f5cac625c6 Merge 2013-02-11 11:22:15 +00:00
Alexey Milovidov
09a805898b dbms: improvement [#CONV-2944]. 2013-02-09 02:44:39 +00:00
Alexey Milovidov
f63c86b53a dbms: improvement [#CONV-2944]. 2013-02-09 02:20:26 +00:00
Alexey Milovidov
1c80514138 dbms: improvement [#CONV-2944]. 2013-02-09 01:02:52 +00:00
Alexey Milovidov
39429e780d dbms: continue improvement [#CONV-2944]. 2013-02-09 00:12:04 +00:00
Alexey Milovidov
aeb201b726 dbms: continue of improvement [#CONV-2944]. 2013-02-08 23:41:05 +00:00
Alexey Milovidov
e9a9124069 dbms: continuing improvement (incomplete) [#CONV-2944]. 2013-02-08 20:34:30 +00:00
Michael Kolupaev
9aec07070a Merge 2013-02-08 17:06:29 +00:00
Michael Kolupaev
6f2c6559c8 clickhouse: added Chunks storage [#CONV-6705]. 2013-02-07 13:03:19 +00:00
Michael Kolupaev
d24d0f7f78 clickhouse: fixed tests [#CONV-6561]. 2013-02-07 08:52:38 +00:00
Michael Kolupaev
8caa22efe7 clickhouse: presumably fixed crash on cyclic aliases and null pointer when an alias is used before being declared [#CONV-6703]. 2013-02-06 14:20:18 +00:00
Michael Kolupaev
6dfc03c44f clickhouse: fixed not dropping database after dropping table during long select query [#CONV-6561]. 2013-02-05 13:03:35 +00:00
Michael Kolupaev
379b668e23 clickhouse: removing data lazily [#CONV-6561]. 2013-02-05 09:52:13 +00:00