Commit Graph

1658 Commits

Author SHA1 Message Date
Sergey Fedorov
add1b80d7a dbms: fixed global_in inside aggregate function. [METR-10974] 2014-04-29 20:53:01 +04:00
Alexey Milovidov
c66979eafb dbms: addition to prev. revision [#METR-10988]. 2014-04-29 08:13:26 +04:00
Alexey Milovidov
7d534675af dbms: fixed error in prev. revision [#METR-10988]. 2014-04-29 07:33:10 +04:00
Alexey Milovidov
7d395ac826 dbms: unified hash tables: development [#METR-2944]. 2014-04-29 04:52:29 +04:00
Alexey Milovidov
897752de16 dbms: unified hash tables: development [#METR-2944]. 2014-04-29 04:28:18 +04:00
Alexey Milovidov
da3cec39b1 dbms: addition to prev. revision [#METR-10988]. 2014-04-29 04:25:12 +04:00
Alexey Milovidov
3e20b26fd2 dbms: HashTableAllocator: using mremap for large chunks; fixed error [#METR-10988]. 2014-04-29 04:24:13 +04:00
Alexey Milovidov
4bf42ea6e6 dbms: unified hash tables: development [#METR-2944]. 2014-04-28 06:47:56 +04:00
Alexey Milovidov
8232983714 dbms: unified hash tables: development [#METR-2944]. 2014-04-28 05:48:24 +04:00
Alexey Milovidov
b7092a7ab1 Merge 2014-04-28 00:47:28 +04:00
Sergey Fedorov
199738fee9 mergeTree: fixed bug with all_mark_ranges[i].end [METR-10931] 2014-04-25 18:56:32 +04:00
Michael Kolupaev
205b0bd908 Merge 2014-04-25 16:43:10 +04:00
Michael Kolupaev
94cae0b3ad dbms: not logging some useless info; added comment. [#METR-10202] 2014-04-25 12:46:40 +04:00
Alexey Milovidov
a0d87ca85e dbms: fixed error with big inserts through HTTP [#METR-10955]. 2014-04-25 00:18:00 +04:00
Alexey Milovidov
3b883d6b43 dbms: doc: development [#METR-10719]. 2014-04-24 22:49:07 +04:00
Michael Kolupaev
8bd16d3361 Merge 2014-04-24 14:20:02 +04:00
Sergey Fedorov
0fbd8a32be dbms: optimization of reading from files in merge tree [METR-10931] 2014-04-23 20:45:53 +04:00
Alexey Milovidov
aa3c0b6a8d dbms: tiny improvement [#METR-10931]. 2014-04-23 02:58:05 +04:00
Alexey Milovidov
b821e1420d Fixed style [#METR-10931]. 2014-04-23 02:52:00 +04:00
Alexey Milovidov
a3caebf31b dbms: tiny improvement [#METR-10931]. 2014-04-23 02:43:55 +04:00
Alexey Milovidov
6bec60bb39 dbms: external tables: fixed error [#METR-10071]. 2014-04-22 22:35:40 +04:00
Sergey Fedorov
c139a6d209 dbms: fixed bug in merge tree output stream: compression of min block now runs at the right moment [METR-10570] 2014-04-22 19:36:21 +04:00
Michael Kolupaev
dba95b4de5 Merge 2014-04-22 15:20:02 +04:00
Alexey Milovidov
554d329064 dbms: fixed WITH TOTALS and LIMIT/DISTINCT [#METR-10705]. 2014-04-21 20:09:04 +04:00
Sergey Fedorov
4c7dd4e269 dbms: storing settings and default database in client [METR-8983] 2014-04-18 17:59:39 +04:00
Michael Kolupaev
88644b2377 Merge 2014-04-18 15:05:30 +04:00
Michael Kolupaev
2ff0b62529 Merge 2014-04-18 14:37:26 +04:00
Michael Kolupaev
d5215ae37e Better handling of old checksums files. [#METR-10202] 2014-04-18 13:55:25 +04:00
Michael Kolupaev
68049a0162 Merge 2014-04-18 13:55:25 +04:00
Sergey Fedorov
d0452204ad dbms: profile event UncompressedCacheWeightLost [METR-10570] 2014-04-17 19:46:58 +04:00
Sergey Fedorov
a670bd654b dbms: no exception on zero index, added to the test [METR-10798] 2014-04-17 18:56:58 +04:00
Sergey Fedorov
e48c3d7b5e dbms: array element support non-constant index + test on new functionality [METR-10798] 2014-04-17 18:37:59 +04:00
Sergey Fedorov
342592bffb dbms: exception if client sends settings in readonly mod, client loads settings also from config file [METR-10801] 2014-04-15 17:36:32 +04:00
Sergey Fedorov
414af624c7 functions: Fixed. Function array now accept arguments of different types. Also added simple test [METR-10799] 2014-04-15 16:13:24 +04:00
Michael Kolupaev
07d9ab9bbf Merge 2014-04-14 17:13:20 +04:00
Michael Kolupaev
3dc646c066 Merge 2014-04-14 17:08:26 +04:00
Michael Kolupaev
ee6a647245 Merge 2014-04-14 14:56:06 +04:00
Michael Kolupaev
b9c4a3419a Merge 2014-04-14 14:19:38 +04:00
Michael Kolupaev
f362d03611 Merge 2014-04-14 14:19:38 +04:00
Michael Kolupaev
7fa79382f4 PushingToViewsBlockOutputStream: not calling storage->write() on each block, not copying a block. [#METR-10763] 2014-04-14 14:19:38 +04:00
Alexey Milovidov
027ff900dc dbms: added function to convert from FixedString [#METR-10840]. 2014-04-13 17:58:54 +04:00
Alexey Milovidov
fedcc0081a dbms: better [#METR-10841]. 2014-04-13 13:46:36 +04:00
Alexey Milovidov
813406b01b dbms: added line and column information in case of syntax error in multiline query [#METR-10728]. 2014-04-13 12:52:50 +04:00
Alexey Milovidov
1700e1f761 Revert "functions: function array now accept arguments of different types [METR-10799]"
This reverts commit 6a217ce09f5f1e7f3ed753d356f5548ae58498c7.
2014-04-12 20:34:10 +04:00
Alexey Milovidov
b5c63dade9 Merge 2014-04-12 20:11:06 +04:00
Alexey Milovidov
29186e8a17 dbms: improved code [#METR-10498]. 2014-04-12 19:49:36 +04:00
Michael Kolupaev
b2fa912b2c Merge 2014-04-11 20:56:49 +04:00
Michael Kolupaev
7ec176038c Merge 2014-04-11 17:05:20 +04:00
Sergey Fedorov
a67d4f7e11 functions: function array now accept arguments of different types [METR-10799] 2014-04-10 21:28:49 +04:00
Sergey Fedorov
39bdcbc819 client: all options from Limits.h could be set in client command line [METR-10801] 2014-04-10 21:07:57 +04:00
Michael Kolupaev
18a9a9e207 Merge 2014-04-10 16:31:03 +04:00
Pavel Kartavyy
3974dd8e1d dbms: in refactoring [#METR-10498] 2014-04-10 12:57:01 +04:00
Michael Kolupaev
524f376b2d Merge 2014-04-09 20:32:40 +04:00
Michael Kolupaev
e3dfe90ffe Merge 2014-04-09 19:53:47 +04:00
Sergey Fedorov
23e06540cb dbms: change fields names for sending external tables through http [METR-10071] 2014-04-09 17:32:00 +04:00
Pavel Kartavyy
6a15b2b588 dbms: in refactoring [#METR-10498] 2014-04-09 14:32:52 +04:00
Pavel Kartavyy
d038e8631a dbms: improvements [#METR-10498] 2014-04-09 11:28:44 +04:00
Michael Kolupaev
f0b55713f5 Merge 2014-04-08 21:45:27 +04:00
Sergey Fedorov
ecc697cd2c Merge 2014-04-08 19:29:12 +04:00
Sergey Fedorov
0ded5c5040 dbms: sending external table throw http [METR-10071] 2014-04-08 18:15:18 +04:00
Alexey Milovidov
63cff6a5a4 Improvement [#METR-2807]. 2014-04-08 11:58:53 +04:00
Alexey Milovidov
9dad91788b Improvement [#METR-2807]. 2014-04-08 11:47:51 +04:00
Alexey Milovidov
5ca21127c7 Improvement [#METR-2807]. 2014-04-08 11:31:51 +04:00
Alexey Milovidov
646421e45c dbms: fixed build [#METR-2944]. 2014-04-08 11:24:21 +04:00
Alexey Milovidov
be281c42a4 dbms: removed useless code [#METR-2944]. 2014-04-08 10:52:56 +04:00
Alexey Milovidov
34bf7dd0ae Removed useless code [#METR-2807]. 2014-04-08 10:51:53 +04:00
Alexey Milovidov
c0db3d0328 dbms: removed useless file [#METR-2944]. 2014-04-08 10:29:02 +04:00
Michael Kolupaev
c96e421982 Merge 2014-04-07 23:25:05 +04:00
Michael Kolupaev
7d5429655a Merge 2014-04-07 23:10:14 +04:00
Alexey Milovidov
8411f2ae32 dbms: fixed error with INSERT more than MAX_BLOCK_SIZE via HTTP [#METR-10789]. 2014-04-07 23:08:47 +04:00
Michael Kolupaev
afafcc85b4 Fixes. [#METR-10202] 2014-04-07 22:14:39 +04:00
Pavel Kartavyy
3e61e7b7f6 dbms: improvements [#METR-10498] 2014-04-07 21:43:50 +04:00
Pavel Kartavyy
6ad275725e dbms: add desciption of in [#METR-10498] 2014-04-07 20:29:25 +04:00
Pavel Kartavyy
049db94426 dbms: development [#METR-10498] 2014-04-07 20:29:25 +04:00
Pavel Kartavyy
bdeee5386b dbms: development [#METR-10498]
Signed-off-by: Pavel Kartavyy <kartavyy@yandex-team.ru>
2014-04-07 20:29:25 +04:00
Pavel Kartavyy
a737895eb4 build fix [#METR-10498] 2014-04-07 20:29:25 +04:00
Pavel Kartavyy
14168120f1 development [#METR-10498] 2014-04-07 20:29:25 +04:00
Pavel Kartavyy
2a408f2841 development [#METR-10498] 2014-04-07 20:29:25 +04:00
Michael Kolupaev
4e975b43ec Merge 2014-04-07 19:45:46 +04:00
Alexey Milovidov
a3efebda9d dbms: addition to prev. revision [#METR-10500]. 2014-04-07 04:09:19 +04:00
Alexey Milovidov
763f354b3d dbms: probably lowered latency of global distributed queries [#METR-10500]. 2014-04-07 04:00:23 +04:00
Alexey Milovidov
6f12e7f372 dbms: preparation [#METR-10500]. 2014-04-07 03:36:39 +04:00
Alexey Milovidov
d986afc319 dbms: ConnectionPoolWithFailover: better [#METR-10500]. 2014-04-07 03:15:27 +04:00
Alexey Milovidov
312feedecb dbms: removed virtual columns from StorageDistributed [#METR-9172]. 2014-04-07 01:59:27 +04:00
Alexey Milovidov
0f17a5798a dbms: StorageDistributed: don't need to specify sign column to use FINAL [#METR-2944]. 2014-04-07 01:39:48 +04:00
Alexey Milovidov
9174b461f2 dbms: tiny improvement [#METR-10718]. 2014-04-06 11:23:42 +04:00
Alexey Milovidov
8b3df69a46 dbms: removed useless variable [#METR-2944]. 2014-04-06 05:18:28 +04:00
Alexey Milovidov
cf5a86434d dbms: fixed error when uncompressed_cache or marks_cache is not set [#METR-2944]. 2014-04-05 23:54:00 +04:00
Alexey Milovidov
9f4f900920 dbms: more simple [#METR-10713]. 2014-04-05 03:41:54 +04:00
Alexey Milovidov
4903752cd0 dbms: added support for 'point of view' argument of functions working with dictionaries [#METR-10713]. 2014-04-04 22:08:01 +04:00
Michael Kolupaev
4a45c7c089 Merge 2014-04-04 21:20:45 +04:00
Michael Kolupaev
954a97764c Merge 2014-04-04 17:27:47 +04:00
Michael Kolupaev
1b5b9a1f1e Merge 2014-04-04 16:47:57 +04:00
Michael Kolupaev
847128152e Merge 2014-04-04 14:37:33 +04:00
Alexey Milovidov
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
50ba6ca8e1 Merge 2014-04-03 16:49:01 +04:00
Michael Kolupaev
b4d85c1676 Merge 2014-04-03 15:48:28 +04:00
Pavel Kartavyy
d50aaf9368 dbms: added removing of nested columns to merge tree [#METR-10550] 2014-04-03 15:46:32 +04:00
Pavel Kartavyy
765d0740f4 dbms: add support for drop nested columns [#METR-10550] 2014-04-03 15:46:31 +04:00
Michael Kolupaev
5a0aab3bb2 Merge 2014-04-03 12:47:59 +04:00
Michael Kolupaev
5542aa8f2d Moved DB::Exception and StackTrace to statdaemons (to allow zkutil to have stack trace in exceptions without depending on dbms). [#METR-10202] 2014-04-03 11:14:42 +04:00
Alexey Milovidov
eb1e9ddbab dbms: removed useless memset, lowered default max_query_size [#METR-10718]. 2014-04-02 22:38:17 +04:00
Alexey Milovidov
143ec07e06 dbms: fixed error with parser [#METR-10718]. 2014-04-02 21:13:10 +04:00
Michael Kolupaev
b92f1ff480 Merge 2014-04-02 17:45:39 +04:00
Michael Kolupaev
233557ec72 Merge 2014-04-02 14:40:23 +04:00
Michael Kolupaev
f885e8680b Moved DB::Exception and StackTrace to statdaemons (to allow zkutil to have stack trace in exceptions without depending on dbms). [#METR-10202] 2014-04-02 14:29:54 +04:00
Michael Kolupaev
997875d7d1 Merge 2014-04-02 14:10:37 +04:00
Michael Kolupaev
8fc53a7020 Merge 2014-04-02 11:59:43 +04:00
Alexey Milovidov
33338e0d2e dbms: fixed compatibility [#METR-10667]. 2014-04-02 03:42:26 +04:00
Sergey Fedorov
fff1593bd9 dbms: Sending only required external tables to remote servers [METR-10071] 2014-04-01 18:06:58 +04:00
Michael Kolupaev
b0558796aa dbms: remote() table function can be used with dot: remote('127.0.0.1', system.one). [#METR-2807] 2014-03-28 20:08:48 +04:00
Michael Kolupaev
d42352149d dbms: DISTINCT before ORDER BY. [#METR-9627] 2014-03-28 20:08:48 +04:00
Sergey Fedorov
a138e8efdf dbms: insignificant fix in checking if block is ready for compression [METR-10570] 2014-03-28 20:01:36 +04:00
Sergey Fedorov
6395e841f9 Merge 2014-03-28 18:36:24 +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
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
a4d4990860 dbms: fixed problem with sending empty tables, few more fixes [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
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
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
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
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
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
Michael Kolupaev
4c92b5f220 Fixed segfault when some of the nested columns are missing. [#METR-10564] 2014-03-24 20:10:14 +04:00