Commit Graph

2332 Commits

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