Commit Graph

2359 Commits

Author SHA1 Message Date
Sergey Fedorov
6395e841f9 Merge 2014-03-28 18:36:24 +04:00
Michael Kolupaev
fd6cf4974d clickhouse-client: multiquery support. [#METR-10639] 2014-03-28 17:47:55 +04:00
Michael Kolupaev
43b2fe717f clickhouse-client: fixed inserting data from stdin query. [#METR-2807] 2014-03-28 16:43:47 +04:00
Sergey Fedorov
a6c110d03c dbms: fixed comments on clearing block input stream after receiving external tables [METR-10071] 2014-03-28 16:19:59 +04:00
Sergey Fedorov
535fadf131 dbms: fixed checking aggregate function names with "Array" suffix [METR-10366] 2014-03-28 16:19:59 +04:00
Sergey Fedorov
9d3da47428 protocol: commets on sending external tables [METR-10071] 2014-03-28 16:19:59 +04:00
Michael Kolupaev
25f5d03f77 dbms: (Warning: this commit makes clickhouse distributed queries incompatible with previous versions) Improved distributed query processing: more stages and optimizations are now made on remote side. Significantly reduced spaghettiness of InterpreterSelectQuery. [#METR-10616] 2014-03-28 16:13:58 +04:00
Michael Kolupaev
3e4238c9a5 dbms: Added some test. [#METR-10616] 2014-03-28 14:23:57 +04:00
Alexey Milovidov
573d382b7b Merge 2014-03-28 00:32:49 +04:00
Alexey Milovidov
95a3cd2e9e dbms: AggregateFunctionArray: fixed performance issue [#METR-10366]. 2014-03-28 00:32:12 +04:00
Michael Kolupaev
784014f79a dbms: fixed removing arrayJoin from subquery. [#METR-9549] 2014-03-27 23:50:02 +04:00
Michael Kolupaev
852d35615c dbms: Fixed a bug. [#METR-10615] 2014-03-27 23:50:02 +04:00
Alexey Milovidov
eba3126077 dbms: style [#METR-10071]. 2014-03-27 23:09:23 +04:00
Alexey Milovidov
26848b6803 dbms: added pretty-formatting for GLOBAL IN; pedantic modifications in comments [#METR-10071]. 2014-03-27 21:58:25 +04:00
Alexey Milovidov
2c14e9be41 Merge 2014-03-27 21:46:49 +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