Commit Graph

686 Commits

Author SHA1 Message Date
Michael Kolupaev
86ae269076 clickhouse: fixed [#CONV-6318]. 2012-12-26 17:14:00 +00:00
Michael Kolupaev
6df21e5ed1 clickhouse: added missing rules to OLAP query converter [#CONV-6318]. 2012-12-26 17:13:23 +00:00
Michael Kolupaev
0215bc579a clickhouse: fixed [#CONV-6318]. 2012-12-26 17:02:43 +00:00
Michael Kolupaev
1c9b0b63d5 clickhouse: added missing file [#CONV-6318]. 2012-12-26 16:27:46 +00:00
Michael Kolupaev
90b3c76c17 clickhouse: fixed and added bitmaskToList [#CONV-6318]. 2012-12-26 16:26:24 +00:00
Michael Kolupaev
c875f55dcb clickhouse: added countEqual function [#CONV-6318]. 2012-12-26 15:40:37 +00:00
Michael Kolupaev
ecfd5a1320 clickhouse: added trimming to reinterpretAsString [#CONV-6318]. 2012-12-26 15:12:42 +00:00
Michael Kolupaev
f964259a38 clickhouse: fixed typo in comment [#CONV-2944]. 2012-12-26 14:51:41 +00:00
Michael Kolupaev
3ff2a537f4 clickhouse: fixed warning [#CONV-6318]. 2012-12-26 14:48:40 +00:00
Michael Kolupaev
467de27a59 clickhouse: fixed reinterpret [#CONV-6318]. 2012-12-26 14:47:22 +00:00
Michael Kolupaev
a77056b080 clickhouse: fixed warning [#CONV-6318]. 2012-12-26 14:41:57 +00:00
Michael Kolupaev
b1406f4631 clickhouse: fix for prev. rev. [#CONV-6318]. 2012-12-26 14:40:38 +00:00
Michael Kolupaev
cd9a27b433 clickhouse: added reinterpret functions [#CONV-6318]. 2012-12-26 14:31:03 +00:00
Alexey Milovidov
bd2c76b7ec dbms: addition to prev. revision [#CONV-2944]. 2012-12-25 20:36:50 +00:00
Alexey Milovidov
691782329a dbms: development of limits [#CONV-2944]. 2012-12-25 20:36:35 +00:00
Alexey Milovidov
c3cf6626e3 dbms: development of limits [#CONV-2944]. 2012-12-25 19:28:59 +00:00
Alexey Milovidov
269b928f4f dbms: development of limits [#CONV-2944]. 2012-12-25 17:25:44 +00:00
Alexey Milovidov
7afc7c447f dbms: Limits: development [#CONV-2944]. 2012-12-24 19:50:22 +00:00
Alexey Milovidov
6e57b0d52c dbms: fixed typo [#CONV-2944]. 2012-12-24 17:23:30 +00:00
Michael Kolupaev
ea874ad1c5 clickhouse: added missing file [#CONV-6318]. 2012-12-24 08:16:25 +00:00
Alexey Milovidov
44014d8530 dbms: added functions based on dictionaries [#CONV-2944]. 2012-12-21 19:48:47 +00:00
Alexey Milovidov
95060b1a47 dbms: added more bitwise functions [#CONV-2944]. 2012-12-20 20:01:18 +00:00
Michael Kolupaev
1383bfd005 clickhouse: added bitwise and and or functions [#CONV-6318]. 2012-12-20 13:41:55 +00:00
Michael Kolupaev
57fccc9387 clickhouse: removed a very unlikely race condition on loading Dictionaries [#CONV-6318]. 2012-12-20 12:58:47 +00:00
Michael Kolupaev
f415b5f8e1 clickhouse: OLAP-server compatibility: development [#CONV-6318]. 2012-12-20 11:18:54 +00:00
Alexey Milovidov
59e197bc88 dbms: added Dictionaries [#CONV-2944]. 2012-12-19 20:15:15 +00:00
Alexey Milovidov
272738ee82 dbms: checking for division by zero [#CONV-2944]. 2012-12-18 20:07:26 +00:00
Alexey Milovidov
3f92ee5229 dbms: prepared to use functions with dictionaries [#CONV-2944]. 2012-12-18 20:06:36 +00:00
Alexey Milovidov
c684b7c337 dbms: probably improved performance of merging [#CONV-2944]. 2012-12-16 00:52:06 +00:00
Alexey Milovidov
b312f42808 dbms: reverted previous modification [#CONV-2944]. 2012-12-16 00:23:41 +00:00
Alexey Milovidov
62a8ecc749 dbms: probably improved performance of inserting, merging and sorting [#CONV-2944]. 2012-12-15 23:10:14 +00:00
Alexey Milovidov
46de8ec014 dbms: added function 'indexOf' [#CONV-2944]. 2012-12-15 20:01:46 +00:00
Alexey Milovidov
954ab221d6 Merge 2012-12-15 04:39:13 +00:00
Alexey Milovidov
22de09547e dbms: added EXISTS TABLE query [#CONV-2944]. 2012-12-15 03:09:04 +00:00
Alexey Milovidov
494b212f3a dbms: removed VarUInt and VarInt data types [#CONV-2944]. 2012-12-14 20:24:26 +00:00
Alexey Milovidov
8c787fde81 dbms: fixed UB with number formatting [#CONV-2944]. 2012-12-14 20:07:33 +00:00
Alexey Milovidov
a8cf550864 dbms: addition to prev. revision [#CONV-2944]. 2012-12-14 18:47:50 +00:00
Alexey Milovidov
a74b574004 dbms: fixed infinite loop while trying to print minimal negative number with Pretty format [#CONV-2944]. 2012-12-14 18:07:15 +00:00
Michael Kolupaev
dec7aaf63e clickhouse: OLAP-server compatibility: development [#CONV-6318]. 2012-12-14 13:32:07 +00:00
Alexey Milovidov
17612f45ec Merge 2012-12-12 23:31:40 +00:00
Michael Kolupaev
81883201ec clickhouse: fixed [#6201]. 2012-12-12 15:45:08 +00:00
Michael Kolupaev
2350e09c51 clickhouse: fixed compiler warnings [#6201]. 2012-12-12 14:38:39 +00:00
Michael Kolupaev
42073f42ec clickhouse: added support for SAMPLE clause of SELECT query (works only in merge tree storage) [#6201]. 2012-12-12 14:25:55 +00:00
Alexey Milovidov
143df8a373 dbms: tiny modifications [#CONV-2944]. 2012-12-11 20:32:08 +00:00
Alexey Milovidov
de13137958 dbms: changed signature of IDataType::serializeBinary [#CONV-2944]. 2012-12-11 20:31:39 +00:00
Michael Kolupaev
7f27cbbcb7 Merge 2012-12-10 10:23:10 +00:00
Michael Kolupaev
f75533a024 Merge 2012-12-07 10:05:36 +00:00
Alexey Milovidov
8a053aba54 dbms: fixed error [#CONV-2944]. 2012-12-06 17:32:48 +00:00
Michael Kolupaev
2b9f4ca2bf Merge 2012-12-06 13:07:29 +00:00
Michael Kolupaev
8f512c546a Merge 2012-12-06 11:10:05 +00:00
Michael Kolupaev
5555027deb Merge 2012-12-06 09:45:09 +00:00
Michael Kolupaev
905d9615c7 Merge 2012-12-05 12:55:30 +00:00
Michael Kolupaev
dba35f0364 Merge 2012-12-05 12:44:55 +00:00
Alexey Milovidov
f5586b456d Merge 2012-11-30 05:24:24 +00:00
Alexey Milovidov
7f4348ecdc dbms: added locks to storages Memory and Log [#CONV-2944]. 2012-11-30 04:28:13 +00:00
Alexey Milovidov
a0972784b1 Merge 2012-11-30 00:52:45 +00:00
Michael Kolupaev
03e00c0db0 Merge 2012-11-29 16:52:01 +00:00
Michael Kolupaev
8073045c7e Merge 2012-11-29 11:29:11 +00:00
Michael Kolupaev
982686f51c Merge 2012-11-29 10:50:17 +00:00
Michael Kolupaev
f55d19f71a Merge 2012-11-29 08:41:20 +00:00
Michael Kolupaev
912cf7c4eb Merge 2012-11-28 17:17:17 +00:00
Michael Kolupaev
e200c1c478 Merge 2012-11-28 08:52:15 +00:00
Alexey Milovidov
bd93266991 dbms: better diagnostics [#CONV-2944]. 2012-11-25 21:16:37 +00:00
Michael Kolupaev
fba19e8eb6 clickhouse: fixed possible deadlock [#CONV-6108]. 2012-11-22 17:57:10 +00:00
Alexey Milovidov
2ae2cf32bb dbms: fixed error [#CONV-2944]. 2012-11-20 22:48:38 +00:00
Evgeniy Gatov
1e76e83a6b dbms, ███████████, ███████████, ███████████: fixes [#CONV-5553]. 2012-11-19 18:28:22 +00:00
Michael Kolupaev
ceb07cafd8 clickhouse: refactored ColumnVector [#CONV-6092]. 2012-11-19 18:27:09 +00:00
Michael Kolupaev
451b75d7b4 clickhouse: added some implicit type casts, fixing bad IN behavior [#CONV-6092]. 2012-11-19 17:23:29 +00:00
Alexey Milovidov
64cf640e8a dbms: fixed tiny issues [#CONV-2944]. 2012-11-19 04:16:00 +00:00
Alexey Milovidov
7f2fe9f936 dbms: tiny fixes [#CONV-2944]. 2012-11-19 03:38:13 +00:00
Evgeniy Gatov
2f5c9b3532 dbms: removed warning, possible memory leak fixed [#CONV-2944]. 2012-11-16 22:09:47 +00:00
Evgeniy Gatov
06b722a6a4 dbms: c++ style [#CONV-2944]. 2012-11-16 22:08:15 +00:00
Alexey Milovidov
ccb0f03c66 dbms: fixed error [#CONV-2944]. 2012-11-16 19:38:11 +00:00
Michael Kolupaev
940f9881b8 dbms: fixed WriteBufferValidUTF8 skipping too many characters, added test for it [#CONV-5902]. 2012-11-16 09:42:48 +00:00
Michael Kolupaev
fe73df8f8a ███████████: removed throwFromErrno [#CONV-5680] 2012-11-15 11:59:39 +00:00
Michael Kolupaev
c2fa388b33 ███████████: sending only valid UTF-8 now [#CONV-5902]. 2012-11-14 13:17:01 +00:00
Michael Kolupaev
fd87c6f9be dbms: probably improved WriteBufferValidUTF8 [#CONV-5902]. 2012-11-14 12:30:24 +00:00
Michael Kolupaev
ddf856fbcb dbms: probably improved WriteBufferValidUTF8 [#CONV-5902]. 2012-11-14 12:20:58 +00:00
Michael Kolupaev
2d1bed38c9 dbms: fixed compiler warnings [#CONV-5902]. 2012-11-14 10:22:51 +00:00
Michael Kolupaev
441b177af6 dbms: added WriteBufferValidUTF8 [#CONV-5902]. 2012-11-14 09:49:51 +00:00
Michael Kolupaev
7f461eeffa dbms: fixed typo in comment :) [#CONV-5879]. 2012-11-14 09:38:30 +00:00
Alexey Milovidov
ee2959af7f dbms: improvement [#CONV-2944]. 2012-11-10 05:20:56 +00:00
Alexey Milovidov
c4ffc95cdd dbms: improvement [#CONV-2944]. 2012-11-10 05:13:46 +00:00
Alexey Milovidov
856108efe9 dbms: added 'RowBinary' format [#CONV-2944]. 2012-11-10 04:43:53 +00:00
Alexey Milovidov
686878a5fb dbms: tiny fixes [#CONV-2944]. 2012-11-10 04:43:04 +00:00
Alexey Milovidov
b664e10a37 dbms: fixed race condition [#CONV-2944]. 2012-11-10 04:42:26 +00:00
Alexey Milovidov
75239c6937 dbms: client: improvement [#CONV-2944]. 2012-11-10 02:21:39 +00:00
Alexey Milovidov
12afcb64ed Better diagnostics [#CONV-2807]. 2012-11-08 18:30:49 +00:00
Evgeniy Gatov
9dbe01f4d3 dbms: used keep-alive [#CONV-5891]. 2012-11-08 09:46:01 +00:00
Evgeniy Gatov
b9f1b04a11 dbms: fix [#CONV-2944]. 2012-11-07 10:32:48 +00:00
Alexey Milovidov
f5419d3d5a dbms: development of connection pool with failover [#CONV-2944]. 2012-11-06 18:20:00 +00:00
Alexey Milovidov
d7d23ac81b dbms: StorageDistributed: added failover [#CONV-2944]. 2012-11-06 17:04:38 +00:00
Alexey Milovidov
14af942eae ███████████: fixed error [#CONV-5452]. 2012-11-06 13:58:29 +00:00
Alexey Milovidov
70d20d62f4 dbms: added ConnectionPoolWithFailover [#CONV-2944]. 2012-11-02 20:13:41 +00:00
Alexey Milovidov
bc5c289bb1 dbms: added functions 'arrayElement' and 'has' [#CONV-2944]. 2012-11-02 19:10:43 +00:00
Alexey Milovidov
524f84aa5e Fixed errors with hash function [#CONV-2807]. 2012-11-01 19:05:34 +00:00
Alexey Milovidov
02b95a2297 dbms: improved distributed query processing [#CONV-2944]. 2012-10-30 20:15:07 +00:00
Alexey Milovidov
5610f1c13c dbms: fixed error with distributed query processing [#CONV-2944]. 2012-10-30 19:17:41 +00:00
Alexey Milovidov
274f2d0828 dbms: returning proper HTTP code in case of errors [#CONV-2944]. 2012-10-29 07:19:47 +00:00
Alexey Milovidov
e30260d9fa dbms: added parametric aggregate functions; added aggregate function 'quantile' [#CONV-2944]. 2012-10-29 02:58:52 +00:00
Alexey Milovidov
2a95c2b504 dbms: fixed error with async. stream [#CONV-2944]. 2012-10-29 02:55:14 +00:00
Alexey Milovidov
db11d5dbb9 dbms: fixed error [#CONV-2944]. 2012-10-29 02:54:47 +00:00
Alexey Milovidov
fa0dc68533 dbms: clearing temporary columns while executing query - improved performance (not tested) [#CONV-2944]. 2012-10-25 20:20:46 +00:00
Alexey Milovidov
9362731666 dbms: fixed error [#CONV-2944]. 2012-10-24 19:09:42 +00:00
Michael Kolupaev
61e04ed781 clickhouse: fixed median aggregate function type check [#CONV-5879]. 2012-10-24 18:53:48 +00:00
Alexey Milovidov
544dd9a596 dbms: probably fixed error with aggregate function serialization (incomplete) [#CONV-2944]. 2012-10-24 18:14:36 +00:00
Michael Kolupaev
110fc172b2 libstats: slightly refactored ReservoirSampler, removed unused code from AggregateFunctionMedian [#CONV-5879]. 2012-10-24 07:55:27 +00:00
Alexey Milovidov
b2e260fa36 dbms: development [#CONV-2944]. 2012-10-23 18:51:29 +00:00
Michael Kolupaev
6d64009db2 clickhouse: added median aggregate function 2012-10-23 10:58:53 +00:00
Alexey Milovidov
a5e88d1fb5 dbms: fixed error with distributed connections [#CONV-2944]. 2012-10-22 19:55:19 +00:00
Alexey Milovidov
be58c0883d dbms: development [#CONV-2944]. 2012-10-22 19:03:01 +00:00
Alexey Milovidov
b907de191b dbms: development [#CONV-2944]. 2012-10-20 23:02:13 +00:00
Alexey Milovidov
8bda876d42 dbms: development [#CONV-2944]. 2012-10-20 07:23:13 +00:00
Alexey Milovidov
3f62b5bb2e dbms: development [#CONV-2944]. 2012-10-20 06:40:55 +00:00
Alexey Milovidov
e35138b09d dbms: development [#CONV-2944]. 2012-10-20 05:54:35 +00:00
Alexey Milovidov
12a5e955c1 dbms: development [#CONV-2944]. 2012-10-20 05:36:32 +00:00
Alexey Milovidov
8e76b228e1 dbms: development [#CONV-2944]. 2012-10-20 02:35:44 +00:00
Alexey Milovidov
1a7af177cd dbms: development [#CONV-2944]. 2012-10-20 02:10:47 +00:00
Alexey Milovidov
6b787234ad dbms: development [#CONV-2944]. 2012-10-19 00:10:17 +00:00
Alexey Milovidov
957f89f4e3 dbms: development [#CONV-2944]. 2012-10-18 23:52:31 +00:00
Alexey Milovidov
a1fd23efb1 dbms: better [#CONV-2944]. 2012-10-18 23:38:16 +00:00
Alexey Milovidov
8c5d02e064 dbms: fixed error [#CONV-2944]. 2012-10-18 22:47:12 +00:00
Alexey Milovidov
c61f9d72c5 dbms: maybe better [#CONV-2944]. 2012-10-18 19:24:46 +00:00
Alexey Milovidov
8f7b76622e dbms: better [#CONV-2944]. 2012-10-18 19:00:49 +00:00
Alexey Milovidov
4a229b5984 dbms: fixed error [#CONV-2944]. 2012-10-18 18:41:23 +00:00
Alexey Milovidov
5dce2f8b49 dbms: allowed to directly cancel stream; cancelling in UnionBlockInputStream [#CONV-2944]. 2012-10-17 19:55:56 +00:00
Alexey Milovidov
9a31d2f163 dbms: improved logging [#CONV-2944]. 2012-10-16 19:20:58 +00:00
Alexey Milovidov
d61f6c1069 dbms: addition to prev. revision [#CONV-2944]. 2012-10-16 18:41:35 +00:00
Alexey Milovidov
fd1b7c3b8b dbms: tiny addition [#CONV-2944]. 2012-10-16 18:38:29 +00:00
Alexey Milovidov
9279104479 dbms: probably fixed error [#CONV-2944]. 2012-10-16 18:37:34 +00:00
Alexey Milovidov
02118c34d5 dbms: addition to prev. revision [#CONV-2944]. 2012-10-16 18:14:51 +00:00
Alexey Milovidov
d2ed0ae566 dbms: addition to prev. revision [#CONV-2944]. 2012-10-16 18:12:29 +00:00
Alexey Milovidov
bb3fedcd55 dbms: addition to prev. revision [#CONV-2944]. 2012-10-16 17:34:05 +00:00
Alexey Milovidov
7f4d9e188c dbms: cancelling of remote/distributed queries [#CONV-2944]. 2012-10-16 17:32:59 +00:00
Alexey Milovidov
2d0b3c97d5 dbms: tiny modification [#CONV-2944]. 2012-10-13 02:12:50 +00:00
Alexey Milovidov
c1f67a439d dbms: fixed error with filter (WHERE, HAVING) [#CONV-2944]. 2012-10-12 20:34:33 +00:00
Alexey Milovidov
8b505320fe dbms: probably fixed error in distributed query processing [#CONV-2944]. 2012-10-12 18:57:10 +00:00
Alexey Milovidov
4c3c059eac dbms: better [#CONV-2944]. 2012-10-12 18:32:35 +00:00
Alexey Milovidov
3b1da776fb dbms: fixed error [#CONV-2944]. 2012-10-12 18:25:20 +00:00
Alexey Milovidov
05a1f9800c dbms: improved diagnostics [#CONV-2944]. 2012-10-12 18:19:44 +00:00
Alexey Milovidov
9ced96ac9b dbms: fixed error [#CONV-2944]. 2012-10-12 17:54:26 +00:00
Alexey Milovidov
1da843261e dbms: UnionBlockInputStream: earlier collection of errors [#CONV-2944]. 2012-10-12 16:53:45 +00:00
Alexey Milovidov
80084f0359 dbms: fixed error with TabSeparatedRaw format [#CONV-2944]. 2012-10-10 18:51:52 +00:00
Alexey Milovidov
fc8b9ca281 dbms: fixed error [#CONV-2944]. 2012-10-10 18:32:45 +00:00
Alexey Milovidov
2eee93e1d5 dbms: improved performance of aggregation by many fields; fixed error in function concat [#CONV-2944]. 2012-10-07 06:30:10 +00:00
Alexey Milovidov
51d9240f74 dbms: tiny modifications [#CONV-2944]. 2012-10-07 00:23:36 +00:00
Alexey Milovidov
c4c2ca38c6 dbms: improved performance (1.5x) of filtering and sorting strings [#CONV-2944]. 2012-10-07 00:23:18 +00:00
Alexey Milovidov
8bd7825459 dbms: development [#CONV-2944]. 2012-09-27 18:27:05 +00:00
Alexey Milovidov
a2edf17da6 dbms: fixed error (FixedString overflow) [#CONV-2944]. 2012-09-24 06:43:50 +00:00
Alexey Milovidov
02b9c3e47e dbms: development (conditional operator) [#CONV-2944]. 2012-09-24 04:11:55 +00:00