Commit Graph

2168 Commits

Author SHA1 Message Date
Alexey Arno
627143a537 dbms: Server: more optimizations, fixed indentation. [#METR-14099] 2014-12-25 18:27:03 +03:00
Alexey Arno
ae2fb27f9b dbms: Server: add optimization for UNION ALL queries that do not contain wildcards. [#METR-14099] 2014-12-25 18:27:03 +03:00
Alexey Arno
70d01a1696 dbms: Server: fixed function names according to naming convention, added more comments and functional tests. [#METR-14099] 2014-12-25 13:22:24 +03:00
Alexey Milovidov
f360f244eb dbms: tiny modifications [#METR-2944]. 2014-12-25 03:19:29 +03:00
Alexey Milovidov
70ee1bdaf6 dbms: trivial modification [#METR-2944]. 2014-12-25 03:18:16 +03:00
Alexey Milovidov
132847e64d dbms: fixed special case when renaming or removing parts [#METR-13918] [#METR-14470]. 2014-12-24 23:02:04 +03:00
Alexey Milovidov
33efb971b4 Merge 2014-12-24 22:00:41 +03:00
Alexey Milovidov
32a2ec00d1 dbms: more scalable aggragator: preparation [#METR-2944]. 2014-12-24 22:00:14 +03:00
Alexey Arno
3cc4410c50 dbms: Server: add more optimizations and refactoring in InterpreterSelectQuery initialization. [#METR-14099] 2014-12-24 18:30:15 +03:00
Alexey Arno
b0256d0990 dbms: Server: Remove boilerplate code. [#METR-14099] 2014-12-24 18:30:15 +03:00
Alexey Arno
255c7669a9 dbms: Server: modify columns renaming rules [#METR-14099] 2014-12-24 18:30:15 +03:00
Alexey Arno
9c9db14d95 dbms: Server: second part of the fix for column renaming in UNION ALL queries. [#METR-14099] 2014-12-24 18:30:14 +03:00
Alexey Arno
ece876f05d dbms: Server: add first part of a fix for column renaming in UNION ALL queries. 2014-12-24 18:30:14 +03:00
Andrey Mironov
d98d920d05 dbms: add function IPv4NumToStringClassC [#METR-14266] 2014-12-24 17:45:44 +03:00
Alexey Milovidov
10553e7840 dbms: fixed error with views [#METR-14449]. 2014-12-23 23:32:00 +03:00
Alexey Milovidov
9d87dbc703 dbms: don't allow more than one instance of clickhouse-server to run with same data directory [#METR-14391]. 2014-12-21 06:18:40 +03:00
Alexey Arno
72845af48a dbms: Client: Add output format consistency checking and support for vertical output in non-interactive client [#METR-14325] 2014-12-20 02:02:18 +03:00
Alexey Arno
3cd60f0aef Merge 2014-12-20 00:26:08 +03:00
Alexey Arno
28055dde55 dbms: Server: fixed typo in function declaration [#METR-14408] 2014-12-20 00:19:48 +03:00
Alexey Milovidov
41a005ba73 dbms: style [#METR-2944]. 2014-12-19 21:33:30 +03:00
Alexey Arno
f3cf2bebe7 Merge 2014-12-19 18:56:26 +03:00
Alexey Arno
5d23310cea dbms: Server: execute queries from views with as most parallelism as possible [#METR-14408] 2014-12-19 18:56:12 +03:00
Andrey Mironov
1271af2f09 dbms: create default context for RemoteBlockInputStream only once. [#METR-14403] 2014-12-19 17:56:18 +03:00
Andrey Mironov
1713846472 dbms: fix merge blocker. [#METR-14032] 2014-12-19 17:18:56 +03:00
Andrey Mironov
b957a2a9c3 dbms: restore leading slash in pathFull. [#METR-13679] 2014-12-19 17:18:56 +03:00
Alexey Arno
84456a08c3 dbms: Server: rewrite expression lists in each SELECT query of the UNION ALL chain, if needed. [#METR-14099] 2014-12-19 16:10:48 +03:00
Alexey Milovidov
a362a666eb dbms: fixed error with JOIN [#METR-14411]. 2014-12-19 05:30:13 +03:00
Pavel Kartavyy
13249ff3c3 dbms: added ability to set different kinds of timeouts [#METR-14236] 2014-12-18 15:50:55 +03:00
Alexey Arno
747d2211d6 Remove code that turned out to be redudant. [#METR-14099] 2014-12-17 23:57:21 +03:00
Andrey Mironov
7d713ea40b dbms: compress zookeeper checksum metadata. [#MTRSADMIN-879] 2014-12-17 21:38:22 +03:00
Alexey Arno
d29f019981 Apply required fixes [#METR-14099] 2014-12-17 18:56:52 +03:00
Alexey Arno
f8cb28cf07 Apply required fixes [#METR-14099]. 2014-12-17 18:56:52 +03:00
Andrey Mironov
e7301a4050 dbms: add override to AST types 2014-12-17 18:51:21 +03:00
Andrey Mironov
3ebfd2fb7f dbms: pass proper context into Storage::read(). [#METR-14179]
This reverts commit 34b3f738a67432b44f6f69238dd1529535984d1a.
2014-12-17 17:19:07 +03:00
Andrey Mironov
338314c9c6 dbms: stop merges on ALTER. [#METR-14032] 2014-12-17 16:14:24 +03:00
Andrey Mironov
49e322a045 Revert "dbms: pass proper context into Storage::read(). [#METR-14179]"
This reverts commit c0800b74a6fa338d29a65111599aa1fe71b67201.
2014-12-16 19:22:57 +03:00
Andrey Mironov
29de25c608 dbms: implement ASTSubquery::clone properly. [#METR-13399] 2014-12-16 15:40:25 +03:00
Andrey Mironov
fc9472ba47 dbms: pass proper context into Storage::read(). [#METR-14179] 2014-12-16 15:40:25 +03:00
Andrey Mironov
f92720b41f dbms: fix PushingToViews* behaviour for temporary tables 2014-12-16 15:40:25 +03:00
Alexey Arno
8cdc779c9c Add fix: temporarily turn off UNION ALL support for SELECT queries because it breaks functional tests. [#METR-14099] 2014-12-16 15:06:51 +03:00
Alexey Arno
819b3bd6ac Code cleanups [#METR-14099]. 2014-12-15 19:07:50 +03:00
Alexey Arno
9dd48cbf36 Simplify code [#METR-14099]. 2014-12-15 19:07:50 +03:00
Alexey Arno
53318492a0 Add optimization in InterpreterSelectQuery that tries to minimize quantity of stream mergings. 2014-12-15 19:07:50 +03:00
Alexey Arno
72ca080f64 Further simplify the type compatibility checking code 2014-12-15 19:07:50 +03:00
Alexey Arno
dd6ac530f4 Various cleanups 2014-12-15 19:07:49 +03:00
Alexey Arno
8995500f14 Add initial support for SELECT requests chained by UNION ALL. 2014-12-15 19:07:49 +03:00
Alexey Arno
6323cf5977 Add support for UNION ALL in the SQL query parser 2014-12-15 19:07:49 +03:00
Alexey Milovidov
af8f9289cc dbms: lowered memory usage for huge ORDER BY with LIMIT [#METR-2944]. 2014-12-15 10:35:40 +03:00
Alexey Milovidov
9527462193 dbms: fixed memory tracking [#METR-14301]. 2014-12-15 08:23:44 +03:00
Alexey Milovidov
f4ea556a30 dbms: lowered memory usage of huge ORDER BY with small LIMIT [#METR-2944]. 2014-12-15 07:13:33 +03:00