Commit Graph

1481 Commits

Author SHA1 Message Date
Alexey Milovidov
c4427e29fa dbms: addition to prev. revision [#CONV-8458]. 2013-08-11 00:09:03 +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
Alexey Milovidov
94f02c8efb Improved comment [#CONV-2807]. 2013-08-08 23:49:59 +00:00
Vyacheslav Alipov
b0e6c69c96 fixed merge of nested arrays (multiple write of offsets issue) [#CONV-7967] 2013-08-08 13:12:28 +00:00
Pavel Kartavyy
4c07a0bccb Merge 2013-08-08 09:50:15 +00:00
Vyacheslav Alipov
7b01659e44 fixed merge of nested arrays (escaped filename issue) [#CONV-7967] 2013-08-07 19:45:47 +00:00
Pavel Kartavyy
a5c799d7a3 Merge 2013-08-07 13:07:42 +00:00
Pavel Kartavyy
82af5f8e41 Changed order of arguments in extractAll(s, re).[#CONV-8285] 2013-08-07 11:25:02 +00:00
Vyacheslav Alipov
2d88cfa642 Merge 2013-08-05 17:05:30 +00:00
Pavel Kartavyy
8d857bd434 Fixed coding style. Changed extractAll behaviour [#CONV-8285]
Now extractAll works without overcrossing.
New version:
#extractAll('abba', 'abbabba)
>['abba']

Old one:
#extractAll('abba', 'abbabba)
>['abba', 'abba']
2013-08-05 08:40:56 +00:00
Alexey Milovidov
8c6edb5a7b dbms: addition to prev. revision [#CONV-2944]. 2013-08-04 01:10:14 +00:00
Alexey Milovidov
37d10ba1e8 dbms: added comment [#CONV-2944]. 2013-08-04 00:58:07 +00:00
Alexey Milovidov
b74f610397 dbms: fixed error when receiving incorrect packet type [#CONV-2944]. 2013-08-04 00:42:35 +00:00
Pavel Kartavyy
99e0a5a56b ClickHouse: Change behaviour of extractAll [#CONV-8285] 2013-08-02 16:31:23 +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
0e96233d2b fixed replicateString [#CONV-8342] 2013-07-31 12:44:25 +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
5b676504e1 dbms: addition to prev. revision [#CONV-8330]. 2013-07-28 22:42:22 +00:00
Alexey Milovidov
ae7c084733 dbms: fixed error in HashSet [#CONV-8330]. 2013-07-28 20:54:10 +00:00
Alexey Milovidov
43d9edeca1 dbms: added aggregate function groupUniqArray [#CONV-8330]. 2013-07-28 20:53:31 +00:00
Alexey Milovidov
0259b9ddb2 dbms: fixed aggregate function groupArray when distributed query processing [#CONV-2944]. 2013-07-28 19:47:27 +00:00
Alexey Milovidov
e0bdd99128 dbms: removed useless method [#CONV-2944]. 2013-07-28 03:28: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
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
8446a7aac4 dbms: implemented method 'replicate' for ColumnArray<ColumnString> [#CONV-8342]. 2013-07-28 00:35:29 +00:00
Alexey Milovidov
afee753622 dbms: implemented method 'replicate' for ColumnArray of numbers [#CONV-8342]. 2013-07-27 21:50:13 +00:00
Alexey Milovidov
e86fad7304 dbms: fixed comment [#CONV-8223]. 2013-07-27 20:02:35 +00:00
Alexey Milovidov
6356f41105 dbms: added aggregate functions quantileTiming, quantilesTiming [#CONV-8223]. 2013-07-27 19:57:45 +00:00
Alexey Milovidov
5d2ab21ee6 dbms: tiny improvement [#CONV-2944]. 2013-07-27 18:43:10 +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
a555c2f0e8 dbms: fixed function substring of FixedString arguments [#CONV-8271]. 2013-07-18 23:43:13 +00:00
Alexey Milovidov
ba11c61b01 dbms: Fixed error with concat(FixedString, String) [#CONV-8271]. 2013-07-18 23:34:07 +00:00
Alexey Milovidov
c63d6a8b66 dbms: fixed error with string functions operating on FixedString columns [#CONV-8271]. 2013-07-18 20:24:04 +00:00
Evgeniy Gatov
dfff0e427a dbms: 'hex' function now works with FixedString [#CONV-8237]. 2013-07-18 11:30:58 +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
9f74563493 dbms: removed useless code [#CONV-2944]. 2013-06-30 17:04:15 +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
1d7fd1644d dbms: fixed error in prev. revision [#CONV-2944]. 2013-06-30 11:40:30 +00:00
Alexey Milovidov
43825cdf95 dbms: improved performance of finalizing aggregate functions [#CONV-2944]. 2013-06-30 11:38:46 +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
69bd0e2557 dbms: style fix [#CONV-2944]. 2013-06-29 18:04:38 +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