Commit Graph

1788 Commits

Author SHA1 Message Date
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
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
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
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
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
Michael Kolupaev
d42352149d dbms: DISTINCT before ORDER BY. [#METR-9627] 2014-03-28 20:08:48 +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
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
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
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
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
8bbee1f1c1 dbms: Added HashingWriteBuffer and a unit test. [#METR-10202] 2014-03-27 12:12:32 +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
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
Michael Kolupaev
08f4af22e1 Merge 2014-03-24 17:59:04 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
d1aeaedf61 dbms: added totals and extremes to Pretty* and TabSeparated* formats [#METR-9365]. 2014-03-02 23:16:45 +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
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
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
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
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
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
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
63ff4c57b5 dbms: fixed garbage [#METR-9172]. 2014-02-21 00:05:06 +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
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
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
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
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
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
1b7ed4dba1 clickhouse-server: loading users, profiles and quotas form separate config file. [#METR-8956] 2014-02-13 07:17:22 +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
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
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
Alexey Milovidov
b5923961ad dbms: allowed all rows to be removed while merging parts [#METR-9909]. 2014-02-09 22:07:01 +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
325cc47ca5 table functions: implementation of function remote, updates in cluster and storageDistributed [METR-9750] 2014-02-07 15:11:57 +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
0e5195727f dbms: updated test [#METR-2944]. 2014-02-03 03:09:50 +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
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
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
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
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
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
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
936fc15640 clickhouse: better error message when an aggregate function is missing. [#METR-9590] 2014-01-13 11:29:24 +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
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
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
fd414800d5 dbms: added ProfileEvents system [#METR-2944]. 2014-01-03 08:20:13 +00:00
Michael Kolupaev
1499c5df4a clickhouse: fixed ARRAY JOIN of constant array. [#METR-9373] 2013-12-30 13:13:53 +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
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
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
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
2765113a08 dbms: removed old code [#METR-2944]. 2013-12-23 03:10:55 +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
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
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
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
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
df90b0bbce dbms: investigating error [#METR-9463]. 2013-12-11 20:44:06 +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
9690a3003b Merge 2013-12-09 00:29:24 +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
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
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
6135f27af0 ClickHouse: added a test for PREWHERE. [#METR-9091] 2013-12-04 10:17:43 +00:00
Sergey Fedorov
67745b8a7e Merge 2013-12-03 16:14:36 +00:00