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
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
Michael Kolupaev
7ea3db5282
ClickHouse: arrayEnumerateUniq 5.5 times faster. [#METR-8821]
2013-10-24 12:53:24 +00:00
Alexey Milovidov
124e7c4557
dbms: fixed failover [#METR-9048].
2013-10-23 19:35:43 +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
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
Alexey Milovidov
0fd53112c5
dbms: Dictionaries: allowed to load partially [#CONV-9016].
2013-10-21 13:56:11 +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
Alexey Milovidov
9f1c0a69bf
dbms: addition to prev. revision [#CONV-8224].
2013-10-20 07:02:23 +00:00
Alexey Milovidov
67f4542bd0
dbms: more verbose messages on network errors [#CONV-8224].
2013-10-20 06:04:51 +00:00
Alexey Milovidov
9a4d300a10
dbms: aggregate function quantileTiming: added (deterministic) randomization [#CONV-2944].
2013-10-20 03:57:28 +00:00
Alexey Milovidov
6c1b8aadd0
dbms: removed TODO [#CONV-2944].
2013-10-18 19:47:20 +00:00
Michael Kolupaev
fd5e70e412
ClickHouse: removed unused part_id from IAST. [#CONV-2807]
2013-10-18 08:06:47 +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
5ca146730b
DB/IO: added support for aligned buffer [#CONV-8766].
2013-10-13 06:53:11 +00:00
Alexey Milovidov
84d65ee06b
dbms: whitespaces [#CONV-2944].
2013-10-13 00:38:53 +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
2b1cacd0f0
dbms: tiny improvement [#CONV-2944].
2013-10-10 23:06:51 +00:00
Alexey Milovidov
c70fca16aa
dbms: DB/IO: added readVectorBinary, writeVectorBinary [#CONV-8848].
2013-10-10 20:33:08 +00:00
Michael Kolupaev
1f9cd062e9
ClickHouse: better type of result of minus() and negate(). [#CONV-8890]
2013-10-08 12:48:55 +00:00
Michael Kolupaev
dc3d84ac93
ClickHouse: type upscaling for if(). [#CONV-8764]
2013-10-08 12:30:43 +00:00
Alexey Milovidov
f148f00ee2
███████████: removed ClickURLHash; saving all clicks as nested data [#CONV-8761].
2013-10-04 20:15:42 +00:00
Alexey Milovidov
8b3c4548f7
dbms: fixed 'extract' function [#CONV-8865].
2013-10-03 19:23:08 +00:00
Michael Kolupaev
62244d9abf
Merge
2013-10-03 13:06:27 +00:00
Michael Kolupaev
d195799419
Merge
2013-10-03 12:46:17 +00:00
Michael Kolupaev
6879f3ea96
Merge
2013-10-03 12:18:56 +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
Alexey Milovidov
c084250925
Merge
2013-09-30 19:54:25 +00:00
Alexey Milovidov
87763e0c95
dbms: AggregateFunctionQuantileTiming: small object optimization [#CONV-8850].
2013-09-30 04:51:57 +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
Alexey Milovidov
d77c0747ee
dbms: style [#CONV-2807].
2013-09-26 17:42:18 +00:00
Alexey Milovidov
d7080d8d7a
dbms: quantiles returning NaN for empty state [#CONV-8799].
2013-09-24 19:56:33 +00:00
Pavel Kartavyy
1bf0490191
Merge
2013-09-23 12:01:19 +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
dac9ecee21
dbms: fixed error with functions arrayExists, arrayAll [#CONV-8757].
2013-09-18 23:11:16 +00:00
Alexey Milovidov
aa434e6830
dbms: fixed error with higher-order functions [#CONV-8757].
2013-09-18 22:40:09 +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
dd16fd5328
dbms: splitting aggregator: added comment [#CONV-2944].
2013-09-16 05:55:13 +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
5022d05c74
dbms: removed useless method [#CONV-2944].
2013-09-16 05:18:19 +00:00
Alexey Milovidov
a1f0077c3d
dbms: added missing file [#CONV-2944].
2013-09-15 10:53:53 +00:00
Alexey Milovidov
40464a0123
dbms: added new aggregation method [#CONV-2944].
2013-09-15 10:53:10 +00:00
Alexey Milovidov
73c3fa0f8a
dbms: probably improved aggregation [#CONV-2944].
2013-09-15 07:17:26 +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
8fc69c2a8e
dbms: more fsync [#CONV-2944].
2013-09-15 01:40:29 +00:00
Alexey Milovidov
1acad2acb1
Merge
2013-09-15 01:10:16 +00:00
Alexey Milovidov
9a515d7082
dbms: AggregateFunctionIf: improvement [#CONV-8713].
2013-09-14 22:56:11 +00:00
Alexey Milovidov
4469790a4b
dbms: fixed working of AggregateFunctionIf with min, max, any, anyLast [#CONV-8713].
2013-09-14 22:18:56 +00:00
Alexey Milovidov
5fa9b57648
dbms: aggregate function quantileIf: returning default value on empty [#CONV-8713].
2013-09-14 22:11:06 +00:00
Alexey Milovidov
2b7c70570f
dbms: fixed error [#CONV-2944].
2013-09-14 21:59:52 +00:00
Alexey Milovidov
b32f43e3b9
dbms: lowered memory usage for queries with large aggregation results [#CONV-2944].
2013-09-14 08:11:56 +00:00
Alexey Milovidov
40f602ff92
dbms: improvement [#CONV-2944].
2013-09-14 07:43:45 +00:00
Alexey Milovidov
fd4f4a9a86
dbms: fixed error [#CONV-2944].
2013-09-14 05:14:22 +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
Pavel Kartavyy
4ff415e336
extractAll: Fixed bug [CONV-8285]
2013-09-10 16:52:40 +00:00
Alexey Milovidov
861ae81325
dbms: updated config and defaults [#CONV-8661].
2013-09-08 10:16:55 +00:00
Alexey Milovidov
21e8cd1fb9
dbms: set 'asynchronous' as false by default [#CONV-8661].
2013-09-08 08:29:02 +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
f36133e35d
dbms: min/max: development [#CONV-8691].
2013-09-06 20:28:22 +00:00
Alexey Milovidov
b872dadb52
dbms: fixed 'rows_before_limit_at_least' in case of distributed query with single server [#CONV-7549].
2013-09-06 19:33:07 +00:00
Alexey Milovidov
c7d8723a54
dbms: sending totals as separate packet [#CONV-8366].
2013-09-05 20:22:43 +00:00
Alexey Milovidov
638799eee3
dbms: ConnectionPoolWithFailover: fixed error [#CONV-8661].
2013-09-04 01:11:49 +00:00
Alexey Milovidov
7d011561e0
dbms: addition to prev. revision [#CONV-8665].
2013-09-03 23:58:05 +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
8c4ed5a651
dbms: fixed JSON [#CONV-7445].
2013-09-02 15:32:17 +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
81d9d1deaa
dbms: don't create useless threads for small queries [#CONV-2944].
2013-08-31 04:07:11 +00:00
Alexey Milovidov
05851727d5
dbms: improved performance of string search [#CONV-8419].
2013-08-29 03:30:47 +00:00
Alexey Milovidov
051249122a
dbms: Quota: development [#CONV-8459].
2013-08-28 21:36:16 +00:00
Alexey Milovidov
c10d3a4bb9
dbms: Quota: development [#CONV-8459].
2013-08-28 20:47:22 +00:00
Alexey Milovidov
7a7209a078
Quota: addition to prev. revision [#CONV-8459].
2013-08-28 17:50:31 +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
3f72d27c61
dbms: better diagnostics [#CONV-8595].
2013-08-27 20:15:22 +00:00
Alexey Milovidov
55bc868f19
dbms: tiny modification [#CONV-2944].
2013-08-24 08:26:25 +00:00
Alexey Milovidov
482bc803fd
Merge
2013-08-24 08:01:19 +00:00
Vyacheslav Alipov
75a359bc7c
improved code locality [#CONV-8544]
2013-08-22 11:06:58 +00:00
Vyacheslav Alipov
b25c3408ec
changed GlobalStats to use HLL12 [#CONV-8544]
2013-08-22 10:58:52 +00:00
Vyacheslav Alipov
e68f0a2f69
added uniq_hll12 to ███████████, increased accuracy of HLL12 [#CONV-8544]
2013-08-22 09:43:19 +00:00
Vyacheslav Alipov
602bea808d
added uniq functions with HLL support [#CONV-8544]
2013-08-21 13:26:42 +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
Pavel Kartavyy
436220be30
Added comment about ASTAlterQuery parametrs[#CONV-8383]
2013-08-13 08:27:37 +00:00
Alexey Milovidov
710eec86e5
dbms: destroying global mutex after tables [#CONV-8173].
2013-08-12 19:31:58 +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
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
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
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
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
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
ef8cd52e73
added alias support for ARRAY JOIN section [#CONV-7967]
2013-07-30 17:25:46 +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
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
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
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
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
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
Vyacheslav Alipov
25ebf196f8
compound identifier parser to support '.' [#CONV-7967]
2013-07-16 15:26:35 +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
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
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
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
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
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
Alexey Milovidov
a5fc5c235e
Merge
2013-06-25 12:19:10 +00:00
Alexey Milovidov
235c9ce7dd
dbms: improved performance of aggregation a little [#CONV-2944].
2013-06-25 08:06:40 +00:00
Vyacheslav Alipov
60aa196a56
skipping header-block in RemoteBlockInputStream [#CONV-7906]
2013-06-24 13:38:50 +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
acad879df8
dbms: fixed Limits for DISTINCT [#CONV-7934].
2013-06-21 19:37:47 +00:00
Alexey Milovidov
fb616fd5ca
dbms: tiny improvement for Set [#CONV-2944].
2013-06-21 19:25:53 +00:00
Michael Kolupaev
23e96d9303
clickhouse: arrayFilter now can accept multiple array and filter the first of them [#CONV-7444].
2013-06-21 12:33:27 +00:00
Michael Kolupaev
041dc5249d
clickhouse: added function arraySum [#CONV-7444].
2013-06-21 12:11:35 +00:00
Michael Kolupaev
f59d6e3320
Merge
2013-06-21 10:31:31 +00:00
Alexey Milovidov
24e82cef5f
dbms: fixed error with timeout for replicas [#CONV-2944].
2013-06-21 00:08:05 +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
c8cc523ffe
getBufferSizeInBytes() return type fix [#CONV-7934]
2013-06-20 12:47:10 +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
e8d77fe8ec
Merge
2013-06-18 09:43:35 +00:00
Vyacheslav Alipov
e3a2816989
PrettyCompactMonoBlock format [#CONV-6723]
2013-06-17 12:40:44 +00:00
Vyacheslav Alipov
82742b4ac4
ExtractToString fix [#CONV-7793]
2013-06-17 09:52:56 +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
0181308a24
dbms: better [#CONV-7734].
2013-06-15 06:40:14 +00:00
Alexey Milovidov
3b1cb6ef77
dbms: fixed error; improvement [#CONV-2944].
2013-06-15 06:14:41 +00:00
Alexey Milovidov
c6b7353467
dbms: improved loading speed [#CONV-2944].
2013-06-15 05:19:01 +00:00
Alexey Milovidov
2d8cac6579
dbms: improved loading speed [#CONV-2944].
2013-06-15 04:44:19 +00:00
Alexey Milovidov
b7f98d9f6a
dbms: lowered memory consumption [#CONV-7885].
2013-06-15 03:33:45 +00:00
Alexey Milovidov
fa6dc462bf
dbms: fixed writing infinite floating point numbers in JSON formats [#CONV-7445].
2013-06-15 00:23:51 +00:00
Michael Kolupaev
eb279922c6
clickhouse: fixed [#CONV-7444].
2013-06-14 18:55:34 +00:00
Michael Kolupaev
de26ea3ec8
clickhouse: fixed lambda expressions [#CONV-7444].
2013-06-14 18:20:20 +00:00
Alexey Milovidov
45986edc39
dbms: modified comments [#CONV-7862].
2013-06-14 16:27:15 +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
Vyacheslav Alipov
9ff7ca3d8c
ExtractString fix [#CONV-7793]
2013-06-11 16:23:58 +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
Vyacheslav Alipov
b75d025580
changed parsing of numerics [#CONV-7793]
2013-06-11 12:31:08 +00:00
Vyacheslav Alipov
32dbd3d02a
fixed parsing of quoted numbers [#CONV-7793]
2013-06-10 16:04:05 +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
078f598ea0
clickhouse: sleep function not sleeping on empty blocks [#CONV-2807].
2013-06-10 13:42:05 +00:00
Alexey Milovidov
9d1142b028
dbms: fixed error [#CONV-7444].
2013-06-08 20:19:29 +00:00
Alexey Milovidov
1469ea51b3
dbms: modified comment [#CONV-2944].
2013-06-08 20:17:51 +00:00
Alexey Milovidov
ed38f1fd0a
dbms: fixed compilation in gcc 4.3 [#CONV-2944].
2013-06-07 22:12:58 +00:00
Alexey Milovidov
c8b340e85b
dbms: fixed warning [#CONV-2944].
2013-06-07 17:32:12 +00:00
Vyacheslav Alipov
bfdb77b586
regionToName function arguments check fix [#CONV-7735]
2013-06-05 13:54:05 +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
e3ee5fdc1f
clickhouse: removed Expression, fixed tests [#CONV-7444].
2013-06-05 12:46:41 +00:00
Michael Kolupaev
2ae3de092d
clickhouse: fixed higher order functions [#CONV-7444].
2013-06-05 12:03:50 +00:00
Michael Kolupaev
9b38534853
clickhouse: fixed higher order functions [#CONV-7444].
2013-06-05 11:44:10 +00:00
Michael Kolupaev
c06c895444
clickhouse: fixed build [#CONV-7444].
2013-06-05 10:34:59 +00:00
Michael Kolupaev
8f63eaf24b
clickhouse: fixed build [#CONV-7444].
2013-06-05 10:04:09 +00:00
Michael Kolupaev
5980653806
clickhouse: fixed build [#CONV-7444].
2013-06-05 09:58:25 +00:00
Michael Kolupaev
59814c06ed
clickhouse: fixed replicate [#CONV-7444].
2013-06-05 09:56:47 +00:00
Michael Kolupaev
8cebe94103
clickhouse: fixed higher order functions [#CONV-7444].
2013-06-05 09:50:53 +00:00
Michael Kolupaev
9dd3f851c6
clickhouse: fixed functions [#CONV-7444].
2013-06-05 09:47:21 +00:00
Michael Kolupaev
fb7078fd81
clickhouse: added function replicate [#CONV-7444].
2013-06-04 14:59:05 +00:00
Michael Kolupaev
46d8382252
clickhouse: fixed tupleElement [#CONV-7444].
2013-06-04 13:47:18 +00:00
Michael Kolupaev
452a233030
clickhouse: added function prerequisite support [#CONV-7444].
2013-06-04 13:34:46 +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
952f177eff
clickhouse: probably fixed lambda expressions [#CONV-7444].
2013-06-03 12:35:56 +00:00
Michael Kolupaev
eaa0af7575
clickhouse: fixed lambda expressions [#CONV-7444].
2013-06-03 12:26:06 +00:00
Michael Kolupaev
206f8083ae
clickhouse: fixed sign rewrite [#CONV-7444].
2013-06-03 12:02:59 +00:00
Michael Kolupaev
3e7185de22
clickhouse: slightly improved exception message [#CONV-7444].
2013-06-03 10:53:42 +00:00
Michael Kolupaev
7b67d22982
clickhouse: fixed [#CONV-7444].
2013-06-03 10:43:25 +00:00
Michael Kolupaev
dd72f5b8b8
clickhouse: switched to ExpressionAnalyzer [#CONV-7444].
2013-06-03 10:18:41 +00:00
Alexey Milovidov
941bd5541c
dbms: fixed error [#CONV-7750].
2013-06-01 18:57:04 +00:00
Alexey Milovidov
67f905dbc4
dbms: added DISTINCT [#CONV-7756].
2013-06-01 07:43:57 +00:00
Alexey Milovidov
3673752d1b
dbms: fixed error with formatting DateTime near begin of unix epoch; fixed error with toTime function when changing daylight saving time; fixed toTime function for non-Moscow time zones [#CONV-7755].
2013-06-01 04:58:52 +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
85d06561c6
dbms: fixed error with collations [#CONV-7651].
2013-05-29 18:58:01 +00:00
Alexey Milovidov
4d36ed58e0
dbms: fixed arrayJoin [#CONV-7733].
2013-05-29 18:37:28 +00:00
Vyacheslav Alipov
c60fd424a4
added COLLATE to formatAST [#CONV-7651]
2013-05-29 12:38:20 +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
8cc5acc6af
clickhouse: ExpressionAnalyzer: development [#CONV-7444].
2013-05-28 15:04:35 +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
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
Alexey Milovidov
a87eee123f
dbms: fixed warning [#CONV-2807].
2013-05-22 18:56:19 +00:00
Vyacheslav Alipov
96fd8665db
fixed revision define [#CONV-7549]
2013-05-22 14:58:30 +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
Alexey Milovidov
ed45b776a1
███████████: fixed error [#CONV-7591].
2013-05-20 20:06:44 +00:00
Michael Kolupaev
503ca18634
clickhouse: removed heuristic for FINAL [#CONV-7363].
2013-05-20 15:48:38 +00:00
Michael Kolupaev
26ed29cfeb
clickhouse: higher order functions: development [#CONV-7444].
2013-05-20 15:42:57 +00:00
Vyacheslav Alipov
70a13e3812
works with HTTP requests [#CONV-7549]
2013-05-20 12:21:51 +00:00
Vyacheslav Alipov
a67e8a8d35
fixed writeJSONString [#CONV-7445]
2013-05-20 09:33:45 +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
b89bbf8463
clickhouse: addition to previous commit [#CONV-6705].
2013-05-15 13:47:09 +00:00
Michael Kolupaev
471f6b3a66
Merge
2013-05-15 12:32:40 +00:00
Vyacheslav Alipov
2ba18d9efa
changed WriteBuffer to WriteBufferValidUTF8 [#CONV-7445]
2013-05-15 12:02:05 +00:00
Vyacheslav Alipov
a2b61e0d5f
JSONCompactRowOutputStream [#CONV-7445]
2013-05-15 11:48:00 +00:00
Vyacheslav Alipov
8685024166
JSONRowOutputStream [#CONV-7445]
2013-05-15 11:18:58 +00:00
Alexey Milovidov
b6a3c6a5b7
Added support for FINAL for StorageDistributed [#CONV-7040].
2013-05-13 20:03:54 +00:00
Alexey Milovidov
4a93f82fb6
dbms: fixed error with writing of ints as text [#CONV-7499].
2013-05-08 17:13:26 +00:00
Michael Kolupaev
9181fdb827
clickhouse: fixed ColumnArray::filter [#CONV-2807].
2013-05-08 11:47:42 +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
2b6198a0b7
clickhouse: added forgotten file [#CONV-7444].
2013-05-08 09:54:07 +00:00
Michael Kolupaev
48c5dedb42
clickhouse: added parsing of lambda-expressions [#CONV-7444].
2013-05-08 09:52:02 +00:00
Vyacheslav Alipov
c2d5749128
preserving original column names for distributed queries [#CONV-6778]
2013-05-07 10:30:52 +00:00
Alexey Milovidov
764085c3ea
dbms: fixed error with constant arrays [#CONV-2944].
2013-05-06 18:05:17 +00:00