Commit Graph

2332 Commits

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