Commit Graph

3920 Commits

Author SHA1 Message Date
Pavel Kartavyy
1a39b3bf5c dbms: added checData method in TinyLog storage [#METR-11709] 2014-08-05 14:53:26 +04:00
Michael Kolupaev
3adfe8d536 Merge 2014-08-05 12:57:25 +04:00
Alexey Milovidov
cf5c4c07f3 dbms: updated comment [#METR-2944]. 2014-08-05 02:10:56 +04:00
Alexey Milovidov
7bc99645e2 dbms: in case of exception, don't send data in buffer, if it hasn't already sent [#METR-12034]. 2014-08-05 00:16:49 +04:00
Alexey Milovidov
3ab7260c16 dbms: sending exception message even if part of data has been already sent [#METR-12034]. 2014-08-04 23:48:50 +04:00
Michael Kolupaev
6fd0f417b4 Merge 2014-08-04 19:48:03 +04:00
Michael Kolupaev
9a50694f22 Merge 2014-08-04 18:23:52 +04:00
Michael Kolupaev
e9ef0705f3 Merge 2014-08-04 18:23:52 +04:00
Michael Kolupaev
304f2f274d active_parts.py: small improvements. [#METR-2807] 2014-08-04 12:12:13 +04:00
Alexey Milovidov
5d4ea3d827 dbms: uniqUpTo: small fix [#METR-12017]. 2014-08-01 23:31:38 +04:00
Alexey Milovidov
c112605fea dbms: fixed aggregate function uniqUpTo [#METR-12017]. 2014-08-01 23:14:21 +04:00
Michael Kolupaev
5533a047c5 active_parts.py: tiny improvement. [#METR-2807] 2014-08-01 14:04:36 +04:00
Michael Kolupaev
0b37543bd8 Merge 2014-08-01 13:53:03 +04:00
Michael Kolupaev
757aa8891d Merge 2014-08-01 13:45:59 +04:00
Michael Kolupaev
02f0ecf886 Added watchparts.sh for the unlikely case anyone else needs it. [#METR-2807] 2014-08-01 13:36:28 +04:00
Michael Kolupaev
0ff7667654 Merge 2014-08-01 13:32:31 +04:00
Michael Kolupaev
dbbd1c9dc8 active_parts.py: small improvement. [#METR-2807] 2014-08-01 13:30:56 +04:00
Michael Kolupaev
765a5e4685 clickhouse-test: small fix. [#METR-2807] 2014-08-01 13:12:30 +04:00
Alexey Milovidov
d9b4c671cd dbms: uniqUpTo: tiny modification [#METR-12017]. 2014-08-01 09:19:17 +04:00
Alexey Milovidov
77cafda096 dbms: uniqUpTo: fixed error (incomplete) [#METR-12017]. 2014-08-01 00:26:22 +04:00
Michael Kolupaev
ba11ae3be5 clickhouse-test: skipping tests with "zookeeper" in name when no zookeeper seems to be available. [#METR-2807] 2014-07-31 17:53:57 +04:00
Andrey Mironov
5c529d7b4f dbms: ExpressionsAnalyzer: switch off group by literal elimination completely. [#METR-12108] 2014-07-31 17:17:51 +04:00
Andrey Mironov
c519e9d15f dbms: ExpressionsAnalyzer: switch literal optimization off temporarily. [#METR-12108] 2014-07-31 17:14:08 +04:00
Andrey Mironov
18db7b24d1 comment typo fixed 2014-07-31 15:27:34 +04:00
Andrey Mironov
57633f2c35 Merge 2014-07-31 15:26:30 +04:00
Andrey Mironov
91373f1525 dbms: ExpressionAnalyzer: eliminate constant expressions from GROUP BY statement 2014-07-31 15:26:05 +04:00
Michael Kolupaev
b1c6001e40 Merge 2014-07-31 13:12:12 +04:00
Andrey Mironov
1995d3e1ba replace commentary tabs with spaces 2014-07-31 12:14:19 +04:00
Andrey Mironov
5dff483dfe Merge 2014-07-31 11:25:32 +04:00
Andrey Mironov
5c85b79e68 dbms: ExpressionAnalyzer: eliminate injective function calls from group by expressions. [#METR-12108] 2014-07-31 11:24:07 +04:00
Michael Kolupaev
8f6ded29f8 Merge 2014-07-30 19:24:45 +04:00
Michael Kolupaev
b2f5b9bfab Merge 2014-07-30 16:22:12 +04:00
Michael Kolupaev
2bd9733223 Merge 2014-07-30 16:10:38 +04:00
Alexey Milovidov
2061b6af03 int_hashes_perf: changed /dev/urandom to /dev/random data [#METR-2944], 2014-07-29 23:24:54 +04:00
Michael Kolupaev
f58b4f6ccb ClickHouse: Added table system.parts. [#METR-12036] 2014-07-29 19:21:09 +04:00
Michael Kolupaev
9b3ce7f0f8 Refactored VirtualColumnUtils. [#METR-12036] 2014-07-29 19:21:09 +04:00
Alexey Milovidov
f474645a0d dbms: modified test [#METR-2944]. 2014-07-29 04:54:15 +04:00
Andrey Mironov
bfb9d70291 Merge 2014-07-28 19:10:00 +04:00
Michael Kolupaev
8a41d7985a Merge 2014-07-28 18:50:51 +04:00
Michael Kolupaev
2c8e5cd239 Passing new db name to IStorage::rename. [#METR-12038] 2014-07-28 18:50:51 +04:00
Michael Kolupaev
2854ed49da Merge 2014-07-28 18:50:51 +04:00
Michael Kolupaev
5c9f92ac1e Merge 2014-07-28 14:36:15 +04:00
Michael Kolupaev
d660d7db45 Merge 2014-07-28 14:36:15 +04:00
Michael Kolupaev
53a76dd348 Merge 2014-07-28 14:36:14 +04:00
Andrey Mironov
586facc940 libstatdaemons: split OptimizedRegularExpression into thread-safe and single-threaded version 2014-07-28 13:49:16 +04:00
Michael Kolupaev
286bf18747 VirtualColumnUtils: using index on PREWHERE expression as well as WHERE. [#METR-2807] 2014-07-28 11:53:55 +04:00
Alexey Milovidov
94ed780065 ███████████: intrusive: development [#METR-12050]. 2014-07-26 08:12:43 +04:00
Michael Kolupaev
c832fc00aa Merge 2014-07-25 20:32:02 +04:00
Michael Kolupaev
219e3ca3c6 Merge 2014-07-25 20:10:02 +04:00
Michael Kolupaev
18eb2d8b8f Merge 2014-07-25 18:31:55 +04:00
Michael Kolupaev
0c5e87bce8 Merge 2014-07-25 17:28:49 +04:00
Michael Kolupaev
1f1e0fcc67 Merge 2014-07-25 17:12:14 +04:00
Michael Kolupaev
354bf02bf6 Merge 2014-07-25 17:12:14 +04:00
Michael Kolupaev
8142941b42 Merge 2014-07-25 17:12:14 +04:00
Michael Kolupaev
13b9392241 Merge 2014-07-25 17:12:14 +04:00
Michael Kolupaev
85c722caf3 Merge 2014-07-25 17:12:14 +04:00
Michael Kolupaev
a6e8c35ba8 Merge 2014-07-25 11:49:02 +04:00
Alexey Milovidov
5b6173ccf1 dbms: uniqUpTo: development [#METR-12017]. 2014-07-25 05:32:59 +04:00
Alexey Milovidov
a294ab5448 dbms: tiny modification [#METR-2944]. 2014-07-25 05:32:06 +04:00
Alexey Milovidov
1a40e1942c dbms: added aggregate function uniqUpTo [#METR-12017]. 2014-07-25 00:20:36 +04:00
Andrey Mironov
0202b6e92c make_unique implementation, refactor 2014-07-24 17:16:09 +04:00
Alexey Milovidov
b897fdc27a dbms: updated comment [#METR-2944]. 2014-07-24 03:57:58 +04:00
Michael Kolupaev
7b44c88b73 Merge 2014-07-23 20:31:38 +04:00
Andrey Mironov
d16425a5cd dbms: use separate regexp objects for each thread. [#METR-10532] 2014-07-23 19:25:48 +04:00
Michael Kolupaev
90dc182f12 Merge 2014-07-23 19:24:51 +04:00
Michael Kolupaev
6c4b3e3379 Merge 2014-07-23 17:58:38 +04:00
Michael Kolupaev
897d6fd336 Merge 2014-07-23 16:44:39 +04:00
Michael Kolupaev
272a2a8d9b Merge 2014-07-23 16:44:23 +04:00
Michael Kolupaev
8b18acffec Merge 2014-07-23 15:02:22 +04:00
Michael Kolupaev
bfe126ab04 Merge 2014-07-23 13:50:29 +04:00
Michael Kolupaev
f3285dba79 Merge 2014-07-23 13:15:41 +04:00
Michael Kolupaev
256f15b099 BackgroundProcessingPool: fast shutdown. [#METR-2807] 2014-07-23 13:14:51 +04:00
Michael Kolupaev
72aa59651f fixed a comment and removed an unused method. [#METR-2807] 2014-07-23 10:56:04 +04:00
Alexey Milovidov
32895b3c02 dbms: ProfileEventsTransmitter: better [#METR-10463]. 2014-07-23 03:36:33 +04:00
Michael Kolupaev
16e5a92ed9 Merge 2014-07-22 17:49:52 +04:00
Michael Kolupaev
776f11a256 Merge 2014-07-22 14:36:56 +04:00
Michael Kolupaev
1be80d3410 part_checker: fixes. [#METR-11980] 2014-07-22 14:35:44 +04:00
Michael Kolupaev
cb7aa9dd66 part_checker: fixes. [#METR-11980] 2014-07-22 14:35:44 +04:00
Michael Kolupaev
c8c5fb9d5b missing files for previous commit. [#METR-11980] 2014-07-22 14:35:44 +04:00
Michael Kolupaev
c777975b0b dbms: parts_checker; not working yet. [#METR-11980] 2014-07-22 14:35:44 +04:00
Michael Kolupaev
4830e7f634 Hashing*Buffer: small fix. [#METR-10202] 2014-07-22 14:35:44 +04:00
Pavel Kartavyy
78c24cb75a HashingBuffer: refactorind [#METR-10969] 2014-07-22 14:35:44 +04:00
Pavel Kartavyy
133cbbab37 HashingReadBuffer: added test. fixed bug [#METR-10969] 2014-07-22 14:35:44 +04:00
Pavel Kartavyy
b8b4a4a721 dbms: added HashingReadBuffer [#METR-10969] 2014-07-22 14:35:44 +04:00
Andrey Mironov
fbf6225911 dbms: fix possible counter value loss between difference calculcation and store. [#METR-10463] 2014-07-22 13:03:25 +04:00
Andrey Mironov
9bb88d4db2 dbms: ProfileEventsTransmitter corrections. [#METR-10463]
ProfileEventsTransmitter thread wakings are now properly aligned with minutes' boundaries.
Style and logic corrections.
2014-07-22 12:44:52 +04:00
Andrey Mironov
5d13832aeb dbms: ProfileEvents propagation to Graphite [#METR-10463] 2014-07-21 16:10:54 +04:00
Michael Kolupaev
40d98ad7a9 dbms: more informative exception message when reading fails during merge (in lucky cases when an exception occurs instead of a segfault). [#METR-11980] 2014-07-21 15:34:43 +04:00
Michael Kolupaev
8a2a34a8f3 Small improvements. [#METR-2807] 2014-07-21 13:11:20 +04:00
Alexey Milovidov
aadd791880 dbms: fixed error [#METR-11966]. 2014-07-18 23:47:28 +04:00
Michael Kolupaev
68ff148170 Merge 2014-07-18 20:06:02 +04:00
Michael Kolupaev
4f3b1a476f Merge 2014-07-18 19:41:04 +04:00
Michael Kolupaev
1d9af86c39 added test (previous commit claimed to add it but did not). [#METR-11886] 2014-07-17 18:43:58 +04:00
Michael Kolupaev
df852d2b5c added test, fixed test. [#METR-11886] 2014-07-17 18:41:43 +04:00
Michael Kolupaev
5e10dbca8a Merge 2014-07-17 17:41:47 +04:00
Michael Kolupaev
e493438564 Merge 2014-07-17 14:44:17 +04:00
Michael Kolupaev
67b76568d3 Merge 2014-07-17 13:38:31 +04:00
Michael Kolupaev
29e85b5fbc Merge 2014-07-17 12:29:10 +04:00
Michael Kolupaev
12c6d16743 Merge 2014-07-16 13:32:15 +04:00
Michael Kolupaev
22c0c1778e Merge 2014-07-16 12:58:59 +04:00
Alexey Milovidov
80f163eb08 dbms: removed debug output [#METR-11370]. 2014-07-16 06:13:26 +04:00
Alexey Milovidov
35e8a15092 dbms: improvement [#METR-11765]. 2014-07-16 06:06:58 +04:00
Alexey Milovidov
cdbff6e120 dbms: fixed race condition (still messy) [#METR-11765]. 2014-07-16 05:36:18 +04:00
Alexey Milovidov
71935f7916 dbms: reading all remaining POST data in case of exception and Keep-Alive [#METR-11937]. 2014-07-16 05:13:07 +04:00
Alexey Milovidov
4ffa76bf70 dbms: using Keep-Alive even in ping request [#METR-2944]. 2014-07-16 04:53:56 +04:00
Michael Kolupaev
d668fd27d2 Merge 2014-07-15 19:51:27 +04:00
Michael Kolupaev
15e30294cc Merge 2014-07-15 18:57:24 +04:00
Michael Kolupaev
5b7b7a0bb8 Merge 2014-07-15 18:48:50 +04:00
Michael Kolupaev
86fb1eee37 Merge 2014-07-15 18:37:49 +04:00
Michael Kolupaev
a6e31b55d5 Merge 2014-07-15 15:52:30 +04:00
Michael Kolupaev
39b675167d Merge 2014-07-15 15:42:06 +04:00
Michael Kolupaev
9ced1d909e Merge 2014-07-15 15:12:58 +04:00
Michael Kolupaev
01094ec78d Merge 2014-07-15 14:13:36 +04:00
Alexey Milovidov
273ccc0a14 dbms: probably fixed error [#METR-11926]. 2014-07-14 23:46:06 +04:00
Michael Kolupaev
8eb2a7218b Merge 2014-07-14 20:01:23 +04:00
Michael Kolupaev
32b1a52dc1 dbms: fixed test. [#METR-11886] 2014-07-14 20:00:57 +04:00
Michael Kolupaev
007c0cedc1 fixed build and a bunch of other stuff. [#METR-11886] 2014-07-14 19:49:03 +04:00
Michael Kolupaev
dfb21bcaff fixed segfault when creating materialized views. [#METR-11886] 2014-07-14 18:26:11 +04:00
Michael Kolupaev
33955ee7dd Merge 2014-07-14 18:07:47 +04:00
Michael Kolupaev
bcc81b712d dbms: added reference file for test. [#METR-11886] 2014-07-14 16:31:00 +04:00
Michael Kolupaev
62de3bc73a Merge 2014-07-14 16:24:22 +04:00
Michael Kolupaev
02d04e4bfd dbms: added test. [#METR-11886] 2014-07-14 16:09:15 +04:00
Michael Kolupaev
516789157b Merge 2014-07-14 16:02:17 +04:00
Michael Kolupaev
8f394dd852 Merge 2014-07-14 15:45:34 +04:00
Michael Kolupaev
3efa9e91c9 ClickHouse: not accepting identifiers with multiple dots. [#METR-11739] 2014-07-14 13:16:49 +04:00
Michael Kolupaev
0ff3ede227 Merge 2014-07-14 13:12:50 +04:00
Michael Kolupaev
482e0c496c NamesAndTypes looks a tiny little bit better. [#METR-2807] 2014-07-14 11:54:47 +04:00
Alexey Milovidov
8f516a4b19 dbms: compatibility with OLAP: fixed error with UserAgentMinor [#METRIKASUPP-3517]. 2014-07-11 23:48:41 +04:00
Michael Kolupaev
d1edd92696 Merge 2014-07-11 17:34:12 +04:00
Michael Kolupaev
1005bbaa55 Merge 2014-07-11 17:11:06 +04:00
Michael Kolupaev
e26223d5c8 Merge 2014-07-11 16:47:45 +04:00
Michael Kolupaev
703b1d1c93 addition to previous commit. [#METR-11886] 2014-07-11 12:12:03 +04:00
Michael Kolupaev
b89813b042 Merge 2014-07-11 12:10:45 +04:00
Alexey Milovidov
818338872f columnar-sender: development [#METR-11888]. 2014-07-11 05:20:39 +04:00
Alexey Milovidov
94012f8231 columnar-sender: development [#METR-11888]. 2014-07-11 04:29:59 +04:00
Alexey Milovidov
247d7074e9 clickhouse-test: enable color hiliting only when stdout is a tty [#METR-11873]. 2014-07-10 22:58:04 +04:00
Alexey Milovidov
4c7226627c dbms: fixed error with formatting of date-times with 1970-01-01 dates [#METR-11873]. 2014-07-10 22:53:09 +04:00
Pavel Kartavyy
c60096564a ███████████: alloc fill memory with zeros at every call [#METR-11892] 2014-07-10 20:00:36 +04:00
Pavel Kartavyy
13830c960d ███████████: alloc fill memory with zeros at every call [#METR-11892] 2014-07-10 19:55:15 +04:00
Michael Kolupaev
ff64aeb036 Merge 2014-07-10 15:13:45 +04:00
Michael Kolupaev
ac7ee44128 Merge 2014-07-10 14:16:50 +04:00
Michael Kolupaev
c335519c9c Merge 2014-07-10 12:40:59 +04:00
Michael Kolupaev
dda1395dba Merge 2014-07-10 12:19:22 +04:00
Michael Kolupaev
3288bd5765 dbms: tiny improvement (not breaking the build this time). [#METR-2807] 2014-07-10 12:18:58 +04:00
Michael Kolupaev
6644701830 Revert "dbms: tiny improvement. [#METR-2807]"
This reverts commit 5a7af677ed8df0ed32a3a9be95b399a281b35b61.
2014-07-10 12:05:11 +04:00
Michael Kolupaev
66825973b5 Merge 2014-07-10 11:58:18 +04:00
Michael Kolupaev
f48de01d8d dbms: tiny improvement. [#METR-2807] 2014-07-10 11:53:33 +04:00
Alexey Milovidov
a2a41113e0 Fixed build [#METR-2807]. 2014-07-10 04:31:17 +04:00
Michael Kolupaev
a6fd9cd2bd Merge 2014-07-09 17:39:19 +04:00
Pavel Kartavyy
a0720382df ███████████: added IsTablet [#METR-9729] 2014-07-09 15:56:25 +04:00
Michael Kolupaev
0a67d151bd dbms: updated all usages of NamesAndTypesPair to new field names. [#METR-10202] 2014-07-09 15:54:26 +04:00
Michael Kolupaev
d848cfec91 dbms: made NameAndTypePair a struct (build is broken). [#METR-10202] 2014-07-09 15:54:26 +04:00
Alexey Milovidov
0041db77ab Tiny improvement [#METR-2807]. 2014-07-09 03:52:53 +04:00
Alexey Milovidov
410ca664b8 dbms: returned support of profiles inheritance [#METR-11872]. 2014-07-08 23:42:53 +04:00
Michael Kolupaev
c0bb5e8ce3 Merge 2014-07-08 18:41:19 +04:00
Alexey Milovidov
baa0f2ed94 dbms: separate limits for JOINs [#METR-11370]. 2014-07-07 22:32:20 +04:00
Michael Kolupaev
cdc937b31a Merge 2014-07-07 16:23:59 +04:00
Michael Kolupaev
c5c63b6111 fixed build. [#METR-10202] 2014-07-07 16:08:47 +04:00
Pavel Kartavyy
11162f6600 fix error in alter [#METR-11836] 2014-07-07 15:57:41 +04:00
Michael Kolupaev
a90dea2974 a little better active_parts.py. [#METR-2807] 2014-07-07 15:51:11 +04:00
Michael Kolupaev
639d1ad15f Merge 2014-07-07 15:39:06 +04:00
Michael Kolupaev
557a48f9e5 Merge 2014-07-07 14:23:24 +04:00
Michael Kolupaev
39fa078e85 active_parts.py in O(N log N). [#METR-2807] 2014-07-07 14:21:57 +04:00
Michael Kolupaev
b40f8bd8d5 Merge 2014-07-07 13:51:42 +04:00
Alexey Milovidov
22afae3b4a dbms: added test [#METR-11370]. 2014-07-07 02:32:37 +04:00
Alexey Milovidov
9e1e1f4552 dbms: fixed error [#METR-11370]. 2014-07-07 02:32:09 +04:00
Alexey Milovidov
f107415f75 dbms: fixed error; more diagnostics for GLOBAL subqueries [#METR-11370]. 2014-07-07 01:59:20 +04:00
Alexey Milovidov
4f2d00e696 dbms: fixed error in prev. revision [#METR-11370]. 2014-07-07 00:46:17 +04:00
Alexey Milovidov
8643f02ac0 dbms: reworked GLOBAL subqueries (probably doesn't work) [#METR-11370]. 2014-07-06 23:48:39 +04:00
Alexey Milovidov
0ee947c62a dbms: fixed leak in GLOBAL IN; improvements [#METR-11370]. 2014-07-06 08:22:12 +04:00
Alexey Milovidov
e7722f50b1 dbms: JOINs: development [#METR-11370]. 2014-07-06 04:19:49 +04:00
Alexey Milovidov
18f670defa dbms: JOINs: development [#METR-11370]. 2014-07-05 00:30:06 +04:00
Alexey Milovidov
7ef01201ef dbms: Arena: tiny modification [#METR-2944]. 2014-07-04 23:45:06 +04:00
Alexey Milovidov
ecb1cf9b33 dbms: ExpressionAnalyzer: better [#METR-11370]. 2014-07-04 23:13:38 +04:00
Michael Kolupaev
9a0516b839 Merge 2014-07-04 19:54:40 +04:00
Alexey Milovidov
8ad7540dff Merge 2014-07-04 18:27:26 +04:00
Alexey Milovidov
db0d25ea6d dbms: modified test [#METR-11370]. 2014-07-04 18:27:10 +04:00
Michael Kolupaev
ae5ea95a73 Merge 2014-07-04 18:07:14 +04:00
Michael Kolupaev
7362ca686f Merge 2014-07-04 17:59:05 +04:00
Michael Kolupaev
d00dc44397 Merge 2014-07-04 17:15:28 +04:00
Pavel Kartavyy
4260d6bf24 RemoteBlockOutputSream: better logging 2014-07-04 17:01:44 +04:00
Michael Kolupaev
1425813cdf Merge 2014-07-04 15:18:04 +04:00
Michael Kolupaev
3925f6dcf9 Merge 2014-07-04 14:11:55 +04:00
Michael Kolupaev
9c7ac77624 renamed anyHash64 to cityHash64, made them identical in unary case. [#METR-11774] 2014-07-04 13:43:00 +04:00
Alexey Milovidov
2e1e33da7e dbms: modified test [#METR-11370]. 2014-07-04 06:05:45 +04:00
Alexey Milovidov
8ffb7d390d dbms: modified test [#METR-11370]. 2014-07-04 06:03:53 +04:00
Alexey Milovidov
af659d7a45 dbms: modified test [#METR-11370]. 2014-07-04 06:01:32 +04:00
Alexey Milovidov
1982f46178 dbms: modified test [#METR-11370]. 2014-07-04 05:59:53 +04:00
Alexey Milovidov
8ee9f328fb dbms: modified test [#METR-11370]. 2014-07-04 05:58:00 +04:00
Alexey Milovidov
ab436a0f43 dbms: modified test [#METR-11370]. 2014-07-04 05:54:43 +04:00
Alexey Milovidov
484b3f1d5d dbms: fixed typo [#METR-11370]. 2014-07-04 05:42:08 +04:00
Alexey Milovidov
be8c22f47f dbms: GLOBAL JOINs: development [#METR-11370]. 2014-07-04 05:40:22 +04:00
Alexey Milovidov
694f1205d6 dbms: added test for GLOBAL IN [#METR-11370]. 2014-07-04 05:38:49 +04:00
Alexey Milovidov
8a7a4b11f0 dbms: better [#METR-11370]. 2014-07-04 02:39:13 +04:00
Alexey Milovidov
2fa4a2cf60 dbms: GLOBAL JOINs: development [#METR-11370]. 2014-07-04 00:32:42 +04:00
Michael Kolupaev
95fd8c88f1 Merge 2014-07-03 18:22:50 +04:00
Michael Kolupaev
861eee9163 Merge 2014-07-03 16:15:43 +04:00
Michael Kolupaev
c8fde6537f fixed SELECT anyHash64([1,2,3]) [#METR-11774] 2014-07-03 16:13:32 +04:00
Michael Kolupaev
da7d837497 added function anyHash64. [#METR-11774] 2014-07-03 15:24:29 +04:00
Michael Kolupaev
1983ac540b Merge 2014-07-03 12:51:11 +04:00
Michael Kolupaev
acfa0d2b46 Merge 2014-07-03 11:48:05 +04:00
Alexey Milovidov
4ab04c8b06 dbms: JOINs: test for aliases [#METR-11370]. 2014-07-03 00:26:34 +04:00
Alexey Milovidov
1579017cfd dbms: JOINs: fixed dealing with aliases [#METR-11370]. 2014-07-03 00:23:48 +04:00
Michael Kolupaev
15d9e39aa6 Merge 2014-07-02 16:30:38 +04:00
Michael Kolupaev
601732a0dd Merge 2014-07-02 14:16:49 +04:00
Michael Kolupaev
82d34fa1e9 Merge 2014-07-02 13:21:41 +04:00
Michael Kolupaev
faafb36596 Merge 2014-07-01 19:58:25 +04:00
Michael Kolupaev
201e63181c a bit more verbose exceptions when reading from merge tree. [#METR-10202] 2014-07-01 12:50:30 +04:00
Alexey Milovidov
3ea4fb0fa0 Improvement [#METR-2807]. 2014-07-01 05:03:16 +04:00
Alexey Milovidov
cbab5fb193 Removing refreshes [#METR-11408]. 2014-07-01 03:46:22 +04:00
Michael Kolupaev
68b077b8f5 Merge 2014-06-30 17:57:20 +04:00
Michael Kolupaev
310df87971 Merge 2014-06-30 14:02:25 +04:00
Michael Kolupaev
7d179c4294 slightly fixed error message. [#METR-2807] 2014-06-30 11:36:06 +04:00
Alexey Milovidov
1472b919ed Merge 2014-06-27 22:23:41 +04:00
Alexey Milovidov
c9cde08e36 dbms: improved error message [#METR-11524]. 2014-06-27 22:22:33 +04:00
Michael Kolupaev
3be9f54264 small improvements. [#METR-10202] 2014-06-27 21:58:26 +04:00
Michael Kolupaev
429b5f63b2 Merge 2014-06-27 21:58:26 +04:00
Michael Kolupaev
739f93e781 small logging improvement. [#METR-10202] 2014-06-27 21:58:26 +04:00
Michael Kolupaev
4baf5626cd small logging improvements. [#METR-10202] 2014-06-27 21:58:26 +04:00
Michael Kolupaev
1f45a832d9 RemoteBlockOutputStream fix. [#METR-10202] 2014-06-27 21:58:25 +04:00
Michael Kolupaev
2d2634c1e2 fixes. [#METR-10202] 2014-06-27 21:58:25 +04:00
Michael Kolupaev
68f6a9263a Merge 2014-06-27 21:58:25 +04:00
Alexey Milovidov
0d7263958d dbms: addition to prev. revision [#METR-11571]. 2014-06-26 05:01:16 +04:00
Alexey Milovidov
108a7850a5 dbms: improved performance on short queries [#METR-11571]. 2014-06-26 04:58:14 +04:00
Alexey Milovidov
413b8d214e dbms: improved performance of short queries [#METR-11571]. 2014-06-25 04:17:51 +04:00
Alexey Milovidov
149e92c6a7 dbms: removed useless copy of Block [#METR-11571]. 2014-06-24 23:53:48 +04:00
Alexey Milovidov
d420486522 dbms: improved performance on short queries [#METR-11571]. 2014-06-20 23:56:45 +04:00
Alexey Milovidov
653c138564 dbms: lowered max delay of insert [#METR-11520]. 2014-06-20 22:45:19 +04:00
Alexey Milovidov
a83915b62c dbms: JOINs: more tests [#METR-11370]. 2014-06-19 23:11:42 +04:00
Alexey Milovidov
4645131f7a dbms: added ALL JOINs [#METR-11370]. 2014-06-19 23:00:58 +04:00
Alexey Milovidov
7c0f53c34f dbms: JOINs: added tests [#METR-11370]. 2014-06-19 23:00:19 +04:00
Alexey Milovidov
b970c85546 dbms: JOINs: development [#METR-11370]. 2014-06-19 22:15:46 +04:00
Alexey Milovidov
efbd0de1ee dbms: JOINs: development [#METR-11370]. 2014-06-19 00:08:31 +04:00
Alexey Milovidov
2a25c8a4c0 dbms: JOINs: development [#METR-11370]. 2014-06-18 23:14:29 +04:00
Alexey Milovidov
d67b11211a dbms: added support for ANY INNER JOIN [#METR-11370]. 2014-06-18 22:31:35 +04:00
Alexey Milovidov
2ffdaa5ee0 dbms: JOINs: development [#METR-11370]. 2014-06-17 21:07:22 +04:00
Alexey Milovidov
b8ee43e5c5 dbms: removed debug output [#METR-11370]. 2014-06-17 00:01:42 +04:00
Alexey Milovidov
895ae78c9e dbms: incremental aggregation: fixed error [#METR-10894]. 2014-06-16 22:28:04 +04:00
Alexey Milovidov
a4647a9b51 dbms: added storage Null (for testing purposes) [#METR-10894]. 2014-06-16 21:32:31 +04:00
Alexey Milovidov
6eb6d538da dbms: JOINs: development [#METR-11370]. 2014-06-13 13:10:01 +04:00
Alexey Milovidov
29e8538f25 dbms: JOINs: development [#METR-11370]. 2014-06-13 13:07:20 +04:00
Alexey Milovidov
870f766798 dbms: JOINs: development [#METR-11370]. 2014-06-13 10:39:15 +04:00
Alexey Milovidov
3f650bfbab dbms: added test for ANY LEFT JOIN [#METR-11370]. 2014-06-13 06:14:22 +04:00
Alexey Milovidov
bfff8ab715 dbms: JOINs: development [#METR-11370]. 2014-06-13 06:05:05 +04:00
Alexey Milovidov
1ba07d65ad dbms: development [#METR-11370]. 2014-06-13 03:21:38 +04:00
Alexey Milovidov
607485d82a dbms: better [#METR-11370]. 2014-06-13 01:17:03 +04:00
Alexey Milovidov
fcc21c5b4c dbms: better [#METR-11370]. 2014-06-13 01:15:44 +04:00
Alexey Milovidov
c7c2d4ad8d dbms: better [#METR-11370]. 2014-06-13 01:14:06 +04:00
Alexey Milovidov
8ca868ce25 dbms: better [#METR-11370]. 2014-06-13 01:12:47 +04:00
Alexey Milovidov
5a74e92b0b dbms: better [#METR-11370]. 2014-06-12 23:53:36 +04:00
Alexey Milovidov
f16a9beb61 dbms: removed sign_rewrite (obsolete, unused); tiny modifications [#METR-11370]. 2014-06-12 23:23:06 +04:00
Alexey Milovidov
a7c8921eb2 dbms: little more readable [#METR-11370]. 2014-06-12 22:41:09 +04:00
Alexey Milovidov
a77ec35c96 dbms: JOINs: development [#METR-11370]. 2014-06-12 09:13:50 +04:00
Alexey Milovidov
0ba0894a90 dbms: JOINs: development [#METR-11370]. 2014-06-12 08:04:47 +04:00
Alexey Milovidov
295398e423 dbms: JOIN: development [#METR-11370]. 2014-06-12 06:31:30 +04:00
Alexey Milovidov
a1595ee591 Tiny modifications [#METR-11370]. 2014-06-12 05:22:49 +04:00
Alexey Milovidov
136ad3f5d3 dbms: removed garbage [#METR-11370]. 2014-06-12 04:56:43 +04:00
Alexey Milovidov
5e153b2bb9 dbms: support for JOINs in parser [#METR-11370]. 2014-06-12 04:48:56 +04:00
Alexey Milovidov
e19c4aedde dbms: tiny improved comments [#METR-11370]. 2014-06-12 02:36:55 +04:00
Alexey Milovidov
f912dc42b4 Merge 2014-06-11 22:38:37 +04:00
Alexey Milovidov
5a300300d2 dbms: fixed error in primary key usage [#METR-11540]. 2014-06-11 22:38:10 +04:00
Pavel Kartavyy
7b62758dcf dbms: fix to compability with new zkutil 2014-06-11 21:29:04 +04:00
Pavel Kartavyy
f27941b233 Merge 2014-06-10 19:23:49 +04:00
Alexey Milovidov
10544c8afc dbms: development [#METR-10894]. 2014-06-09 02:17:44 +04:00
Alexey Milovidov
55d8811f82 dbms: added test [#METR-10894]. 2014-06-06 23:45:21 +04:00
Alexey Milovidov
649114821c dbms: development [#METR-10894]. 2014-06-06 23:35:41 +04:00
Alexey Milovidov
8e3a5194e6 dbms: added test [#METR-10894]. 2014-06-06 22:00:52 +04:00
Alexey Milovidov
5bbc71650e dbms: development [#METR-10894]. 2014-06-06 21:46:03 +04:00
Alexey Milovidov
100da1547e dbms: added test [#METR-10894]. 2014-06-06 21:19:40 +04:00
Michael Kolupaev
5a8e9a517c Merge 2014-06-06 18:56:57 +04:00
Alexey Milovidov
2b7a2c025f dbms: development [#METR-10894]. 2014-06-06 03:52:28 +04:00
Alexey Milovidov
97b30392a7 dbms: development [#METR-10894]. 2014-06-06 00:35:34 +04:00
Alexey Milovidov
4a2bcf2137 dbms: development [#METR-10894] (don't even compiling). 2014-06-06 00:34:13 +04:00
Alexey Milovidov
16f092d87b dbms: development [#METR-10894]. 2014-06-05 23:52:13 +04:00
Michael Kolupaev
ac06ebccf6 sqxxl: Shards supports writing to one replica instead of all replicas. [#METR-10202] 2014-06-05 16:02:18 +04:00
Michael Kolupaev
50d37fc80e statdaemons: fixed PoolWithFailoverBase [#METR-10202] 2014-06-05 12:23:52 +04:00
Alexey Milovidov
47f98136fc dbms: 'mark_cache_size' configuration parameter is mandatory [#METR-11447]. 2014-06-04 17:39:56 +04:00
Alexey Milovidov
f1dba5e341 dbms: improved performance of function regionToName [#METR-11434]. 2014-06-04 05:00:09 +04:00
Alexey Milovidov
647ff835c4 dbms: improved performance of system.numbers table [#METR-11434]. 2014-06-04 03:34:44 +04:00
Alexey Milovidov
0ee6ba4b67 dbms: improved performance of region functions [#METR-11434]. 2014-06-04 03:09:57 +04:00
Alexey Milovidov
c3450791fc dbms: development of [#METR-10894]. 2014-06-04 00:29:04 +04:00
Michael Kolupaev
972a3bab8d DB::ConnectionPool: fixed an error. [#METR-10202] 2014-06-03 19:23:03 +04:00
Michael Kolupaev
38c5500a71 Refactored DB::ConnectionPool, DB::ConnectionPoolWithFailover and sqxxl::Pool. [#METR-10202] 2014-06-03 18:32:08 +04:00
Alexey Milovidov
1e6091cc63 ███████████, ███████████, completed: removed obsolete 'GoodEvent' column [#METR-11404]. 2014-06-02 22:30:56 +04:00
Michael Kolupaev
c2f4912100 fixed tiny typo in comment. [#METR-2807] 2014-06-02 16:28:53 +04:00
Alexey Milovidov
a4fba5c6b1 dbms: fixed error with MemoryTracker and UnionBlockInputStream [#METR-11393]. 2014-05-30 23:22:41 +04:00
Sergey Fedorov
edd482acf3 dbms: more fixes on aggregate function columns [METR-10894] 2014-05-30 20:22:14 +04:00
Sergey Fedorov
4fe8f37e03 Merge 2014-05-28 19:00:08 +04:00
Michael Kolupaev
3aad8dad8f Merge 2014-05-27 16:08:40 +04:00
Michael Kolupaev
cf2843d22c Merge 2014-05-27 14:03:13 +04:00
Michael Kolupaev
d51f9cae03 Merge 2014-05-27 12:43:01 +04:00
Michael Kolupaev
4c771903d7 Merge 2014-05-26 22:29:29 +04:00
Michael Kolupaev
ecf8e8b43c Merge 2014-05-26 22:27:25 +04:00
Michael Kolupaev
c1b265d4ac Merge 2014-05-26 22:16:05 +04:00
Michael Kolupaev
f137d7b84d Merge 2014-05-26 22:16:04 +04:00
Michael Kolupaev
b830e0b4fe Merge 2014-05-26 22:16:04 +04:00
Sergey Fedorov
8f306f4238 Merge 2014-05-26 20:13:46 +04:00
Michael Kolupaev
7abd68d5ed dbms: added ActiveDataPartSet, currently unused. [#METR-10202] 2014-05-26 14:41:40 +04:00
Alexey Milovidov
05f4843213 dbms: added tests [#METR-11277]. 2014-05-23 06:25:07 +04:00
Alexey Milovidov
0d2ac52f26 dbms: fixed segfault when ORDER BY one string or fixed string DESC [#METR-11277]. 2014-05-23 06:18:01 +04:00
Alexey Milovidov
d8b642aa6f dbms: tiny improvement [#METR-2944]. 2014-05-23 05:32:32 +04:00
Alexey Milovidov
8627ab108a Addition to prev. revision [#METR-2944]. 2014-05-23 05:09:18 +04:00
Alexey Milovidov
79213536df dbms: fixed error [#METR-11220]. 2014-05-23 04:50:28 +04:00
Alexey Milovidov
0d92614971 dbms: fixed wrong code [#METR-10894]. 2014-05-23 04:35:49 +04:00
Alexey Milovidov
c815fe7a6f dbms: fixed error [#METR-11220]. 2014-05-23 04:35:14 +04:00
Alexey Milovidov
0f5e847172 dbms: fixed segfault in case of memory limit exceeded [#METR-11220]. 2014-05-22 22:58:41 +04:00
Alexey Milovidov
fb2caea60b dbms: tiny modification [#METR-2944]. 2014-05-22 22:58:07 +04:00
Sergey Fedorov
19d17ceb6c dbms: bool array instead of miltiple checking for final aggregate functions [METR-10894] 2014-05-22 18:22:54 +04:00
Sergey Fedorov
be9527f09f dbms: more read write functions for DataTypeAggregateFunction and ColumnAggregateFunction [METR-10894] 2014-05-22 18:09:10 +04:00
Michael Kolupaev
77589b0c6e Merge 2014-05-22 14:37:17 +04:00
Alexey Milovidov
f4b33550fe dbms: updated tests [#METR-2944]. 2014-05-22 05:21:37 +04:00
Alexey Milovidov
9bb6471715 dbms: fixed error in ClearableHashMap [#METR-2944]. 2014-05-22 05:19:14 +04:00
Alexey Milovidov
0ea972c13a dbms: fixed exception safety of HashTable [#METR-11220]. 2014-05-22 04:22:48 +04:00
Alexey Milovidov
c166dfab67 dbms: fixed tiny error [#METR-11220]. 2014-05-22 03:38:40 +04:00
Pavel Kartavyy
ffde70b5c9 dbms: changed type when add column to nested from Array(NN) -> NN [#METR-11063] 2014-05-21 18:06:29 +04:00
Pavel Kartavyy
9d7e14fde2 clickhouse: bugfix [#METR-11063] 2014-05-21 18:06:29 +04:00
Sergey Fedorov
214e8aa9ea Merge 2014-05-21 17:30:42 +04:00
Michael Kolupaev
c70e26bc70 Small improvement for previous commit. [#METR-11193] 2014-05-21 14:37:53 +04:00
Michael Kolupaev
df4c963bc1 Merge 2014-05-21 14:20:41 +04:00
Alexey Milovidov
119f3377a8 dbms: modified hash function for ints [#METR-2944]. 2014-05-21 06:19:44 +04:00
Alexey Milovidov
ef82f8fd75 dbms: Fixed error in prev. revision [#METR-11160]. 2014-05-20 23:30:39 +04:00
Pavel Kartavyy
5138ef4553 clickhouse: bugfix [#METR-11063] 2014-05-20 22:01:36 +04:00
Pavel Kartavyy
f2d2dd2739 clickhouse: alter doesn't need quotes anymore [#METR-11063] 2014-05-20 20:46:33 +04:00
Pavel Kartavyy
5d1e8a5a3c clickhouse: check type of nested column [#METR-11063] 2014-05-20 19:44:46 +04:00
Pavel Kartavyy
dd76cb7479 clickhouse: updated test for alter [#METR-11063] 2014-05-20 19:44:46 +04:00
Pavel Kartavyy
b336d8057c clickhouse: alter nested columns [#METR-11063] 2014-05-20 19:44:46 +04:00
Alexey Milovidov
34eeed7ed3 Renamed mysqlxx::String and sqxxl::String to mysqlxx::Value and sqxxl::Value [#METR-2807]. 2014-05-20 02:05:33 +04:00
Alexey Milovidov
7f2d738498 dbms: fixed segfault in case of memory limit exceeded [#METR-11160]. 2014-05-19 23:41:56 +04:00
Alexey Milovidov
babe61675c dbms: Client: tiny improvement (tnx. maaaks) [#METR-2944]. 2014-05-19 22:50:50 +04:00
Alexey Milovidov
8b5be77c11 dbms: updated test [#METR-2944]. 2014-05-19 11:17:15 +04:00
Alexey Milovidov
c99921fc14 dbms: tiny improvement [#METR-2944]. 2014-05-19 08:54:54 +04:00
Alexey Milovidov
ea4c75ac82 dbms: TwoLevelHashTable: improvement [#METR-2944]. 2014-05-19 08:53:05 +04:00
Michael Kolupaev
06edb12dbe Merge 2014-05-16 19:55:57 +04:00
Sergey Fedorov
cd48cb6cba dbms: extracting columns list from select query for storage view [METR-11084] 2014-05-16 15:06:31 +04:00
Alexey Milovidov
a4fc77a8cb dbms: removed useless code, fixed error [#METR-10719]. 2014-05-16 05:25:20 +04:00
Sergey Fedorov
aae61e105b client: not allowing unknown options in client [METR-11064] 2014-05-15 17:14:57 +04:00
Sergey Fedorov
f5d07ed9dd dbms: fixed uninitialized variable in set.h [METR-11023] 2014-05-15 14:45:44 +04:00
Sergey Fedorov
32e1a76960 dbms: fixed number parsing error in table function remote [METR-11112] 2014-05-15 14:39:52 +04:00
Sergey Fedorov
2bdcb127ec dbms: fixed compilation bug [METR-11023] 2014-05-15 14:35:02 +04:00
Sergey Fedorov
b308db2434 dbms: limits for transfering external tables, only_external mode in set [METR-11023] 2014-05-15 14:24:03 +04:00
Michael Kolupaev
ed26098886 Merge 2014-05-14 21:51:43 +04:00
Alexey Milovidov
ca4717e69a dbms: Client: fixed error in command line options [#METR-2944]. 2014-05-14 21:35:51 +04:00
Sergey Fedorov
208e5ccdce dbms: rewriting logic of global in queries [METR-10974] 2014-05-14 19:07:51 +04:00
Michael Kolupaev
90c5aacde6 dbms: fixed a test with undefined result. [#METR-2807] 2014-05-14 18:34:33 +04:00
Michael Kolupaev
4e2f2eca05 dbms: small fix. [#METR-2807] 2014-05-14 18:20:34 +04:00
Michael Kolupaev
19a037c8a4 dbms: fixed default users config name. [#METR-2807] 2014-05-14 18:19:58 +04:00
Michael Kolupaev
728bdf4928 Merge 2014-05-13 15:24:16 +04:00
Michael Kolupaev
f17b46548c fixed build. [#METR-10202] 2014-05-13 14:34:45 +04:00
Michael Kolupaev
2765b93851 Merge 2014-05-13 14:16:33 +04:00
Michael Kolupaev
90e93b171d Merge 2014-05-13 14:10:26 +04:00
Alexey Milovidov
2326d31f62 dbms: fixed error [#METR-10945]. 2014-05-12 21:27:48 +04:00
Alexey Milovidov
7c923f5799 dbms: TwoLevelHashTable: fixed error [#METR-2944]. 2014-05-12 07:11:45 +04:00
Alexey Milovidov
027e80e2b6 dbms: Fixed possible uninitialized memory read [#METR-2944]. 2014-05-12 04:49:24 +04:00
Alexey Milovidov
8198d86f5a dbms: fixed errors on clang [#METR-2807]. 2014-05-12 04:45:50 +04:00
Alexey Milovidov
4f15ea1c09 dbms: tiny improvement [#METR-2944]. 2014-05-12 00:49:08 +04:00
Alexey Milovidov
c0e1aa8f2c dbms: fixed error [#METR-2944]. 2014-05-12 00:48:39 +04:00
Alexey Milovidov
3411b9fe68 dbms: TwoLevelHashTable: development [#METR-2944]. 2014-05-11 00:47:12 +04:00
Alexey Milovidov
f0792f0deb dbms: improved performance of aggregation and aggregate function uniq [#METR-2944]. 2014-05-10 09:17:08 +04:00
Alexey Milovidov
b5eb465f84 dbms: preparation [#METR-2944]. 2014-05-10 09:16:23 +04:00
Alexey Milovidov
95827e2dc2 dbms: improved performance of aggregation by string key [#METR-2944]. 2014-05-10 06:42:45 +04:00
Alexey Milovidov
82a44f8eec dbms: tiny improved performance of aggregation [#METR-2944]. 2014-05-10 05:37:12 +04:00
Alexey Milovidov
47afe8bd9c dbms: Aggregator: decomposed code to easier trying more aggregation methods; performance is suddenly improved up to 25%; fixed memory leak when exception while aggregating by KEYS_128 method [#METR-2944]. 2014-05-10 04:31:22 +04:00
Alexey Milovidov
ea3a22102d dbms: MemoryTracker: added whitespace [#METR-11015]. 2014-05-10 04:29:50 +04:00
Alexey Milovidov
19d6a632b6 Fixed build [#METR-2807]. 2014-05-08 22:34:43 +04:00
Alexey Milovidov
9a6691aa6b dbms: MemoryTracker: fixed error [#METR-11015]. 2014-05-08 19:54:51 +04:00
Michael Kolupaev
be5a9cf820 Merge 2014-05-08 17:27:18 +04:00
Michael Kolupaev
a6d0c9693e dbms: development. [#METR-10202] 2014-05-08 17:27:18 +04:00
Michael Kolupaev
f93db5572e dbms: added a check to active_parts.py. [#METR-10202] 2014-05-08 16:35:46 +04:00
Michael Kolupaev
8ea2b0f7a7 dbms: human readable sizes logged in MemoryTracker. [#METR-11015] 2014-05-08 16:00:47 +04:00
Michael Kolupaev
6232f3e9b4 Merge 2014-05-08 12:03:03 +04:00
Michael Kolupaev
e2e7a61c61 Merge 2014-05-08 11:30:00 +04:00
Michael Kolupaev
ea9e8964f0 Merge 2014-05-08 11:12:01 +04:00
Michael Kolupaev
cbf3719981 dbms: small improvement. [#METR-11044] 2014-05-08 10:24:48 +04:00
Michael Kolupaev
5a5cfa31f1 Merge 2014-05-07 18:12:15 +04:00
Michael Kolupaev
0b7928f6a9 Merge 2014-05-07 17:58:20 +04:00
Michael Kolupaev
df07fa2674 Merge 2014-05-07 17:56:01 +04:00
Michael Kolupaev
c6194d47f4 Merge 2014-05-07 15:44:14 +04:00
Michael Kolupaev
892704d332 dbms: fixed a test. [#METR-11017] 2014-05-07 14:44:50 +04:00
Alexey Milovidov
fed3d5ec68 dbms: benchmark: fixed error [#METR-2944]. 2014-05-06 22:19:23 +04:00
Alexey Milovidov
cfac18bdd4 dbms: benchmark: more info [#METR-2944]. 2014-05-06 22:02:57 +04:00
Alexey Milovidov
ada10cebad dbms: benchmark: more info [#METR-2944]. 2014-05-06 21:34:22 +04:00
Alexey Milovidov
3e4fdd0256 dbms: benchmark: more timings [#METR-2944]. 2014-05-06 21:19:24 +04:00
Alexey Milovidov
a9cd1a65ae dbms: fixed benchmark [#METR-2944]. 2014-05-06 21:08:51 +04:00
Alexey Milovidov
a17d59d409 dbms: fixed error with HashTable [#METR-11015]. 2014-05-04 03:59:30 +04:00
Alexey Milovidov
0abc554493 dbms: tracking amount of memory usage per query [#METR-11015]. 2014-05-04 02:57:43 +04:00
Alexey Milovidov
4f1852c399 dbms: fixed error with 'replace running query' [#METR-2944]. 2014-05-03 23:52:35 +04:00
Alexey Milovidov
734acc10c2 dbms: experiments with hash tables: removed code of unsuccessful method of parallel aggregation [#METR-2944]. 2014-05-03 20:35:18 +04:00
Alexey Milovidov
c55c3829f7 dbms: fixed comment [#METR-2944]. 2014-05-03 20:04:15 +04:00
Alexey Milovidov
2b13e02d3c dbms: fixed error [#METR-2944]. 2014-05-03 20:03:49 +04:00
Alexey Milovidov
2dc708e70c dbms: experiments with hash tables [#METR-2944]. 2014-05-03 05:45:34 +04:00
Alexey Milovidov
04cb4d878b dbms: experiments with hash tables [#METR-2944]. 2014-05-03 04:08:35 +04:00
Alexey Milovidov
36b677e873 dbms: HashTable: better [#METR-2944]. 2014-05-02 23:25:17 +04:00
Alexey Milovidov
4aa1b5963b dbms: continue [#METR-2944]. 2014-05-02 19:48:03 +04:00
Alexey Milovidov
b394bc5a61 dbms: experiments with hash tables [#METR-2944]. 2014-05-02 16:49:39 +04:00
Alexey Milovidov
73daa82d82 dbms: tiny improvement [#METR-2944]. 2014-05-01 21:26:46 +04:00
Alexey Milovidov
1151854175 dbms: fixed error [#METR-2944]. 2014-05-01 21:26:31 +04:00
Alexey Milovidov
9d225f69ed dbms: added test to prev. revision [#METR-2944]. 2014-05-01 19:05:36 +04:00
Alexey Milovidov
c9831381e0 dbms: fixed error [#METR-2944]. 2014-05-01 19:02:36 +04:00
Alexey Milovidov
10fdfb2c9f dbms: tiny performance improvement [#METR-2944]. 2014-05-01 04:17:02 +04:00
Michael Kolupaev
4cee45e004 dbms: better optimization of ARRAY JOIN; tests for it. [#METR-11017] 2014-04-30 23:19:35 +04:00
Alexey Milovidov
fc8aa282c0 dbms: lowered default block size; introduced default insert block size [#METR-11014].. 2014-04-30 00:22:57 +04:00
Alexey Milovidov
e1eac9c927 Merge 2014-04-29 23:09:33 +04:00
Alexey Milovidov
0eedfd6542 dbms: improved usability [#METR-10904]. 2014-04-29 23:09:11 +04:00
Sergey Fedorov
add1b80d7a dbms: fixed global_in inside aggregate function. [METR-10974] 2014-04-29 20:53:01 +04:00
Alexey Milovidov
c66979eafb dbms: addition to prev. revision [#METR-10988]. 2014-04-29 08:13:26 +04:00
Alexey Milovidov
7d534675af dbms: fixed error in prev. revision [#METR-10988]. 2014-04-29 07:33:10 +04:00
Alexey Milovidov
8ad9d10c4f dbms: added tests [#METR-2944]. 2014-04-29 05:18:28 +04:00
Alexey Milovidov
7d395ac826 dbms: unified hash tables: development [#METR-2944]. 2014-04-29 04:52:29 +04:00
Alexey Milovidov
752ed08e8f dbms: unified hash tables: development [#METR-2944]. 2014-04-29 04:51:05 +04:00
Alexey Milovidov
897752de16 dbms: unified hash tables: development [#METR-2944]. 2014-04-29 04:28:18 +04:00
Alexey Milovidov
da3cec39b1 dbms: addition to prev. revision [#METR-10988]. 2014-04-29 04:25:12 +04:00
Alexey Milovidov
3e20b26fd2 dbms: HashTableAllocator: using mremap for large chunks; fixed error [#METR-10988]. 2014-04-29 04:24:13 +04:00
Alexey Milovidov
38f7c7834e dbms: unified hash tables: development [#METR-2944]. 2014-04-28 07:29:32 +04:00
Alexey Milovidov
bbbc5c2b69 dbms: unified hash tables: development [#METR-2944]. 2014-04-28 07:25:05 +04:00
Alexey Milovidov
4bf42ea6e6 dbms: unified hash tables: development [#METR-2944]. 2014-04-28 06:47:56 +04:00
Alexey Milovidov
8232983714 dbms: unified hash tables: development [#METR-2944]. 2014-04-28 05:48:24 +04:00
Alexey Milovidov
b7092a7ab1 Merge 2014-04-28 00:47:28 +04:00
Sergey Fedorov
199738fee9 mergeTree: fixed bug with all_mark_ranges[i].end [METR-10931] 2014-04-25 18:56:32 +04:00
Michael Kolupaev
205b0bd908 Merge 2014-04-25 16:43:10 +04:00
Michael Kolupaev
94cae0b3ad dbms: not logging some useless info; added comment. [#METR-10202] 2014-04-25 12:46:40 +04:00
Alexey Milovidov
1e34ee442a dbms: added test [#METR-10955]. 2014-04-25 03:13:33 +04:00
Alexey Milovidov
1db77a0a8f dbms: test: allowed to use .sh scripts as tests [#METR-10955]. 2014-04-25 03:13:06 +04:00
Alexey Milovidov
a0d87ca85e dbms: fixed error with big inserts through HTTP [#METR-10955]. 2014-04-25 00:18:00 +04:00
Alexey Milovidov
17a10c082a dbms: better [#METR-10955]. 2014-04-24 22:54:36 +04:00
Alexey Milovidov
3b883d6b43 dbms: doc: development [#METR-10719]. 2014-04-24 22:49:07 +04:00
Michael Kolupaev
571a446aaf dbms: fixed active_parts.py. [#METR-10202] 2014-04-24 14:21:23 +04:00
Michael Kolupaev
8bd16d3361 Merge 2014-04-24 14:20:02 +04:00
Sergey Fedorov
0fbd8a32be dbms: optimization of reading from files in merge tree [METR-10931] 2014-04-23 20:45:53 +04:00
Sergey Fedorov
6e55c822c0 client: fixed bug with sending readOnly [METR-8983] 2014-04-23 17:35:26 +04:00
Alexey Milovidov
aa3c0b6a8d dbms: tiny improvement [#METR-10931]. 2014-04-23 02:58:05 +04:00
Alexey Milovidov
b821e1420d Fixed style [#METR-10931]. 2014-04-23 02:52:00 +04:00
Alexey Milovidov
a3caebf31b dbms: tiny improvement [#METR-10931]. 2014-04-23 02:43:55 +04:00
Alexey Milovidov
6bec60bb39 dbms: external tables: fixed error [#METR-10071]. 2014-04-22 22:35:40 +04:00
Alexey Milovidov
4befbd1f20 dbms: Client: fixed error [#METR-10719]. 2014-04-22 21:55:30 +04:00
Sergey Fedorov
c139a6d209 dbms: fixed bug in merge tree output stream: compression of min block now runs at the right moment [METR-10570] 2014-04-22 19:36:21 +04:00
Michael Kolupaev
dba95b4de5 Merge 2014-04-22 15:20:02 +04:00
Michael Kolupaev
345b1bfb44 Merge 2014-04-22 14:41:53 +04:00
Alexey Milovidov
b07f478984 dbms: added tests [#METR-10705]. 2014-04-21 20:20:57 +04:00
Alexey Milovidov
554d329064 dbms: fixed WITH TOTALS and LIMIT/DISTINCT [#METR-10705]. 2014-04-21 20:09:04 +04:00
Sergey Fedorov
64ca649a27 dbms: fixed bug in Client, user and password now work properly [METR-10801] 2014-04-18 19:52:27 +04:00
Sergey Fedorov
e1c84869f7 dbms: fixed compilation buf [METR-8983] 2014-04-18 18:40:05 +04:00
Sergey Fedorov
5e4f412040 dbms: bug-fix, profile is not storing for now [METR-8983] 2014-04-18 18:33:44 +04:00
Pavel Kartavyy
521577dced dbms: fixed bug [#METR-10190] 2014-04-18 18:26:00 +04:00
Sergey Fedorov
4c7dd4e269 dbms: storing settings and default database in client [METR-8983] 2014-04-18 17:59:39 +04:00
Michael Kolupaev
88644b2377 Merge 2014-04-18 15:05:30 +04:00
Michael Kolupaev
2ff0b62529 Merge 2014-04-18 14:37:26 +04:00
Michael Kolupaev
30db4e41ec Merge 2014-04-18 14:05:38 +04:00
Michael Kolupaev
d5215ae37e Better handling of old checksums files. [#METR-10202] 2014-04-18 13:55:25 +04:00
Michael Kolupaev
68049a0162 Merge 2014-04-18 13:55:25 +04:00
Sergey Fedorov
d0452204ad dbms: profile event UncompressedCacheWeightLost [METR-10570] 2014-04-17 19:46:58 +04:00
Sergey Fedorov
a670bd654b dbms: no exception on zero index, added to the test [METR-10798] 2014-04-17 18:56:58 +04:00
Sergey Fedorov
e48c3d7b5e dbms: array element support non-constant index + test on new functionality [METR-10798] 2014-04-17 18:37:59 +04:00
Alexey Milovidov
04c7058d99 dbms: OLAP compatibility: fixed typo [#METR-10821]. 2014-04-16 16:56:32 +04:00
Alexey Milovidov
0320c10381 dbms: trying to raise ulimit on number of file descriptors on startup [#METR-2944]. 2014-04-15 20:39:56 +04:00
Sergey Fedorov
6bbf1c450d client: small fix on sending settings [METR-10801] 2014-04-15 18:01:48 +04:00
Sergey Fedorov
e7756b8acc dbms: fixed bug on droping database with materialized view [METR-10848] 2014-04-15 18:00:33 +04:00
Sergey Fedorov
342592bffb dbms: exception if client sends settings in readonly mod, client loads settings also from config file [METR-10801] 2014-04-15 17:36:32 +04:00
Sergey Fedorov
414af624c7 functions: Fixed. Function array now accept arguments of different types. Also added simple test [METR-10799] 2014-04-15 16:13:24 +04:00
Michael Kolupaev
07d9ab9bbf Merge 2014-04-14 17:13:20 +04:00
Michael Kolupaev
3dc646c066 Merge 2014-04-14 17:08:26 +04:00
Michael Kolupaev
ee6a647245 Merge 2014-04-14 14:56:06 +04:00
Michael Kolupaev
b9c4a3419a Merge 2014-04-14 14:19:38 +04:00
Michael Kolupaev
f362d03611 Merge 2014-04-14 14:19:38 +04:00
Michael Kolupaev
7fa79382f4 PushingToViewsBlockOutputStream: not calling storage->write() on each block, not copying a block. [#METR-10763] 2014-04-14 14:19:38 +04:00
Alexey Milovidov
027ff900dc dbms: added function to convert from FixedString [#METR-10840]. 2014-04-13 17:58:54 +04:00
Alexey Milovidov
4dfbecd242 dbms: added tests [#METR-10840]. 2014-04-13 17:56:28 +04:00
Alexey Milovidov
fedcc0081a dbms: better [#METR-10841]. 2014-04-13 13:46:36 +04:00
Alexey Milovidov
813406b01b dbms: added line and column information in case of syntax error in multiline query [#METR-10728]. 2014-04-13 12:52:50 +04:00
Alexey Milovidov
1700e1f761 Revert "functions: function array now accept arguments of different types [METR-10799]"
This reverts commit 6a217ce09f5f1e7f3ed753d356f5548ae58498c7.
2014-04-12 20:34:10 +04:00
Alexey Milovidov
b5c63dade9 Merge 2014-04-12 20:11:06 +04:00
Alexey Milovidov
29186e8a17 dbms: improved code [#METR-10498]. 2014-04-12 19:49:36 +04:00
Michael Kolupaev
563e0bf025 Merge 2014-04-11 22:04:31 +04:00
Michael Kolupaev
815904f536 Merge 2014-04-11 21:23:22 +04:00
Michael Kolupaev
b2fa912b2c Merge 2014-04-11 20:56:49 +04:00
Michael Kolupaev
541ead96e5 Merge 2014-04-11 19:53:32 +04:00
Michael Kolupaev
7ec176038c Merge 2014-04-11 17:05:20 +04:00
Sergey Fedorov
a67d4f7e11 functions: function array now accept arguments of different types [METR-10799] 2014-04-10 21:28:49 +04:00
Sergey Fedorov
71d146d345 client: setting is stored in context [METR-10801] 2014-04-10 21:28:49 +04:00
Sergey Fedorov
39bdcbc819 client: all options from Limits.h could be set in client command line [METR-10801] 2014-04-10 21:07:57 +04:00
Alexey Milovidov
edb8b71115 dbms: OLAP compatibility: fixed error [#METR-10821]. 2014-04-10 20:18:57 +04:00
Alexey Milovidov
908ea73a5d dbms: tiny fix in formatAST [#METR-10498]. 2014-04-10 18:55:36 +04:00
Sergey Fedorov
54863880d7 client: producing help message in client, all settings from Settings.h could be set in the client command line now [METR-10801] 2014-04-10 18:18:53 +04:00
Michael Kolupaev
18a9a9e207 Merge 2014-04-10 16:31:03 +04:00
Pavel Kartavyy
3974dd8e1d dbms: in refactoring [#METR-10498] 2014-04-10 12:57:01 +04:00
Alexey Milovidov
076db911e8 dbms: improvement [#METR-10800]. 2014-04-09 23:27:49 +04:00
Alexey Milovidov
84f1cbca8e dbms: always returning non-zero error code in case of error [#METR-10800]. 2014-04-09 23:21:50 +04:00
Sergey Fedorov
3c523cbfd3 client: updates on parsing options from command line [METR-10071] 2014-04-09 20:43:36 +04:00
Michael Kolupaev
524f376b2d Merge 2014-04-09 20:32:40 +04:00
Michael Kolupaev
e3dfe90ffe Merge 2014-04-09 19:53:47 +04:00
Sergey Fedorov
23e06540cb dbms: change fields names for sending external tables through http [METR-10071] 2014-04-09 17:32:00 +04:00
Sergey Fedorov
8f39a1177a expressionAnalyzer: fixed query "where smth in t" [METR-10071] 2014-04-09 17:21:29 +04:00
Pavel Kartavyy
6a15b2b588 dbms: in refactoring [#METR-10498] 2014-04-09 14:32:52 +04:00
Pavel Kartavyy
d63e779d9d dbms: fixed exceptions in In; unknown element in AST, not found column [#METR-10498] 2014-04-09 13:05:37 +04:00
Pavel Kartavyy
e0f8b97cf3 dbms: improvements [#METR-10498] 2014-04-09 13:05:36 +04:00
Michael Kolupaev
f0b55713f5 Merge 2014-04-08 21:45:27 +04:00
Sergey Fedorov
ecc697cd2c Merge 2014-04-08 19:29:12 +04:00
Sergey Fedorov
0ded5c5040 dbms: sending external table throw http [METR-10071] 2014-04-08 18:15:18 +04:00
Alexey Milovidov
63cff6a5a4 Improvement [#METR-2807]. 2014-04-08 11:58:53 +04:00
Alexey Milovidov
9dad91788b Improvement [#METR-2807]. 2014-04-08 11:47:51 +04:00
Alexey Milovidov
5ca21127c7 Improvement [#METR-2807]. 2014-04-08 11:31:51 +04:00
Alexey Milovidov
646421e45c dbms: fixed build [#METR-2944]. 2014-04-08 11:24:21 +04:00
Alexey Milovidov
be281c42a4 dbms: removed useless code [#METR-2944]. 2014-04-08 10:52:56 +04:00
Alexey Milovidov
34bf7dd0ae Removed useless code [#METR-2807]. 2014-04-08 10:51:53 +04:00
Alexey Milovidov
c0db3d0328 dbms: removed useless file [#METR-2944]. 2014-04-08 10:29:02 +04:00
Michael Kolupaev
c96e421982 Merge 2014-04-07 23:25:05 +04:00
Michael Kolupaev
7d5429655a Merge 2014-04-07 23:10:14 +04:00
Alexey Milovidov
8411f2ae32 dbms: fixed error with INSERT more than MAX_BLOCK_SIZE via HTTP [#METR-10789]. 2014-04-07 23:08:47 +04:00
Michael Kolupaev
4cd3f3581e Tiny piece of logging. [#METR-2807] 2014-04-07 23:02:45 +04:00
Michael Kolupaev
b0edb3b470 Fixes. [#METR-10202] 2014-04-07 22:44:10 +04:00
Michael Kolupaev
afafcc85b4 Fixes. [#METR-10202] 2014-04-07 22:14:39 +04:00
Pavel Kartavyy
3e61e7b7f6 dbms: improvements [#METR-10498] 2014-04-07 21:43:50 +04:00
Michael Kolupaev
28ff474916 Fixes. [#METR-10202] 2014-04-07 21:39:45 +04:00
Pavel Kartavyy
d9e931a8fe dbms: fixed Null pointer [#METR-10498] 2014-04-07 20:29:26 +04:00
Pavel Kartavyy
61ebb6ea34 fixed issue [#METR-10498] 2014-04-07 20:29:26 +04:00
Pavel Kartavyy
6ad275725e dbms: add desciption of in [#METR-10498] 2014-04-07 20:29:25 +04:00
Pavel Kartavyy
049db94426 dbms: development [#METR-10498] 2014-04-07 20:29:25 +04:00
Pavel Kartavyy
bdeee5386b dbms: development [#METR-10498]
Signed-off-by: Pavel Kartavyy <kartavyy@yandex-team.ru>
2014-04-07 20:29:25 +04:00
Pavel Kartavyy
a737895eb4 build fix [#METR-10498] 2014-04-07 20:29:25 +04:00
Pavel Kartavyy
14168120f1 development [#METR-10498] 2014-04-07 20:29:25 +04:00
Pavel Kartavyy
2a408f2841 development [#METR-10498] 2014-04-07 20:29:25 +04:00
Michael Kolupaev
4e975b43ec Merge 2014-04-07 19:45:46 +04:00
Alexey Milovidov
f8d9252cf4 dbms: fixed error in client [#METR-10071]. 2014-04-07 04:31:44 +04:00
Alexey Milovidov
a3efebda9d dbms: addition to prev. revision [#METR-10500]. 2014-04-07 04:09:19 +04:00
Alexey Milovidov
763f354b3d dbms: probably lowered latency of global distributed queries [#METR-10500]. 2014-04-07 04:00:23 +04:00
Alexey Milovidov
6f12e7f372 dbms: preparation [#METR-10500]. 2014-04-07 03:36:39 +04:00
Alexey Milovidov
d8cf48d765 dbms: benchmark: better [#METR-2944]. 2014-04-07 03:18:07 +04:00
Alexey Milovidov
d986afc319 dbms: ConnectionPoolWithFailover: better [#METR-10500]. 2014-04-07 03:15:27 +04:00
Alexey Milovidov
312feedecb dbms: removed virtual columns from StorageDistributed [#METR-9172]. 2014-04-07 01:59:27 +04:00
Alexey Milovidov
0f17a5798a dbms: StorageDistributed: don't need to specify sign column to use FINAL [#METR-2944]. 2014-04-07 01:39:48 +04:00
Alexey Milovidov
9174b461f2 dbms: tiny improvement [#METR-10718]. 2014-04-06 11:23:42 +04:00
Alexey Milovidov
f628605b1a dbms: removed whitespace [#METR-2944]. 2014-04-06 11:22:22 +04:00
Alexey Milovidov
d48daeea8f dbms: added TCP_NODELAY option [#METR-10071]. 2014-04-06 10:53:45 +04:00
Alexey Milovidov
7dd8e5f0d0 dbms: fixed latency regression (caused by Nagle's algorithm) [#METR-10071]. 2014-04-06 10:43:16 +04:00
Alexey Milovidov
1bf23a9b7e dbms: benchmark: better [#METR-2944]. 2014-04-06 05:19:43 +04:00
Alexey Milovidov
0fc10a40ae dbms: tiny modification [#METR-2944]. 2014-04-06 05:19:02 +04:00
Alexey Milovidov
8b3df69a46 dbms: removed useless variable [#METR-2944]. 2014-04-06 05:18:28 +04:00
Alexey Milovidov
3f6c101222 dbms: fixed error with parsing config [#METR-10570]. 2014-04-05 23:59:38 +04:00
Alexey Milovidov
cf5a86434d dbms: fixed error when uncompressed_cache or marks_cache is not set [#METR-2944]. 2014-04-05 23:54:00 +04:00
Alexey Milovidov
e41c11e788 dbms: fixed test [#METR-2944]. 2014-04-05 22:25:46 +04:00
Alexey Milovidov
ae90ba08a6 dbms: OLAP compatibility: added support for 'regions_point_of_view' setting [#METR-10715]. 2014-04-05 04:47:36 +04:00
Alexey Milovidov
9f4f900920 dbms: more simple [#METR-10713]. 2014-04-05 03:41:54 +04:00
Alexey Milovidov
8f225d508d Added gitignore [#METR-2807]. 2014-04-05 03:41:09 +04:00
Alexey Milovidov
4903752cd0 dbms: added support for 'point of view' argument of functions working with dictionaries [#METR-10713]. 2014-04-04 22:08:01 +04:00
Michael Kolupaev
4a45c7c089 Merge 2014-04-04 21:20:45 +04:00
Michael Kolupaev
954a97764c Merge 2014-04-04 17:27:47 +04:00
Michael Kolupaev
1b5b9a1f1e Merge 2014-04-04 16:47:57 +04:00
Michael Kolupaev
847128152e Merge 2014-04-04 14:37:33 +04:00
Alexey Milovidov
90200cccf5 dbms: added test [#METR-10718]. 2014-04-04 06:35:46 +04:00
Alexey Milovidov
8d736e91c7 dbms: fixed reading past end of buffer [#METR-10718]. 2014-04-04 06:32:35 +04:00
Alexey Milovidov
8a834d3025 dbms: added checking of max_query_size [#METR-10718]. 2014-04-04 06:27:01 +04:00
Alexey Milovidov
1246d54830 Merge 2014-04-03 20:23:31 +04:00
Pavel Kartavyy
00d5cfbe45 dbms: added test for alter [#METR-10550] 2014-04-03 19:57:36 +04:00
Michael Kolupaev
95fc39c559 Merge 2014-04-03 17:30:21 +04:00
Michael Kolupaev
b00c303f7d Merge 2014-04-03 17:11:11 +04:00
Michael Kolupaev
50ba6ca8e1 Merge 2014-04-03 16:49:01 +04:00
Michael Kolupaev
b4d85c1676 Merge 2014-04-03 15:48:28 +04:00
Pavel Kartavyy
d50aaf9368 dbms: added removing of nested columns to merge tree [#METR-10550] 2014-04-03 15:46:32 +04:00
Pavel Kartavyy
765d0740f4 dbms: add support for drop nested columns [#METR-10550] 2014-04-03 15:46:31 +04:00
Michael Kolupaev
5a0aab3bb2 Merge 2014-04-03 12:47:59 +04:00
Michael Kolupaev
5542aa8f2d Moved DB::Exception and StackTrace to statdaemons (to allow zkutil to have stack trace in exceptions without depending on dbms). [#METR-10202] 2014-04-03 11:14:42 +04:00
Alexey Milovidov
eb1e9ddbab dbms: removed useless memset, lowered default max_query_size [#METR-10718]. 2014-04-02 22:38:17 +04:00
Alexey Milovidov
143ec07e06 dbms: fixed error with parser [#METR-10718]. 2014-04-02 21:13:10 +04:00
Michael Kolupaev
b92f1ff480 Merge 2014-04-02 17:45:39 +04:00
Michael Kolupaev
233557ec72 Merge 2014-04-02 14:40:23 +04:00
Michael Kolupaev
f885e8680b Moved DB::Exception and StackTrace to statdaemons (to allow zkutil to have stack trace in exceptions without depending on dbms). [#METR-10202] 2014-04-02 14:29:54 +04:00
Michael Kolupaev
997875d7d1 Merge 2014-04-02 14:10:37 +04:00
Michael Kolupaev
8fc53a7020 Merge 2014-04-02 11:59:43 +04:00
Alexey Milovidov
0b8867ca55 dbms: updated test [#METR-8766]. 2014-04-02 11:14:40 +04:00
Alexey Milovidov
33338e0d2e dbms: fixed compatibility [#METR-10667]. 2014-04-02 03:42:26 +04:00
Sergey Fedorov
fff1593bd9 dbms: Sending only required external tables to remote servers [METR-10071] 2014-04-01 18:06:58 +04:00
Sergey Fedorov
e426667931 dbms: fixes in create temporary table [METR-10071] 2014-04-01 17:41:03 +04:00
Alexey Milovidov
c12d5231dd dbms: fixed build [#METR-10616]. 2014-03-29 00:32:38 +04:00
Alexey Milovidov
ad52e7dd9d dbms: improved tests [#METR-2944]. 2014-03-28 23:59:23 +04:00
Michael Kolupaev
31093464dd clickhouse-test: merged some tests into multiline tests. [#METR-10639] 2014-03-28 20:08:48 +04:00
Michael Kolupaev
b0558796aa dbms: remote() table function can be used with dot: remote('127.0.0.1', system.one). [#METR-2807] 2014-03-28 20:08:48 +04:00
Michael Kolupaev
6f61446152 clickhouse-test: switched to clickhouse-client; added a couple of multiquery tests. [#METR-10639] 2014-03-28 20:08:48 +04:00
Michael Kolupaev
d42352149d dbms: DISTINCT before ORDER BY. [#METR-9627] 2014-03-28 20:08:48 +04:00
Sergey Fedorov
a138e8efdf dbms: insignificant fix in checking if block is ready for compression [METR-10570] 2014-03-28 20:01:36 +04:00
Sergey Fedorov
9f208de753 tests: simple test on argMinArray and argMaxArray using arrayJoin [METR-10366] 2014-03-28 19:52:11 +04:00
Sergey Fedorov
14992512e9 dbms: fixed bug with sending totals and extreams in clickhouse server [METR-10071] 2014-03-28 19:33:30 +04:00
Sergey Fedorov
c4f8176d14 dbms: simple test on sumArray and sumArrayIf [METR-10366] 2014-03-28 18:39:00 +04:00
Sergey Fedorov
6395e841f9 Merge 2014-03-28 18:36:24 +04:00
Michael Kolupaev
fd6cf4974d clickhouse-client: multiquery support. [#METR-10639] 2014-03-28 17:47:55 +04:00
Michael Kolupaev
43b2fe717f clickhouse-client: fixed inserting data from stdin query. [#METR-2807] 2014-03-28 16:43:47 +04:00
Sergey Fedorov
a6c110d03c dbms: fixed comments on clearing block input stream after receiving external tables [METR-10071] 2014-03-28 16:19:59 +04:00
Sergey Fedorov
535fadf131 dbms: fixed checking aggregate function names with "Array" suffix [METR-10366] 2014-03-28 16:19:59 +04:00
Sergey Fedorov
9d3da47428 protocol: commets on sending external tables [METR-10071] 2014-03-28 16:19:59 +04:00
Michael Kolupaev
25f5d03f77 dbms: (Warning: this commit makes clickhouse distributed queries incompatible with previous versions) Improved distributed query processing: more stages and optimizations are now made on remote side. Significantly reduced spaghettiness of InterpreterSelectQuery. [#METR-10616] 2014-03-28 16:13:58 +04:00
Michael Kolupaev
3e4238c9a5 dbms: Added some test. [#METR-10616] 2014-03-28 14:23:57 +04:00
Alexey Milovidov
573d382b7b Merge 2014-03-28 00:32:49 +04:00
Alexey Milovidov
95a3cd2e9e dbms: AggregateFunctionArray: fixed performance issue [#METR-10366]. 2014-03-28 00:32:12 +04:00
Michael Kolupaev
784014f79a dbms: fixed removing arrayJoin from subquery. [#METR-9549] 2014-03-27 23:50:02 +04:00
Michael Kolupaev
852d35615c dbms: Fixed a bug. [#METR-10615] 2014-03-27 23:50:02 +04:00
Alexey Milovidov
eba3126077 dbms: style [#METR-10071]. 2014-03-27 23:09:23 +04:00
Alexey Milovidov
26848b6803 dbms: added pretty-formatting for GLOBAL IN; pedantic modifications in comments [#METR-10071]. 2014-03-27 21:58:25 +04:00
Michael Kolupaev
634c33c766 Merge 2014-03-27 21:49:08 +04:00
Michael Kolupaev
347c8c9047 Merge 2014-03-27 21:42:19 +04:00
Michael Kolupaev
a8f4ed6278 Merge 2014-03-27 21:30:04 +04:00
Sergey Fedorov
e735568723 dbms: aggregate function array [METR-10366] 2014-03-27 16:48:09 +04:00
Michael Kolupaev
6a3043e749 Deduplicated code for merge tree writing; previous commit is useless. [#METR-10202] 2014-03-27 16:32:37 +04:00
Sergey Fedorov
5237f8b6ca dbms: fixed cancelling input stream in tcphandler [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
0898ccfeb4 dbms: fixed merging errors [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
eda2a1590b dbms: fixed different names of new external storages in expression analyzer [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
a4d4990860 dbms: fixed problem with sending empty tables, few more fixes [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
c9c2f671f2 connection: fixed bug with sending extra block to old-versioned server [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
9ecf7b3f79 defines: fixed DBMS_MIN_REVISION_WITH_TEMPORARY_TABLES to correct value [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
003c7b30cd dbms: fixes and more comments on 'Global in' and external tables behavior [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
f0aae9604a dbms: Global in function, sexternal tables transfers to remote servers [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
6f85a12692 dbms: fixed variable names, temporary tables are now external tables, in distributed query external table now always will be send to remote servers [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
386f6d0da5 connection: bug-fix: sending query with pending data [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
cf25673606 expression analyzer: support "IN t" = "in select * from t" [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
27f081a382 dbms: create temporary table query, external tables from stdin [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
a17a57c425 client: external data sending from client to server [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
4ffc3fbdf7 client: try catch for External table exceptions, couple of fixes [METR-10071] 2014-03-27 16:06:45 +04:00
Sergey Fedorov
3fb930ef53 client: support external tables descriptions in command line arguments [METR-10071] 2014-03-27 16:06:44 +04:00
Sergey Fedorov
92658ff05a client: comand line parsing changed from poco to boost::program_options [METR-10071] 2014-03-27 16:06:44 +04:00
Sergey Fedorov
0c59630ddc temporary tables: support of sending temporary talbes from client to server via tcp client, all previous versions should work fine with new one [METR-10071] 2014-03-27 16:06:44 +04:00
Michael Kolupaev
b48bc12739 Merge 2014-03-27 15:32:41 +04:00
Michael Kolupaev
2b7cdfd950 Merge 2014-03-27 15:30:54 +04:00
Michael Kolupaev
db3c061396 Added checksums to data parts. Not writing them yet. [#METR-10202] 2014-03-27 15:29:40 +04:00
Michael Kolupaev
45dcf66dd8 Added test query. [#METR-10615] 2014-03-27 12:40:35 +04:00
Michael Kolupaev
8bbee1f1c1 dbms: Added HashingWriteBuffer and a unit test. [#METR-10202] 2014-03-27 12:12:32 +04:00
Alexey Milovidov
64251e04d1 dbms: added tests [#METR-8757] [#METR-9119]. 2014-03-27 02:23:54 +04:00
Alexey Milovidov
966995b011 Fixed build [#METR-2807]. 2014-03-26 22:29:30 +04:00
Pavel Kartavyy
e060784ecc fixed build 2014-03-26 18:45:50 +04:00
Pavel Kartavyy
4042069b3e fixed build 2014-03-26 18:08:00 +04:00
Alexey Milovidov
651e593bb2 dbms: fixed error with aggregate function quantileTiming [#METR-10597]. 2014-03-26 04:34:00 +04:00
Alexey Milovidov
f0f09d00fd dbms: fixed unitialized memory read [#METR-10597]. 2014-03-26 04:17:31 +04:00
Alexey Milovidov
78e59c0394 dbms: fixed sorting of arrays [#METR-10572]. 2014-03-26 03:16:20 +04:00
Alexey Milovidov
369767dde9 dbms: test: allowed to specify many test names to generate reference result [#METR-10572]. 2014-03-26 03:15:14 +04:00
Alexey Milovidov
6aa304ba4a dbms: added tests [#METR-10572]. 2014-03-26 03:14:51 +04:00
Alexey Milovidov
82f6b4a73d dbms: removed old test script [#METR-2944]. 2014-03-26 02:53:48 +04:00
Michael Kolupaev
42be4d6ec5 Added an option for clickhouse-test to generate reference for just one test. Added reference for one test query. [#METR-10566] 2014-03-25 23:23:32 +04:00
Michael Kolupaev
755fa64369 Fixed build. [#METR-10566] 2014-03-25 22:19:08 +04:00
Michael Kolupaev
262ffcd74b Fixed parametric aggregate functions in totals. [#METR-10566] 2014-03-25 22:16:40 +04:00
Michael Kolupaev
a202cb4eaf Merge 2014-03-25 18:06:40 +04:00
Alexey Milovidov
7cde6bb6a6 dbms: fixed error with hash tables [#METR-10571]. 2014-03-25 04:28:25 +04:00
Alexey Milovidov
5e5997d150 Merge 2014-03-24 23:32:52 +04:00
Alexey Milovidov
2bc8beff04 Added tests [#METR-10566]. 2014-03-24 23:32:31 +04:00
Michael Kolupaev
4c92b5f220 Fixed segfault when some of the nested columns are missing. [#METR-10564] 2014-03-24 20:10:14 +04:00
Michael Kolupaev
08f4af22e1 Merge 2014-03-24 17:59:04 +04:00
Michael Kolupaev
258b14b506 Fixed segfault with table functions. [#METR-10549] 2014-03-24 17:24:47 +04:00
Michael Kolupaev
03a0e1e1ef Fixed build. 2014-03-24 16:10:47 +04:00
Alexey Milovidov
9abadce603 dbms: updated tests [#METR-2944]. 2014-03-24 06:50:39 +04:00
Alexey Milovidov
8aaecae5fb dbms: updated tests [#METR-2944]. 2014-03-24 06:50:25 +04:00
Alexey Milovidov
e2292225ef Added gitignore [#METR-2944]. 2014-03-24 04:37:39 +04:00
Alexey Milovidov
2813909ed3 dbms: modified test [#METR-2944]. 2014-03-24 00:45:42 +04:00
Alexey Milovidov
dae349ba00 dbms: added tests [#METR-2944]. 2014-03-24 00:40:55 +04:00
Alexey Milovidov
fc45d3cc5b dbms: mofified test [#METR-2944]. 2014-03-23 19:16:58 +04:00
Alexey Milovidov
93472c9103 dbms: added test [#METR-2944]. 2014-03-23 19:08:31 +04:00
Alexey Milovidov
a646848ded dbms: modified test [#METR-2944]. 2014-03-23 07:46:25 +04:00
Alexey Milovidov
84ce7d6225 dbms: modified test [#METR-2944]. 2014-03-23 07:40:09 +04:00
Alexey Milovidov
18a7749a04 dbms: modified test [#METR-2944]. 2014-03-23 07:37:51 +04:00
Alexey Milovidov
40b02cae63 dbms: added test script [#METR-2944]. 2014-03-23 07:26:07 +04:00
Michael Kolupaev
7b6ce30656 Merge 2014-03-22 18:44:44 +04:00
Michael Kolupaev
36b152f2b1 Added interserver IO host and port to context. [#METR-10202] 2014-03-21 23:49:27 +04:00
Michael Kolupaev
7084f03ab9 Merge 2014-03-21 23:17:59 +04:00
Michael Kolupaev
af094cbc76 dbms: Extracted most of RemoteReadBuffer into ReadBufferFromHTTP. [#METR-10202] 2014-03-21 21:23:09 +04:00
Michael Kolupaev
750cb44f94 Merge 2014-03-21 17:42:14 +04:00
Michael Kolupaev
3a6d19d639 Removed unnecessary context lock during ALTER. [METR-10202] 2014-03-21 13:26:01 +03:00
Pavel Kartavyy
7dc31a3ba3 olap compability: removed ClickPhraseID, ClickTargetPhraseID [#METR-10322] 2014-03-21 12:33:35 +04:00
Alexey Milovidov
850876f191 dbms: unified hash tables: development [#METR-2944]. 2014-03-21 03:14:07 +04:00
Alexey Milovidov
67ab83de9e dbms: ColumnArray: added support for method insertData [#METR-2944]. 2014-03-21 03:11:26 +04:00
Michael Kolupaev
4d201fa0e5 Merge 2014-03-20 21:34:40 +04:00
Michael Kolupaev
280dd19e63 Fixed SELECT without table. [#METR-10202] 2014-03-20 21:05:22 +04:00
Michael Kolupaev
6df8500852 Fixed dropping tables. [#METR-10202] 2014-03-20 17:28:49 +04:00
Michael Kolupaev
c5da5fd5f0 Merge 2014-03-20 17:00:42 +04:00
Michael Kolupaev
059e0f7e11 Fixed build. [#METR-10202] 2014-03-20 15:01:56 +04:00
Michael Kolupaev
e10125a052 Using IStorage locks properly in most places. Got rid of StoragePtr and DatabaseDropper. Drops are now synchronous. [#METR-10202] 2014-03-20 14:59:45 +04:00
Sergey Fedorov
730079e99d dbms: fixed bug with incorrect to_stage calculation in storage distributed [METR-10499] 2014-03-19 16:49:40 +04:00
Michael Kolupaev
d123bbc271 clickhouse: fixed bad_cast when formatting AST with PREWHERE. [#METR-10504] 2014-03-19 16:01:39 +04:00
Michael Kolupaev
4f46874933 added a couple of comments. [#METR-10202] 2014-03-19 15:44:41 +04:00
Michael Kolupaev
67c563a4d3 Added locks to IStorage. Some race conditions are fixed, some are introduced, along with some possible deadlocks. [#METR-10202] 2014-03-19 14:45:13 +04:00
Alexey Milovidov
9ffad47bdc dbms: fixed error [#METR-10489]. 2014-03-18 21:45:54 +04:00
Alexey Milovidov
68dd884b1f dbms: tiny modification [#METR-10489]. 2014-03-18 21:23:30 +04:00
Alexey Milovidov
ce98defebe dbms: fixed error [#METR-10489]. 2014-03-18 21:20:44 +04:00
Sergey Fedorov
a92d7255ef dbms: removed cerr in table function remote [METR-10477] 2014-03-18 17:19:22 +04:00
Sergey Fedorov
5d04a9ba34 dbms: bug-fix, exception on empty shard list in table function remote [METR-10477] 2014-03-18 16:40:50 +04:00
Alexey Milovidov
f7e2ba67c0 dbms: fixed error with query formatting [#METR-10476]. 2014-03-17 23:56:37 +04:00
Michael Kolupaev
0faca75b37 Merge 2014-03-17 22:27:43 +04:00
Alexey Milovidov
c55f193711 dbms: development [#METR-2944]. 2014-03-17 06:06:26 +04:00
Alexey Milovidov
315a3c200a dbms: development [#METR-2944]. 2014-03-17 06:01:03 +04:00
Alexey Milovidov
806003d19e dbms: removed old commented code [#METR-2944]. 2014-03-16 19:56:42 +04:00
Michael Kolupaev
758b1414a7 Merge 2014-03-14 21:19:38 +04:00
Michael Kolupaev
ba9315d264 Merge 2014-03-14 21:03:52 +04:00
Michael Kolupaev
420d5696ea clickhouse: fixed ARRAY JOIN in distributed queries without WHERE and aggregation. [#METR-10349] 2014-03-14 12:30:50 +04:00
Michael Kolupaev
d5e957818b Merge 2014-03-14 11:05:43 +04:00
Alexey Milovidov
ccc3da3148 ███████████: development [#METR-8766]. 2014-03-14 00:12:40 +04:00
Michael Kolupaev
2c81592a9b Merge 2014-03-13 23:36:28 +04:00
Michael Kolupaev
5b67cc94ce Small style change. [#METR-10202] 2014-03-13 23:14:25 +04:00
Michael Kolupaev
2a766770fc Merge 2014-03-13 23:07:17 +04:00
Michael Kolupaev
00d9c28571 Merge 2014-03-13 21:44:00 +04:00
Alexey Milovidov
1e44f91f00 dbms: fixed error in formatAST [#METR-10443]. 2014-03-13 21:30:58 +04:00
Michael Kolupaev
36a86a4fc9 Merge 2014-03-13 16:48:07 +04:00
Alexey Milovidov
b8218d64b8 dbms: Fixed accidentially introduced error [#METR-10377]. 2014-03-12 22:20:03 +04:00
Alexey Milovidov
34ef806287 dbms: fixed error [#METR-10377]. 2014-03-12 21:15:14 +04:00
Alexey Milovidov
3c4c400e68 dbms: formatAST: better [#METR-2944]. 2014-03-12 21:12:09 +04:00
Pavel Kartavyy
5df3318134 dbms: fixed possible race condition in alter [#METR-10242] 2014-03-12 18:44:17 +04:00
Michael Kolupaev
00b10d30df removed obsolete comment. [#METR-2807] 2014-03-11 11:32:51 +04:00
Alexey Milovidov
780e75252e Addition to prev. revision [#METR-2944]. 2014-03-10 22:10:44 +04:00
Alexey Milovidov
a022302ae4 dbms: better pretty-printing [#METR-2944]. 2014-03-10 22:01:26 +04:00
Alexey Milovidov
c23feaa671 dbms: tiny modification [#METR-2944]. 2014-03-10 19:58:30 +04:00
Alexey Milovidov
07b16db5b2 dbms: addition to prev. revision [#METR-2944]. 2014-03-10 18:49:36 +04:00
Alexey Milovidov
eb2542009c dbms: improved performance of short queries [#METR-2944]. 2014-03-10 18:47:04 +04:00
Alexey Milovidov
d2df453682 dbms: improved performance a little [#METR-2944]. 2014-03-10 17:26:44 +04:00
Alexey Milovidov
a75070d9c6 Addition to prev. revision [#METR-2944]. 2014-03-10 16:43:22 +04:00
Alexey Milovidov
88058d9971 dbms: improved performance of short queries [#METR-2944]. 2014-03-10 16:25:37 +04:00
Alexey Milovidov
913ef0a7a3 Addition to prev. revision [#METR-2944]. 2014-03-10 13:44:41 +04:00
Alexey Milovidov
a4778d81cd dbms: added trivial benchmark tool [#METR-2944]. 2014-03-10 13:36:20 +04:00
Alexey Milovidov
8c87b14c7f Fixed warnings on clang [#METR-2807]. 2014-03-10 08:17:17 +04:00
Alexey Milovidov
8149d2ced3 Fixed build [#METR-10384]. 2014-03-10 04:46:41 +04:00
Michael Kolupaev
be8855dcd2 fixed build; not it segfaults :) [#METR-10202] 2014-03-09 22:16:52 +04:00
Michael Kolupaev
989a316244 Merge 2014-03-09 21:58:27 +04:00
Michael Kolupaev
58ea3b108b Merge 2014-03-09 21:36:01 +04:00
Michael Kolupaev
96fb6da011 Merge 2014-03-09 18:24:04 +04:00
Michael Kolupaev
4aa88d6aab more locks in LRUCache; unlikely to affect anything. [#METR-10384] 2014-03-09 17:20:19 +04:00
Michael Kolupaev
dbddbf4244 fixed a typo in comment. [#METR-10377] 2014-03-07 23:21:38 +04:00
Alexey Milovidov
1eb66250c1 dbms: Fixed error with extremes and subqueries [#METR-10377]. 2014-03-07 22:19:14 +04:00
Michael Kolupaev
dcaa75fe9c clickhouse: probably fixed. [#METR-10364] 2014-03-07 16:10:37 +04:00
Michael Kolupaev
09777523b4 Revert "clickhouse: probably fixed a bug that would probably never be encountered in practice anyway. [#METR-10364]"
This reverts commit 796955dc18de92a63023d0379a89bfc16cf4e7ac.
2014-03-07 15:37:44 +04:00
Michael Kolupaev
2d812c3c25 clickhouse: probably fixed a bug that would probably never be encountered in practice anyway. [#METR-10364] 2014-03-07 15:34:47 +04:00
Michael Kolupaev
8c48291ecb clickhouse: fixed null pointer when using WITH TOTALS without HAVING. [#METR-9365] 2014-03-07 15:19:37 +04:00
Michael Kolupaev
1b3ec0e915 clickhouse: fixed creating unused tuples for IN sets in PKCondition. [#METR-10364] 2014-03-07 15:11:31 +04:00
Alexey Milovidov
3d0b31dfed dbms: probably better [#METR-10240]. 2014-03-07 08:04:02 +04:00
Alexey Milovidov
cd2e6663a5 dbms: tiny improvement [#METR-10240]. 2014-03-07 07:58:13 +04:00
Alexey Milovidov
b04e4ccf08 dbms: probably better [#METR-10240]. 2014-03-07 06:10:36 +04:00
Alexey Milovidov
3dfadb76ff dbms: fixed error with TOTALS and HAVING [#METR-10346]. 2014-03-06 23:27:11 +04:00
Pavel Kartavyy
07ebdaa173 dbms: removed useless code [#METR-10242] 2014-03-06 11:15:59 +04:00
Pavel Kartavyy
5bc75d93b5 dbms: ignore missing files [#METR-10242] 2014-03-05 23:39:34 +04:00
Pavel Kartavyy
774206e517 Revert "dbms: ignore missed columns in alter [#METR-10242]"
This reverts commit 9060ec63fb8d81741171213fa1689c7f202c7ea9.
2014-03-05 23:32:34 +04:00
Pavel Kartavyy
becc2e21c7 dbms: ignore missed columns in alter [#METR-10242] 2014-03-05 23:06:32 +04:00
Pavel Kartavyy
6f5c19d4b4 dbms: fixed deadlock in alter modify [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
0abe7f6435 dbms: added sync [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
2c1629a9d2 dbms: added exception for nested and array types [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
0b023ec06d dbms: added tab [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
108342491f dbms: added reset of cache in alter modify [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
9c269c7b81 dbms: removed useless [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
ada47dcc44 dbms: bugfixes in alter [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
631e315dea dbms: prohibited modification of any key column [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
68540416c6 dbms: added code to modify column type [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
50fc514bf8 Merge 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
259a5f88cb Merge 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
9ccf27f43e dbms: added modify to interpeter [#METR-10242] 2014-03-05 22:20:55 +04:00
Pavel Kartavyy
d836e42fc1 dbms: added modify to parser [#METR-10242] 2014-03-05 22:20:55 +04:00
Alexey Milovidov
c6bee512eb Revert "temporary tables: support of sending temporary talbes from client to server via tcp client, all previous versions should work fine with new one [METR-10071]"
This reverts commit 6e6ca1f129b685e6271de1ccaf48a32f7e137d9e.
2014-03-04 23:01:22 +04:00
Michael Kolupaev
d3874a1202 clickhouse: subqueries in IN update progress and can be cancelled (and added missing files). [#METR-10102] 2014-03-04 21:56:24 +04:00
Michael Kolupaev
785db68586 removed wrong comment. [#METR-2807] 2014-03-04 21:54:40 +04:00
Sergey Fedorov
8d012adee3 temporary tables: support of sending temporary talbes from client to server via tcp client, all previous versions should work fine with new one [METR-10071] 2014-03-04 19:31:56 +04:00
Pavel Kartavyy
95c801b2c6 Revert "clickhouse: subqueries in IN update progress and can be cancelled. [#METR-10102]"
This reverts commit 98eb21cee309e52fc8be378ebd7cec757b38300f.
2014-03-04 18:19:32 +04:00
Michael Kolupaev
9c3297f3a1 clickhouse: subqueries in IN update progress and can be cancelled. [#METR-10102] 2014-03-04 15:26:55 +04:00
Michael Kolupaev
789be91e46 clickhouse: fixed putting totals everywhere. [#METR-9365] 2014-03-04 11:59:38 +04:00
Alexey Milovidov
11001c52b4 dbms: fixed error [#METR-10257]. 2014-03-04 04:17:20 +04:00
Alexey Milovidov
c4b2c7804e dbms: probably better [#METR-10223]. 2014-03-04 00:22:39 +04:00
Alexey Milovidov
413b7a3b52 dbms: probably fixed error [#METR-10223]. 2014-03-04 00:11:09 +04:00
Alexey Milovidov
1fa6408cc2 dbms: fixed error [#METR-10255]. 2014-03-03 22:58:45 +04:00
Michael Kolupaev
73d7353f91 Fixed comments in RemoveColumnsBlockInputStream. [#METR-9750] 2014-03-03 12:29:01 +04:00
Alexey Milovidov
bd2be6023a dbms: don't log and use in processlist INSERT data [#METR-10258]. 2014-03-03 00:37:11 +04:00
Alexey Milovidov
dec6f09c41 dbms: tiny usability improvement [#METR-2944]. 2014-03-02 23:52:55 +04:00
Alexey Milovidov
f20d8967b1 dbms: tiny fix [#METR-2944]. 2014-03-02 23:36:53 +04:00
Alexey Milovidov
d1aeaedf61 dbms: added totals and extremes to Pretty* and TabSeparated* formats [#METR-9365]. 2014-03-02 23:16:45 +04:00
Alexey Milovidov
713d0c468e compressor: added --hc mode [#METR-2944]. 2014-03-02 09:12:51 +04:00
Alexey Milovidov
d52bb11916 dbms: Tiny improvement [#METR-10240]. 2014-03-02 08:02:41 +04:00
Alexey Milovidov
46cb5ea0a2 Merge 2014-03-02 00:37:04 +04:00
Alexey Milovidov
78e9b847e0 dbms: style [#METR-10255]. 2014-03-01 00:19:00 +04:00
Alexey Milovidov
792e5cf3f7 Revert "temporary tables: new non-shared variable in context, function getTemporaryTable and update in getTable [METR-10071]"
This reverts commit de688967bb3be4296a3d94551a9a3cee100411f6.
2014-02-28 23:01:32 +04:00
Sergey Fedorov
4a03fea462 temporary tables: new non-shared variable in context, function getTemporaryTable and update in getTable [METR-10071] 2014-02-28 19:01:52 +04:00
Sergey Fedorov
967677e8cf table functions: refixed table function analyzation in expression analyzer [METR-9750] 2014-02-28 17:28:42 +04:00
Michael Kolupaev
89e91f3dc4 Merge 2014-02-28 14:32:07 +04:00
Michael Kolupaev
60a03ff451 fixed test aggregating_stream. [#METR-9365] 2014-02-28 13:28:53 +04:00
Alexey Milovidov
6bfb411b51 dbms: fixed few tiny errors [#METR-10240]. 2014-02-28 05:06:44 +04:00
Alexey Milovidov
c69d1744a8 dbms: tiny modification [#METR-2807].. 2014-02-28 02:57:32 +04:00
Alexey Milovidov
caca73bc6a dbms: addition to prev. revision [#METR-10240]. 2014-02-28 02:35:49 +04:00
Alexey Milovidov
08ba2fabcd dbms: lowered dependencies [#METR-10240]. 2014-02-28 02:24:38 +04:00
Alexey Milovidov
0b3c0c1e01 Updated test [#METR-10240]. 2014-02-28 00:07:01 +04:00
Alexey Milovidov
4b49ba3520 dbms: Added test [#METR-10240]. 2014-02-27 22:24:29 +04:00
Michael Kolupaev
b0f079be0d setting for totals threshold with AFTER_HAVING_AUTO. [#METR-10223] 2014-02-27 17:12:56 +04:00
Michael Kolupaev
d83ff9ceb2 clickhouse: totals modes. [#METR-9365] 2014-02-27 16:53:38 +04:00
Michael Kolupaev
04f0056b0a clickhouse: totals mode: development. [#METR-9365] 2014-02-27 16:53:38 +04:00
Michael Kolupaev
3ec260bad2 Added setting for totals mode. [#METR-9365] 2014-02-27 16:51:58 +04:00
Alexey Milovidov
fee77d6c98 dbms: Fixed error with incorrect handling of weird case (column names with whitespaces) [#METR-10225]. 2014-02-26 23:50:04 +04:00
Alexey Milovidov
ca5de685e5 dbms: fixed error with IN [#METR-10219]. 2014-02-26 20:37:27 +04:00
Sergey Fedorov
b8059bc8e1 Merge 2014-02-26 15:45:37 +04:00
Sergey Fedorov
655e0d4934 virtual columns: fixed bug with Group by virtual column, bug when column appears in result more than once [METR-9172] 2014-02-26 14:59:56 +04:00
Sergey Fedorov
53929040b0 table functions: fixed error when expression analyzer throw exception on unknown function [METR-9750] 2014-02-26 14:52:22 +04:00
Michael Kolupaev
647a821822 fixed comment. [#METR-2807] 2014-02-26 13:06:23 +04:00
Sergey Fedorov
9319c7bfa7 table functions: Code Style fixes and readonly mode. [METR-9750] 2014-02-25 21:37:50 +04:00
Michael Kolupaev
ea1d7cc996 clickhouse-server: not crashing when users.xml is removed. [#METR-8956] 2014-02-25 13:54:25 +04:00
Michael Kolupaev
9715723665 clickhouse-server: users config path can be relative. [#METR-8956] 2014-02-24 16:53:21 +04:00
Michael Kolupaev
8b6bac01b3 not writing processed config to temp file (there's usually not enough permissions to put it in a convenient place). [#METR-8956] 2014-02-24 16:53:21 +04:00
Michael Kolupaev
496966b466 statdaemons: config processing: throwing if something goes wrong (except if an incl is not found); added comment to generated file. [#METR-8956] 2014-02-24 16:53:21 +04:00
Michael Kolupaev
18f0c5d2ac clickhouse: preprocessing users config. [#METR-8956] 2014-02-24 16:53:20 +04:00
Michael Kolupaev
4324cede4e small style fix. [#METR-9599] 2014-02-24 11:37:13 +04:00
Michael Kolupaev
c60a342884 clickhouse: slightly faster logical operations. [#METR-9599] 2014-02-24 11:11:32 +04:00
Alexey Milovidov
63cfb98339 Removed old sheets [#METR-8419]. 2014-02-24 03:48:12 +04:00
Alexey Milovidov
9a8e77673d Revert "dbms: Addition to prev. revision [#METR-9750]."
This reverts commit 0c8a6fa068e26accb1467f980d111bfae7215911.
2014-02-23 06:43:53 +04:00
Alexey Milovidov
6a6adc4de0 dbms: Addition to prev. revision [#METR-9750]. 2014-02-23 06:41:02 +04:00
Alexey Milovidov
5c71627f44 dbms: fixed TableFunctionRemote [#METR-9750]. 2014-02-23 06:27:09 +04:00
Alexey Milovidov
05615da00a dbms: Fixed leak [#METR-9750]. Enabled warning, fixed potential errors. 2014-02-23 04:37:25 +04:00
Alexey Milovidov
7ff4b92ee8 dbms: fixed error [#METR-8818]. 2014-02-23 02:48:45 +04:00
Alexey Milovidov
8cf5eb001a dbms: TableFunctionRemote, StorageDistributed: improvements [#METR-9750]. 2014-02-23 02:42:36 +04:00
Alexey Milovidov
f5f95b7cd6 dbms: Cluster: improvement; TableFunctionRemote: allowed to omit port number [#METR-9750]. 2014-02-23 01:50:27 +04:00
Alexey Milovidov
27928ba4ad Merge 2014-02-22 23:57:24 +04:00
Alexey Milovidov
7fda03243c dbms: a little better initialization of RNG [#METR-9599]. 2014-02-22 23:51:19 +04:00
Alexey Milovidov
a05dc756f8 Swapped two lines [#METR-2807]. 2014-02-22 21:53:42 +03:00
Alexey Milovidov
8e916ceeba dbms: Fixed NPE [#METR-8956]. 2014-02-22 00:02:57 +04:00
Pavel Kartavyy
101a056fb8 Removed suddenly reverted commit "Fixed error in prev. revision [#METR-10142]."
This reverts commit a1d4e27454689270855256fa00e6f73e954a316c.
2014-02-21 19:56:42 +04:00
Pavel Kartavyy
0a150faca5 Revert "Fixed error in prev. revision [#METR-10142]."
This reverts commit c139fa2b260ea9e0a77bc721767797b3cfaba0a8.
2014-02-21 19:14:10 +04:00
Alexey Milovidov
4ea2512504 Fixed error in prev. revision [#METR-10142]. 2014-02-21 06:46:51 +04:00
Alexey Milovidov
a7f5465b91 Fixed error in prev. revision [#METR-10142]. 2014-02-21 06:15:18 +04:00
Alexey Milovidov
b1e9204dcc Fixed performance issue [#METR-10142]. 2014-02-21 05:57:01 +04:00
Alexey Milovidov
63ff4c57b5 dbms: fixed garbage [#METR-9172]. 2014-02-21 00:05:06 +04:00
Alexey Milovidov
6c4427abd6 dbms: LRUCache: fixed error [#METR-9633]. 2014-02-20 22:08:23 +04:00
Michael Kolupaev
9a9eca1721 clickhouse: slightly faster logical functions on small blocks. [#METR-9599] 2014-02-20 12:19:27 +04:00
Michael Kolupaev
8351446de2 clickhouse: updated logical_functions_performance test. [#METR-9599] 2014-02-20 12:19:27 +04:00
Michael Kolupaev
c7b86469c4 fixed 2014-02-20 12:19:27 +04:00
Michael Kolupaev
3c03d7c372 clickhouse: added a program to measure logical functions performance. [#METR-9599] 2014-02-20 12:19:27 +04:00
Alexey Milovidov
9aff6c5278 dbms: added missing directory [#METR-9800]. 2014-02-20 04:41:12 +04:00
Alexey Milovidov
8e4b2ab015 dbms: removed useless define [#METR-2944]. 2014-02-20 04:15:18 +04:00
Alexey Milovidov
92863dd466 dbms: users config: compatibility with production [#METR-8956]. 2014-02-20 03:40:05 +04:00
Alexey Milovidov
8efd6ee42c dbms: sending only set/changed settings [#METR-10087]. 2014-02-17 23:56:45 +00:00
Alexey Milovidov
b7d93a3abb dbms: fixed conditional aggregate functions [#METR-10085]. 2014-02-17 23:46:27 +00:00
Sergey Fedorov
85946e3119 dbms: removed unused query_id variable from client.cpp [METR-8818] 2014-02-17 13:32:42 +00:00
Michael Kolupaev
25a33cdeed reverted accidentally committed changes. [#METR-8818] 2014-02-17 10:32:21 +00:00
Michael Kolupaev
228b2f6f8a clickhouse: client with string query_id now works with old-versioned server (probably for real this time). [#METR-8818] 2014-02-17 10:27:18 +00:00
Alexey Milovidov
339b730c4f dbms: tiny modification [#METR-2944]. 2014-02-16 21:14:41 +00:00
Alexey Milovidov
4cc8906d91 dbms: improvement [#METR-2944]. 2014-02-16 21:02:20 +00:00
Alexey Milovidov
4a0ea10e01 dbms: whitespaces [#METR-2944]. 2014-02-16 19:23:19 +00:00
Alexey Milovidov
7fb97708f3 dbms: removing old_ parts before attempt to merge [#METR-10069]. 2014-02-14 19:38:13 +00:00
Alexey Milovidov
63e5cfec04 dbms: fixed test [#METR-8956]. 2014-02-14 17:55:53 +00:00
Alexey Milovidov
5f70be6bdb dbms: added comment [#METR-8956]. 2014-02-14 17:38:33 +00:00
Sergey Fedorov
a2aa16b4c1 dbms: empty query_id support [METR-8818] 2014-02-14 15:59:01 +00:00
Sergey Fedorov
5c8db01a97 settings, process_list: set function for replace_running_query option, correct hashmap erasing in process_list [METR-8818] 2014-02-14 14:27:25 +00:00
Sergey Fedorov
b101457183 client: client with string query_id now works with old-versioned server [METR-8818] 2014-02-14 13:22:45 +00:00
Michael Kolupaev
b3c97fb277 clickhouse: fixed ORDER BY, removed obsolete comments. [#METR-9599] 2014-02-14 11:13:39 +00:00
Michael Kolupaev
c8c4096638 clickhouse: slightly faster logical operations. [#METR-9599] 2014-02-14 09:18:40 +00:00
Michael Kolupaev
c9bbd43433 clickhouse: fixed small bug in logical functions. [#METR-9599] 2014-02-13 11:32:45 +00:00
Michael Kolupaev
a493d85ca9 clickhouse: fixed a typo. [#METR-9599] 2014-02-13 11:21:06 +00:00
Michael Kolupaev
3e553f0ac4 clickhouse: fix for previous commit. [#METR-9599] 2014-02-13 11:13:20 +00:00
Michael Kolupaev
015fb32382 clickhouse: parsing multiple infix AND and OR into a function call with more than two arguments; fixed handling of variadic and and or in virtual columns and PKCondition. [#METR-9599] 2014-02-13 11:05:51 +00:00
Michael Kolupaev
df818b5b94 clickhouse: and, or and xor accept any number of arguments (no less than two); parsing, PKCondition and virtual columns not updated yet. [#METR-9599] 2014-02-13 10:24:56 +00:00
Michael Kolupaev
1b7ed4dba1 clickhouse-server: loading users, profiles and quotas form separate config file. [#METR-8956] 2014-02-13 07:17:22 +00:00
Sergey Fedorov
c74a21d4fc dbms: renamed variable, more accurate erasing from hashmap [METR-8818] 2014-02-12 17:44:48 +00:00
Sergey Fedorov
b75fe2f6eb dbms: query Id is String valued now, show process list also shows query_id, query_id is stored in processlist, now query could be replaced [METR-8818] 2014-02-12 17:31:02 +00:00
Michael Kolupaev
f8441f5efe clickhouse: fixed exception text and a bug in calculation of an unused value. [#METR-2807] 2014-02-12 12:51:54 +00:00
Sergey Fedorov
a1b0a7c454 functions: URLPathHierarchy implementation [METR-9922] 2014-02-11 19:18:38 +00:00
Sergey Fedorov
a182091621 storages: support for CREATE MATERIALIZED VIEW IF NOT EXISTS [METR-9965] 2014-02-11 18:54:31 +00:00
Sergey Fedorov
288fa5af8e table functions: removed cerr [METR-9750] 2014-02-11 18:38:58 +00:00
Sergey Fedorov
79feefb6a7 storages: index on virtual columns fully supported [METR-9172] 2014-02-11 18:38:21 +00:00
Sergey Fedorov
32634e018f table functions: remote now support username and password [METR-9750] 2014-02-11 17:11:57 +00:00
Sergey Fedorov
45dccb01b7 storages: index on virtual columns, huge optimization in queries like select smth where _host = .. [METR-9750] 2014-02-11 17:10:48 +00:00
Michael Kolupaev
92d8bdda28 Merge 2014-02-11 13:30:42 +00:00
Michael Kolupaev
df2e012943 clickhouse: added LRUCache and changed UncompressedCache to use it; added a test, fixed another test. [#METR-9633] 2014-02-11 11:05:02 +00:00
Michael Kolupaev
5fa9d07b35 clickhouse: fixed tiny flaw in PKCondition that prevented prewhere_test.sh from finding the bug mentioned in task. [#METR-9835] 2014-02-10 12:44:51 +00:00
Michael Kolupaev
217b5cf013 clickhouse: better test for PKCondition. [#METR-9835] 2014-02-10 12:10:18 +00:00
Michael Kolupaev
83b3ecb1c2 clickhouse: fixed bug with PREWHERE. [#METR-9835] 2014-02-10 10:49:56 +00:00
Michael Kolupaev
5fd53300a9 clickhouse: fixed progress indication and limits checks with PREWHERE. [#METR-9838] 2014-02-10 09:15:38 +00:00
Alexey Milovidov
b5923961ad dbms: allowed all rows to be removed while merging parts [#METR-9909]. 2014-02-09 22:07:01 +00:00
Alexey Milovidov
3ace33c0bc dbms: tiny fix in comment [#METR-2944]. 2014-02-09 21:22:54 +00:00
Sergey Fedorov
392b960ade storages: virtual column support functions [METR-9172] 2014-02-08 16:49:45 +00:00
Sergey Fedorov
b74904a4be storages: virtual column port in storag distributed now work properly [METR-9172] 2014-02-07 15:39:55 +00:00
Sergey Fedorov
092a954ed9 table functions: removed forward declarations in TableFunctionFactory [METR-9750] 2014-02-07 15:31:46 +00:00
Sergey Fedorov
93c7f5b6b3 table functions: few more comments [METR-9750] 2014-02-07 15:12:58 +00:00
Sergey Fedorov
325cc47ca5 table functions: implementation of function remote, updates in cluster and storageDistributed [METR-9750] 2014-02-07 15:11:57 +00:00
Sergey Fedorov
9a12e98414 functions: fixed bug with empty match in replaceRegexp [METR-9582] 2014-02-07 12:26:25 +00:00
Sergey Fedorov
ac08407ed6 functions: little fix in contants [METR-9582] 2014-02-06 17:02:32 +00:00
Sergey Fedorov
721d6d136f functions: fixed substitutions in replaceRegexp functions [METR-9582] 2014-02-06 16:54:41 +00:00
Sergey Fedorov
7ad57f4062 tableFunctions: updates in interface, fixed misspells in commets [METR-9750] 2014-02-06 16:21:00 +00:00
Alexey Milovidov
a2d1518f21 dbms: fixed error with ORDER BY in distributed queries without aggregation [#METR-9904]. 2014-02-05 15:09:30 +00:00
Alexey Milovidov
82d2733469 dbms: Client: don't require HOME environment variable [#METR-9900]. 2014-02-05 13:40:20 +00:00
Alexey Milovidov
16fd573314 dbms: fixed error with virtual columns [#METR-9172]. 2014-02-04 15:44:15 +00:00
Alexey Milovidov
47537c1f84 dbms: fixed error [#METR-2944]. 2014-02-03 04:00:56 +00:00
Alexey Milovidov
0e5195727f dbms: updated test [#METR-2944]. 2014-02-03 03:09:50 +00:00
Alexey Milovidov
2b2c765e99 dbms: fixed error [#METR-2944]. 2014-02-03 00:49:24 +00:00
Alexey Milovidov
3f8bb84690 dbms: fixed error [#METR-2944]. 2014-02-02 11:16:46 +00:00
Alexey Milovidov
432ae961ca dbms: fixed error [#METR-2944]. 2014-02-02 10:42:56 +00:00
Alexey Milovidov
0fe0e21c4b dbms: added aggregate function uniqExact [#METR-2944]. 2014-02-02 09:08:06 +00:00
Alexey Milovidov
6da9c1fc5d dbms: rearranged code [#METR-2944]. 2014-02-02 06:09:30 +00:00
Alexey Milovidov
dd21637d5e dbms: fixed error [#METR-9836]. 2014-02-01 01:40:53 +00:00
Alexey Milovidov
ab24d20f23 dbms: fixed error with PREWHERE [#METR-9837]. 2014-02-01 01:27:00 +00:00
Alexey Milovidov
82b98ffb6d dbms: fixed error with ARRAY JOIN [#METR-9753]. 2014-01-29 19:00:19 +00:00
Alexey Milovidov
91dbb13653 dbms: added support for negative array indices [#METR-9723]. 2014-01-29 01:59:01 +00:00
Pavel Kartavyy
827694fa39 clickhouse-server: bugfix [#METR-9464] 2014-01-28 19:26:42 +00:00
Pavel Kartavyy
e805aa1af5 dbms: bugfix [#METR-9464] 2014-01-28 19:26:41 +00:00
Pavel Kartavyy
7d01327b0d dbms: added sample setting to OLAP compability layer [#METR-9464] 2014-01-28 19:26:40 +00:00
Pavel Kartavyy
92d5a9c302 dbms: added default_sample [#METR-9464] 2014-01-28 19:26:39 +00:00
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
8beae0f470 functions: substitutions in replaceRegexp functions [METR-9582] 2014-01-28 13:02:37 +00:00
Sergey Fedorov
0e8477312f functions: replaceRegexpOne and replaceRegexpAll implementation [METR-9582] 2014-01-27 16:01:53 +00:00
Sergey Fedorov
1e220376cd storages: few more comments on virtual columns, couple of code style changes [METR-9172] 2014-01-27 13:52:01 +00:00
Sergey Fedorov
6c2507870e functions: replaceOne replaceAll implementation, few code-style changes [METR-9750] 2014-01-27 13:49:06 +00:00
Sergey Fedorov
c12f36b900 functions: replace implementation [METR-9582] 2014-01-23 14:26:12 +00:00
Sergey Fedorov
2c98354df3 functions: removed couple of unused date time funstions [METR-9582] 2014-01-23 12:12:55 +00:00
Sergey Fedorov
f8b5613b82 storages: Virtual columns for storage distributed + few style fixes [METR-9172] 2014-01-22 14:24:05 +00:00
Sergey Fedorov
14620b3347 Merge 2014-01-22 12:50:19 +00:00
Sergey Fedorov
1d874c5f95 functions: Relative Date-time functions + regionToContinent support [METR-9582] 2014-01-22 12:27:55 +00:00
Alexey Milovidov
3ba9a9ca4b dbms: fixed error [#METR-9664]. 2014-01-20 16:41:24 +00:00
Sergey Fedorov
cd8448d2c6 Removed unused file [METR-9172] 2014-01-17 15:43:15 +00:00
Sergey Fedorov
9cc974568e Merge 2014-01-17 15:19:20 +00:00
Sergey Fedorov
dba74f16f2 storages: fixed two warnings, which cause a compilation error [METR-9172] 2014-01-16 15:25:54 +00:00
Sergey Fedorov
5d00bf81ea streams: adding const column, important for virtual columns [METR-9172] 2014-01-16 15:19:50 +00:00
Sergey Fedorov
4bd32c8c81 common: utils for virtual columns [METR-9172] 2014-01-16 15:15:28 +00:00
Sergey Fedorov
da115c14f7 Merge 2014-01-16 14:52:13 +00:00
Michael Kolupaev
fd05f7ea53 clickhouse: fixed a leak of file descriptors and memory. [#METR-9664] 2014-01-15 16:12:48 +00:00
Michael Kolupaev
532945a535 dbms: refactored compressed read buffers. [#METR-9633] 2014-01-15 14:53:20 +00:00
Michael Kolupaev
589ed293c2 clickhouse: CachedCompressedReadBuffer is not wuite fixed yet; commenting it again. [#METR-9633] 2014-01-14 14:57:19 +00:00
Michael Kolupaev
69b90550cc dbms: fixed CachedCompressedReadBuffer::readBig. [#METR-9633] 2014-01-14 12:02:04 +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
Alexey Milovidov
841e866c68 Addition to prev. revision [#METR-8766]. 2014-01-11 20:04:07 +00:00
Sergey Fedorov
91609727a8 Merge 2014-01-10 13:24:50 +00:00
Alexey Milovidov
395d741212 Removed duplicated code [#METR-2807]. 2014-01-09 19:11:49 +00:00
Alexey Milovidov
eba56181d2 dbms: Added comment [#METR-2944]. 2014-01-09 13:39:06 +00:00
Alexey Milovidov
a1de392d32 Addition to prev. revision [#METR-8766]. 2014-01-08 19:05:50 +00:00
Alexey Milovidov
9c4043de67 Removed 'tr1' [#METR-2807]. 2014-01-08 16:33:28 +00:00
Alexey Milovidov
16ed91c728 dbms: tiny modification [#METR-2944]. 2014-01-08 16:23:31 +00:00
Alexey Milovidov
22fda035cc Allowed to use std::vector instead of DB::Array for Arrays in ssqls [#METR-8766]. 2014-01-05 13:40:11 +00:00
Alexey Milovidov
cb91ab992d dbms: fixed error [#METR-2944]. 2014-01-04 11:43:16 +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
b9d6fc48eb dbms: tiny modification [#METR-2944]. 2014-01-03 09:06:42 +00:00
Alexey Milovidov
fd414800d5 dbms: added ProfileEvents system [#METR-2944]. 2014-01-03 08:20:13 +00:00
Alexey Milovidov
af3d957de1 Addition to prev. revision [#METR-9578]. 2014-01-03 06:31:32 +00:00
Alexey Milovidov
5d7fb8ecce dbms: Fixed error with uninitialized data in FixedString columns [#METR-9621]. 2013-12-30 17:25:50 +00:00
Michael Kolupaev
1499c5df4a clickhouse: fixed ARRAY JOIN of constant array. [#METR-9373] 2013-12-30 13:13:53 +00:00
Michael Kolupaev
bdcc7d9e93 clickhouse: readable exception instead of NULL pointer for some higher order functions in some cases. [#METR-9254] 2013-12-30 13:08:47 +00:00
Alexey Milovidov
6e359ab5c5 Addition to prev. revision [#METR-2944]. 2013-12-27 18:01:53 +00:00
Alexey Milovidov
377d42c17e dbms: tiny improvement [#METR-2944]. 2013-12-27 17:43:36 +00:00
Michael Kolupaev
2b7863617d clickhouse: not allowing comparison between Date and DateTime. [#METR-2807] 2013-12-27 14:51:31 +00:00
Sergey Fedorov
d2fe6e0fa9 dbms: update in expression analyzer, now * is only for virtual columns 2013-12-27 14:11:11 +00:00
Michael Kolupaev
5ac8541e2b ClickHouse: changed readSuffix calling requirements to match what RemoteBlockInputStream expects; changed some streams to meet that requirements. It fixed segfault with DISTINCT with LIMIT from Distributed table. [#METR-9598] 2013-12-27 13:22:32 +00:00
Michael Kolupaev
aff4e40bc2 ClickHouse: disabled broken readBig in CachedCompressedReadBuffer. [#METR-9598] 2013-12-27 13:18:33 +00:00
Michael Kolupaev
e5835a412d clickhouse-client: small refactoring. [#METR-2807] 2013-12-27 11:11:21 +00:00
Sergey Fedorov
1a5f04d3bf Merge 2013-12-26 13:55:19 +00:00
Pavel Kartavyy
e78d87d9f3 dbms: added message [#METR-9462] 2013-12-26 09:42:32 +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
4a3827cd96 dbms: development [#METR-9462] 2013-12-24 14:00:18 +00:00
Michael Kolupaev
9b68bd4212 clickhouse: arrayEnumerateUniq now accepts multiple parallel arrays. [#METR-8821] 2013-12-24 11:56:38 +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
097405ff6f dbms: fixed error in CachedCompressedReadBuffer::readBig [#METR-2944]. 2013-12-23 05:56:59 +00:00
Alexey Milovidov
4289f599db dbms: fixed error with CachedCompressedReadBuffer::readBig [#METR-9091]. 2013-12-23 04:16:59 +00:00
Alexey Milovidov
2765113a08 dbms: removed old code [#METR-2944]. 2013-12-23 03:10:55 +00:00
Alexey Milovidov
e9d69e51a8 Merge 2013-12-23 03:10:12 +00:00
Alexey Milovidov
f382c50c4e dbms: fixed error in prev. revision [#METR-9091]. 2013-12-22 22:36:12 +00:00
Alexey Milovidov
3d3fef11eb dbms: fixed error in prev. revision [#METR-9091]. 2013-12-22 21:36:54 +00:00
Alexey Milovidov
947a7930a8 dbms: added missing readBig function [#METR-9091]. 2013-12-22 17:28:47 +00:00
Alexey Milovidov
7ed3228660 dbms: removed one virtual function call in aggregation inner loop [#METR-2944]. 2013-12-22 08:06:30 +00:00
Sergey Fedorov
32e0d8397e [dmbs and libs] Function toFirstDayOfQuarter in DateLUT and FunctonsDateTime [METR-9400] 2013-12-20 14:12:20 +00:00
Michael Kolupaev
c1e77fdc6c clickhouse-server: no timeout for insert query (previously you had to send at least one block each 5 minutes during an insert). [#METR-9093] 2013-12-20 10:07:10 +00:00
Alexey Milovidov
f1af3dadff dbms: tiny fix [#METR-9508]. 2013-12-19 19:01:08 +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
ce21a286af dbms: probably fixed error [#METR-9532]. 2013-12-17 19:45:18 +00:00
Alexey Milovidov
cad8abce91 Removed useless whitespace [#METR-2807]. 2013-12-17 19:40:23 +00:00
Sergey Fedorov
d930aa4f0c dbms: Rename all binary operations from bitwise* to bit* (e.g. bitwiseAnd -> bitAnd) [METR-9508] 2013-12-17 16:06:52 +00:00
Sergey Fedorov
1fb34154c6 dbms, ParserCreateQuery: fixed using uninitialized variable [METR-9531] 2013-12-17 14:07:59 +00:00
Sergey Fedorov
be3f3beb3d dbms: Two new binary operations: FunctionBitwiseShiftLeft and FunctionBitwiseShiftRight, and one new function - FunctionHostName [METR-9508] 2013-12-17 13:49:21 +00:00
Alexey Milovidov
dac017c03d dbms: fixed error with FINAL [#METR-9514]. 2013-12-16 07:12:30 +00:00
Alexey Milovidov
6d49edfecb dbms: addition to prev. revision [#METR-9515]. 2013-12-16 05:32:08 +00:00
Alexey Milovidov
92c74bb0ff dbms: probably fixed error [#METR-9515]. 2013-12-16 05:27:38 +00:00
Alexey Milovidov
cb03078f47 dbms: probably fixed error [#METR-9515]. 2013-12-16 05:12:55 +00:00
Alexey Milovidov
42fabf4936 dbms: probably fixed error with sorting arrays [#METR-9515]. 2013-12-16 04:30:21 +00:00
Alexey Milovidov
febe35c0bf dbms: OPTIMIZE query is merging aggressive [#METR-9516]. 2013-12-16 03:51:30 +00:00
Alexey Milovidov
8d53dcde32 dbms: improved performance for small queries [#METR-8582]. 2013-12-16 02:32:00 +00:00
Sergey Fedorov
6fb0caf597 Merge 2013-12-13 16:20:06 +00:00
Sergey Fedorov
9ba96ea811 merge tree: sharedptr buf fixed, correct calculating directory size in bytes, a few more changes [METR-9279] [METR-9444] 2013-12-13 14:23:04 +00:00
Michael Kolupaev
f5b30483e1 ███████████: reading metrage data; not using it yet, and consuming lots of memory. [#METR-9093] 2013-12-13 12:53:17 +00:00
Alexey Milovidov
27e0b89026 dbms: fixed error [#METR-9454]. 2013-12-13 01:51:57 +00:00
Alexey Milovidov
bda42aec99 Fixed build [#METR-2807]. 2013-12-13 00:05:20 +00:00
Alexey Milovidov
0a40b9f24c dbms: fixed one of errors [#METR-9454]. 2013-12-12 22:55:47 +00:00
Sergey Fedorov
aa56701c8a merge tree: fixed incorrect usage of Singleton [METR-9279] [METR-9444] 2013-12-12 15:12:18 +00:00
Sergey Fedorov
4787aefff9 merge tree: update in CurrentlyMergingInfo. Now looking on available disk space before merge [METR-9279] [METR-9444] 2013-12-12 14:11:40 +00:00
Sergey Fedorov
ee1fff79f2 merge tree: fixed currently merging vulnerability, added singleton with total merging files size [METR-9279] [METR-9444] 2013-12-12 13:54:16 +00:00
Sergey Fedorov
15989ee930 merge tree test: updates in logic, removed compilation warnings [METR-9279] 2013-12-12 11:39:52 +00:00
Alexey Milovidov
c9fe09e8ab dbms: probably fixed error [#METR-9463]. 2013-12-12 00:50:54 +00:00
Alexey Milovidov
df90b0bbce dbms: investigating error [#METR-9463]. 2013-12-11 20:44:06 +00:00
Michael Kolupaev
c2888905e3 dbms: Added a small comment to CachedCompressedReadBuffer. [#METR-2807] 2013-12-11 13:36:07 +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
d930b49c75 dbms: can change load_balancing in runtime [#METR-9350] 2013-12-11 11:51:01 +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
89361fb78c dbms: less copying while decompressing [#METR-8582]. 2013-12-09 04:03:49 +00:00
Alexey Milovidov
a5d93468eb dbms: tiny improvement [#METR-8582]. 2013-12-09 00:40:15 +00:00
Alexey Milovidov
9690a3003b Merge 2013-12-09 00:29:24 +00:00
Alexey Milovidov
489696281e dbms: tiny improvement [#METR-8582]. 2013-12-09 00:23:17 +00:00
Alexey Milovidov
e5a6cc5436 dbms: fixed error [#METR-9007]. 2013-12-08 05:18:22 +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
3a4b4303ca ClickHouse: fixed a tiny special case for PREWHERE. [#METR-9392] 2013-12-06 09:02:19 +00:00
Michael Kolupaev
c3fec760f8 ClickHouse: fixed ORDER BY with constants. [#METR-9392] 2013-12-06 09:01:31 +00:00
Pavel Kartavyy
74309378d7 dbms: development [#METR-9268] 2013-12-05 17:39:33 +00:00
Pavel Kartavyy
c6aabe89e4 dbms: limited timeouts to be less than limits.max_execution_time [#METR-9268] 2013-12-05 17:24:05 +00:00
Michael Kolupaev
54bbe1f361 ClickHouse: fixed toFixedString exception text. [#METR-9091] 2013-12-05 13:15:04 +00:00
Michael Kolupaev
857cebea6f ClickHouse: small fixes for PREWHERE. [#METR-9091] 2013-12-05 13:07:55 +00:00
Michael Kolupaev
ad95a4f6d5 Missing changes for previous revision. [#METR-9091] 2013-12-05 12:47:05 +00:00
Michael Kolupaev
e4dbb2fa34 ClickHouse: added a method for debugging. [#METR-9091] 2013-12-05 12:46:29 +00:00
Michael Kolupaev
c621ed95b9 ClickHouse: fixed occasional segfault with PREWHERE; added check for isCancelled() during reading with PREWHERE. [#METR-9091] 2013-12-05 12:41:47 +00:00
Michael Kolupaev
6135f27af0 ClickHouse: added a test for PREWHERE. [#METR-9091] 2013-12-04 10:17:43 +00:00
Michael Kolupaev
8cb3822e64 Merge 2013-12-04 10:14:35 +00:00
Michael Kolupaev
b489295fe3 ClickHouse: added checks for non-positive FixedString size. [#METR-9091] 2013-12-04 10:02:43 +00:00
Sergey Fedorov
67745b8a7e Merge 2013-12-03 16:14:36 +00:00
Sergey Fedorov
544f935bcf Merge 2013-12-03 16:10:20 +00:00
Sergey Fedorov
10918b67cc Merge 2013-12-03 15:06:59 +00:00
Sergey Fedorov
2bc11e4271 Merge 2013-12-03 14:40:20 +00:00
Michael Kolupaev
49a129c829 ClickHouse: added toFixedString function. [#METR-9091] 2013-12-03 10:19:57 +00:00
Michael Kolupaev
d2010d7876 ClickHouse: fixed FixedString. [#METR-9372] 2013-12-03 10:01:04 +00:00
Michael Kolupaev
6f46eb052c fixed a typo. [#METR-2807] 2013-12-03 07:56:51 +00:00
Michael Kolupaev
034df57321 ClickHouse: working PREWHERE section. [#METR-9091] 2013-12-02 12:15:39 +00:00
Michael Kolupaev
71d5ea9ec1 removed changes accidentally committed in previous revision. [#METR-9091] 2013-12-02 09:48:57 +00:00
Michael Kolupaev
4d85e7b1a4 Merge 2013-12-02 09:46:30 +00:00
Alexey Milovidov
ff7cd145ca Merge 2013-11-30 18:43:59 +00:00
Alexey Milovidov
4eb7ba0e60 dbms: more clear code [#METR-2944]. 2013-11-29 22:10:15 +00:00
Alexey Milovidov
629a224230 dbms: hopefully fixed error [#METR-9342]. 2013-11-29 18:44:02 +00:00
Sergey Fedorov
6a100c0117 Merge 2013-11-29 16:15:12 +00:00
Alexey Milovidov
b3f0d43ba6 dbms: hope fixed error [#METR-9342]. 2013-11-29 15:04:07 +00:00
Michael Kolupaev
812127899d UnionBlockInputStream: fixed possible deadlock. [#METR-9007] 2013-11-29 12:25:54 +00:00
Alexey Milovidov
aa3ed8bc66 dbms: fixed race condition [#METR-9344]. 2013-11-29 08:08:43 +00:00
Alexey Milovidov
5190fb4de9 dbms: fixed diagnostic 'Empty query' [#METR-9342]. 2013-11-28 20:09:38 +00:00
Alexey Milovidov
2a18d735df dbms: fixed error (error not returned from HTTP handler) [#METR-9342]. 2013-11-28 20:05:54 +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
Pavel Kartavyy
26f58e99d0 Merge 2013-11-28 10:31:21 +00:00
Pavel Kartavyy
de71157b10 StorageDistributed: development [#METR-9244] 2013-11-28 10:31:17 +00:00
Sergey Fedorov
831d6cfb4a Merge 2013-11-27 16:45:01 +00:00
Sergey Fedorov
5c95506548 Merge 2013-11-27 16:41:48 +00:00
Evgeniy Gatov
b61eadf4db dbms: fixed test [#METR-9091]. 2013-11-27 15:09:42 +00:00
Sergey Fedorov
5539ea6c6b Merge 2013-11-27 14:57:23 +00:00
Evgeniy Gatov
6cac6bc21d dbms: fix [#METRIKASUPP-2726]. 2013-11-27 14:19:50 +00:00
Michael Kolupaev
75567adb51 Merge 2013-11-26 11:55:11 +00:00
Michael Kolupaev
d5ebfa5076 ClickHouse: IDataType::deserializeBinary now appends to column. Previously it was appending for some types and overwriting for others. [#METR-9091] 2013-11-26 10:18:09 +00:00
Michael Kolupaev
606a2ad942 ClickHouse: fixed UnionBlockInputStream freezing interactive queries in some cases. [#METR-9007] 2013-11-25 12:32:43 +00:00
Michael Kolupaev
0bc7b868a1 ClickHouse: fixed UnionBlockInputStream calling readSuffixImpl during a call to readImpl. Better invariant for IBlockInputStream::readSuffix(). [#METR-9007] 2013-11-25 10:46:25 +00:00
Sergey Fedorov
d96c682c22 dbms: fix default constructor in ASTDropQuery [#METR-9076] 2013-11-20 16:26:38 +00:00
Sergey Fedorov
1de8ddb8df dbms: Pushing to Views fixed workflow with constant columns [#METR-9076] 2013-11-20 16:02:45 +00:00
Alexey Milovidov
0dd758d101 dbms: addition to prev. revision [#METR-9007]. 2013-11-20 01:48:23 +00:00
Alexey Milovidov
98bb9bb33e dbms: probably fixed error [#METR-9007]. 2013-11-20 01:42:24 +00:00
Alexey Milovidov
105d10de5f dbms: probably fixed error [#METR-9194]. 2013-11-20 00:49:47 +00:00
Alexey Milovidov
beaf9c100c dbms: reverted incomplete modification [#METR-2944]. 2013-11-19 20:12:10 +00:00
Alexey Milovidov
025531e1c5 dbms: better [#METR-9194]. 2013-11-18 19:18:03 +00:00
Alexey Milovidov
e36408e473 dbms: better [#METR-9194]. 2013-11-18 17:17:45 +00:00
Alexey Milovidov
ad37fa5777 dbms: probably fixed error [#METR-9194]. 2013-11-18 01:35:24 +00:00
Alexey Milovidov
bcede415a9 dbms: improvement for small blocks [#METR-2944]. 2013-11-17 21:52:09 +00:00
Alexey Milovidov
2783d952ad dbms: added test [#METR-2944]. 2013-11-17 19:18:27 +00:00
Alexey Milovidov
405f03d437 dbms: less copying of blocks; improvement [#METR-2944]. 2013-11-17 19:14:17 +00:00
Alexey Milovidov
037b52e848 Fixed warning [#METR-2807]. 2013-11-16 16:44:43 +00:00
Alexey Milovidov
5dfa8e3234 Fixed incompatibility with c++11 [#CONV-2807]. 2013-11-16 15:57:00 +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
Pavel Kartavyy
06759d5f3e dbms: style fix 2013-11-13 09:47:12 +00:00
Alexey Milovidov
daae9e3603 dbms: better exception message [#METR-9180]. 2013-11-12 23:32:04 +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
Alexey Milovidov
e604345d25 dbms: fixed error [#METR-9176]. 2013-11-11 17:56:41 +00:00
Alexey Milovidov
71ed66ff2c dbms: tiny improvement [#METR-2807]. 2013-11-11 05:35:58 +00:00
Alexey Milovidov
9fbaa3f823 dbms: removed now-useless log message [#METR-2944]. 2013-11-11 03:38:40 +00:00
Sergey Fedorov
b6b40d4c4e dbms: View and Materialized View implementation [#METR-9076] 2013-11-08 17:43:03 +00:00
Michael Kolupaev
e38ee8343a dbms: fast seek in ReadBufferFromFile[Descriptor] and a speed test for it. [#METR-2807] 2013-11-08 12:27:44 +00:00
Alexey Milovidov
4b01316b72 dbms: fixed error with sorting unsigned numbers [#METR-9053]. 2013-11-07 19:50:53 +00:00
Alexey Milovidov
cfa15da86e dbms: OLAP compatibility: fixed error [#METR-9158]. 2013-11-06 19:33:04 +00:00
Alexey Milovidov
2b83e43945 dbms: OLAP compatibility: fixed error [#METRIKASUPP-2523]. 2013-11-05 17:17:29 +00:00
Alexey Milovidov
0bef5d4eed dbms: fixed error in error messages [#METR-2944]. 2013-11-04 02:41:11 +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
b3a5b32f50 dbms: SplittingAggregator: development [#METR-2944]. 2013-11-04 00:07:50 +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
5954b96c81 dbms: fixed error in prev. revision [#METR-8459]. 2013-11-03 05:34:28 +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
e745aa0cee dbms: Client: better [#METR-2944]. 2013-11-03 05:12:04 +00:00
Alexey Milovidov
4a4c7e7f60 dbms: addition to prev. revision [#METR-2944]. 2013-11-03 01:13:37 +00:00
Alexey Milovidov
e534a76eb4 dbms: Server: sending progress at end; Client: rearranged progress info [#METR-2944]. 2013-11-03 01:12:10 +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
a3caaef38a dbms: better exception handling [#METR-2944]. 2013-11-02 23:42:10 +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
a907109ff8 Field: removed useless hash function [#METR-2807]. 2013-11-02 22:20:58 +00:00
Alexey Milovidov
831ec21083 dbms: better synchronization of sending data [#METR-2944]. 2013-11-02 21:18:54 +00:00
Alexey Milovidov
790f224e56 dbms: probably fixed error (infinite loop in WriteBufferFromPocoSocket::nextImpl) [#METR-2944]. 2013-11-02 05:39:07 +00:00
Alexey Milovidov
bfd9038acc dbms: better [#METR-2944]. 2013-11-02 03:56:17 +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
6a12f5a43a dbms: fixed error [#METR-9119]. 2013-10-31 19:24:22 +00:00
Alexey Milovidov
a10905163b dbms: fixed error [#METR-8975]. 2013-10-31 18:38:34 +00:00
Alexey Milovidov
943a4e0544 dbms: fixed error [#METR-9118]. 2013-10-31 18:20:52 +00:00
Sergey Fedorov
be738dc12b dbms: Erase extra includes in StorageView.cpp and extra variables in Parser [#METR-9076] 2013-10-30 14:04:27 +00:00
Sergey Fedorov
07bbedc07d dbms: added support for simple VIEW engine. [#METR-9076] 2013-10-30 13:52:02 +00:00
Sergey Fedorov
b56af16ca6 programs: indicate name of the columns in the insert query in ███████████ and ███████████ [#METR-9081] 2013-10-30 09:23:37 +00:00
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
b3ba5e4cab dbms: Support columns in Insert query, bug-fix and Code Style fixes [#METR-8975] 2013-10-28 14:43:36 +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
Alexey Milovidov
472f82e2f7 dbms: Client: fixed locking in non-interactive mode with INSERT query and only embedded data [#METR-2944]. 2013-10-24 23:02:02 +00:00
Michael Kolupaev
7ea3db5282 ClickHouse: arrayEnumerateUniq 5.5 times faster. [#METR-8821] 2013-10-24 12:53:24 +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
124e7c4557 dbms: fixed failover [#METR-9048]. 2013-10-23 19:35:43 +00:00
Alexey Milovidov
b65bb6cbe2 dbms: StorageChunks: changed error to warning in log [#METR-2944]. 2013-10-22 19:11:33 +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
542e79fed4 dbms: Client: don't write message about syntax error two times in non-interactive mode [#METR-8967]. 2013-10-22 16:37:46 +00:00
Sergey Fedorov
2320e08fd9 [METR-8967] Bug-fix: parseQuery will now return correct exit message if failed 2013-10-22 12:17:21 +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
Pavel Kartavyy
20da4e0a2b dbms: make TABLE to be optional world in DESC query [#CONV-8911] 2013-10-21 11:06:26 +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
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
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
566a11698e dbms: sending progress: little better [#CONV-2944]. 2013-10-14 20:24:20 +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
Alexey Milovidov
e513f8a314 dbms: fixed build [#CONV-2944]. 2013-10-11 18:38:35 +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
a997258e26 dbms: OLAP compatibility: multiple categories [#CONV-8848]. 2013-10-11 00:27:28 +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
Alexey Milovidov
5f2df7adc2 dbms: fix for quota [#JIRA is in read-only state]. 2013-10-10 18:13:47 +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
Michael Kolupaev
6745803ef7 Merge 2013-10-03 12:13:16 +00:00
Michael Kolupaev
43fc9b09d8 Merge 2013-10-02 15:33:18 +00:00
Alexey Milovidov
4ebdcee47e dbms: addition to prev. revision [#CONV-8806]. 2013-10-01 20:39:26 +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
Michael Kolupaev
d2b63a74a0 Fixed IN with subqueries in some cases. [#CONV-8804] 2013-10-01 13:16:10 +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
4fb4a93302 dbms: Client: tiny improvement [#CONV-2944]. 2013-09-30 01:42:20 +00:00
Alexey Milovidov
ecb0434e8f dbms: Client: tiny improvement [#CONV-2944]. 2013-09-30 01:41:23 +00:00
Alexey Milovidov
0629fb4fdd Merge 2013-09-30 01:29:19 +00:00
Alexey Milovidov
48c0c836da dbms: OLAP compatibility: fixed error [#METRIKASUPP-2536]. 2013-09-27 19:51:23 +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
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
83fa6f7c9f benchmark: updated log parser[#CONV-8419] 2013-09-23 13:46:59 +00:00
Pavel Kartavyy
47b35ec5ce benchmark: added progress table, describing what was and wasn't tested and description of stand[#CONV-8419] 2013-09-23 12:39:00 +00:00
Pavel Kartavyy
21d29773e6 benchmark: added logs for mysql[#CONV-8419] 2013-09-23 12:22:05 +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
Pavel Kartavyy
37ed6f55d4 dbms: fixed error with missed .mrk file [#CONV-2944] 2013-09-19 15:20:31 +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
Pavel Kartavyy
c12cf8fe1a benchmark: added logs for tuned hive[#CONV-8419] 2013-09-18 09:06:10 +00:00
Pavel Kartavyy
ce4725fe30 benchmark: added new logs for monetdb [#CONV-8419] 2013-09-17 16:04:30 +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
ac7035ed0e dbms: addition to prev. revision [#CONV-2944]. 2013-09-15 11:16:11 +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
df9f14ac3b dbms: more easy startup after server fault [#CONV-2944]. 2013-09-15 01:41:09 +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
f9e426cf20 dbms: fixed locking of connection when cancel is sent before start of query processing [#CONV-2944]. 2013-09-14 07:58:42 +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
25e36aebc4 dbms: fixed leak [#CONV-8383]. 2013-09-14 00:39:34 +00:00
Alexey Milovidov
a47faab727 dbms: style [#CONV-2807]. 2013-09-13 23:52:10 +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
Pavel Kartavyy
d7eb7a1cf1 benchmark: fixed killif.sh [#CONV-8419] 2013-09-13 12:50:54 +00:00
Pavel Kartavyy
108904c437 benchmark: updated script files, removed useless log[#CONV-8419] 2013-09-12 18:27:56 +00:00
Pavel Kartavyy
2d8d8bc7ae benchmark: updated log files for infinidb [$CONV-8419] 2013-09-12 18:19:34 +00:00
Pavel Kartavyy
b0fadc6216 benchmark: added clickhouse log files for new data[#CONV-8419] 2013-09-12 18:10:20 +00:00
Pavel Kartavyy
18b36efc4a benchmark: updated logs for monetdb [#CONV-8419] 2013-09-12 17:42:18 +00:00
Pavel Kartavyy
370fa0f863 benchmark: added hive scripts and logs for 10m [#CONV-8419] 2013-09-12 17:37:28 +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
8d8b96480b dbms: updated test [#CONV-8661]. 2013-09-09 02:23:36 +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
35a6b621f4 dbms: tiny improvement [#CONV-2944]. 2013-09-06 23:43:11 +00:00
Alexey Milovidov
4100af9724 dbms: little better [#CONV-2944]. 2013-09-06 23:05:57 +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
Pavel Kartavyy
b47d208790 benchmark: updated process log script[#CONV-8419] 2013-09-05 09:03:29 +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
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
Pavel Kartavyy
62c12dded7 benchmark: added scripts for infobright[#CONV-8419] 2013-09-03 12:52:58 +00:00
Pavel Kartavyy
69458953ae benchmark: added scripts for infinidb[#CONV-8419] 2013-09-03 10:04:35 +00:00
Pavel Kartavyy
6f8e71c979 benchmark: added script and log files for monetdb [#CONV-8419] 2013-09-03 10:00:52 +00:00
Alexey Milovidov
e9551970fb dbms: Aggregator: fixed error [#CONV-8366]. 2013-09-02 20:28:18 +00:00
Alexey Milovidov
8c4ed5a651 dbms: fixed JSON [#CONV-7445]. 2013-09-02 15:32:17 +00:00
Alexey Milovidov
85770ac762 dbms: addition to prev. revision [#CONV-8366]. 2013-09-01 05:07:54 +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
a1276315cc dbms: fixed indent [#CONV-2807]. 2013-08-30 19:21:40 +00:00
Pavel Kartavyy
7cf36180bb benchmark: added log of fixed queries in vertica 2013-08-30 09:09:20 +00:00
Evgeniy Gatov
3216072492 dbms/Server, programs/███████████, ███████████: added CorrectedTraficSourceID, CorrectedSerachEngineID [#CONV-7968]. 2013-08-29 17:54:37 +00:00
Pavel Kartavyy
fc7a15a01d benchmark: updated log files for vertica[#CONV-8419] 2013-08-29 11:56:37 +00:00
Pavel Kartavyy
8911c682e7 benchmark: Updated log files[#CONV-8419] 2013-08-29 11:37:34 +00:00
Alexey Milovidov
05851727d5 dbms: improved performance of string search [#CONV-8419]. 2013-08-29 03:30:47 +00:00