Commit Graph

1172 Commits

Author SHA1 Message Date
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