Commit Graph

2352 Commits

Author SHA1 Message Date
Alexey Milovidov
da1974bbf3 dbms: more scalable aggregator: development [#METR-2944]. 2014-12-25 23:56:01 +03:00
Alexey Milovidov
cf3812532e dbms: more scalable aggregator: development [#METR-2944]. 2014-12-25 23:18:01 +03:00
Alexey Arno
42b09c417e dbms: Server: fix style. [#METR-14099] 2014-12-25 19:09:23 +03:00
Alexey Arno
461954f17a dbms: Server: fix typo. [#METR-14099] 2014-12-25 18:29:22 +03:00
Alexey Arno
627143a537 dbms: Server: more optimizations, fixed indentation. [#METR-14099] 2014-12-25 18:27:03 +03:00
Alexey Arno
d52d26dcb5 dbms: Server: more optimizations. [#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
1221f2ba53 Fixed build [#METR-2944]. 2014-12-24 23:54:02 +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 Arno
66f2c72f84 dbms: Client: add fix so that \G has priority over configuration file. [#METR-14325] 2014-12-24 20:31:42 +03:00
Alexey Arno
82913caa2a dbms: Server: update comments. [#METR-14099] 2014-12-24 18:30:15 +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
008668b3da dbms: Server: add optimization 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
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
6bc3c14e9a Merge 2014-12-23 23:34:00 +03:00
Alexey Milovidov
10553e7840 dbms: fixed error with views [#METR-14449]. 2014-12-23 23:32:00 +03:00
Andrey Mironov
f283719d89 dbms: fix in/join identifier subquery [#METR-14402] 2014-12-23 03:31:17 +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 Milovidov
bba4b0c66c dbms: removed rare-useful repetitive log messages [#METR-2944]. 2014-12-21 04:27:56 +03:00
Alexey Milovidov
0c2e0b7304 dbms: fixed error with replication [#METR-14391]. 2014-12-21 04:20:07 +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
1713846472 dbms: fix merge blocker. [#METR-14032] 2014-12-19 17:18:56 +03:00
Alexey Arno
d5c8b52f7c dbms: Server: added better diagnostic in union all type mismatch exceptions. [#METR-14099] 2014-12-19 16:10:48 +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 Arno
e4e3439970 dbms: Client: add support for the request separator \G and for the command line option --vertical. [#METR-14325] 2014-12-18 18:48:49 +03:00
Alexey Arno
2a1bdb8be3 Merge 2014-12-18 15:11:08 +03:00
Alexey Arno
4315421722 Add comment. [#METR-14065] 2014-12-18 12:44:57 +03:00
Alexey Arno
747d2211d6 Remove code that turned out to be redudant. [#METR-14099] 2014-12-17 23:57:21 +03:00
Alexey Milovidov
5d7fe1e852 dbms: fixed error [#METR-14361]. 2014-12-17 23:38:38 +03:00
Andrey Mironov
7d713ea40b dbms: compress zookeeper checksum metadata. [#MTRSADMIN-879] 2014-12-17 21:38:22 +03:00
Alexey Arno
d086e8d43a Code cleanup. [#METR-14099] 2014-12-17 18:56:58 +03:00
Alexey Arno
2dc47c39d5 Update functional tests. Add materialization in UNION ALL queries. [#METR-14099] 2014-12-17 18:56:58 +03:00
Alexey Arno
e363d57e35 Code cleanup. [#METR-14099] 2014-12-17 18:56:52 +03:00
Alexey Arno
09471634b5 Update functional tests. Add materialization in UNION ALL queries. [#METR-14099] 2014-12-17 18:56:52 +03:00
Alexey Arno
36d2008e5b Add style cleanup and small functional test change. [#METR-14099] 2014-12-17 18:56:52 +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
dcae14d25e dbms: return cloning query in StorageDistributed::read. [#METR-14179, #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
b077797389 dbms: add whitespace while formatting JOIN query. [#METR-14179] 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
50e4692b30 Fix typo [#METR-14099]. 2014-12-15 19:07:50 +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
b857667cc2 Add better implementation of the types compabitility checking code. 2014-12-15 19:07:50 +03:00
Alexey Arno
c58030d339 Code cleanup 2014-12-15 19:07:49 +03:00
Alexey Arno
f16cb80657 Fix UNION ALL formating 2014-12-15 19:07:49 +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
4bc31f666c dbms: addition to prev. revision [#METR-2944]. 2014-12-15 07:31:14 +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
Alexey Milovidov
cea5e295d0 dbms: addition to prev. revision [#METR-14300]. 2014-12-15 07:06:39 +03:00
Alexey Milovidov
309736ad44 Fixed termination with 'Socket not connected' error [#METR-2944]. 2014-12-15 01:51:21 +03:00
Alexey Milovidov
bdf7b561a6 dbms: fixed error in system.zookeeper table [#METR-2944]. 2014-12-13 22:46:53 +03:00
Alexey Milovidov
09076b30d5 Merge 2014-12-12 23:50:32 +03:00
Alexey Milovidov
dac2ff8920 dbms: addition to prev. revision [#METR-14238]. 2014-12-11 05:06:22 +03:00
Alexey Milovidov
03a21823db dbms: addition to prev. revision [#METR-14238]. 2014-12-11 05:04:13 +03:00
Alexey Milovidov
2aa2cb18c4 dbms: fixed error with re-initializing session in ZK [#METR-14238]. 2014-12-11 04:56:42 +03:00
Andrey Mironov
072fc96127 dbms: obliterate writeFloatText precision parameter -.-
reimplement floatWidth using double-conversion
2014-12-10 14:11:41 +03:00
Alexey Milovidov
f3ae946798 dbms: fixed double spaces [#METR-2807]. 2014-12-09 20:43:06 +03:00
Andrey Mironov
c21502e70f dbms: store checksums in binary format. [#MTRSADMIN-879] 2014-12-09 16:58:19 +03:00
Alexey Milovidov
f175ec58e0 dbms: tiny improvement [#METR-2944]. 2014-12-08 01:59:00 +03:00
Andrey Mironov
3332ed9682 dbms: add pathFull function. [#METR-13679] 2014-12-05 16:32:22 +03:00
Alexey Arno
61f0f062fe Fix incorrect logging of multiline queries into ClickHouse client command line history [#METR-14065] 2014-12-05 16:10:55 +03:00
Andrey Mironov
fa3d9226b3 dbms: fix forced flush in StorageBuffer 2014-12-03 16:28:17 +03:00
Andrey Mironov
274e0a80a7 dbms: less overhead and indirection in StorageBuffer 2014-12-03 16:01:39 +03:00
Alexey Milovidov
8446069851 dbms: more simple [#METR-13953]. 2014-12-02 22:08:18 +03:00
Andrey Mironov
c6134124f6 dbms: remove square function, alter tests. [#METR-13613] 2014-12-02 20:25:10 +03:00
Andrey Mironov
ea9472312e dbms: implement range(n) function, add tests. [#METR-13613] 2014-12-02 20:25:10 +03:00
Andrey Mironov
af55445da3 dbms: implement abs(). [#METR-13613] 2014-12-02 20:25:09 +03:00
Andrey Mironov
8062844eed dbms: add math functions without SSE. [#METR-13613] 2014-12-02 20:25:09 +03:00
Alexey Milovidov
5fae38cb97 dbms: tiny improvement [#METR-2944]. 2014-11-30 10:00:05 +03:00
Alexey Milovidov
3a38517f86 dbms: addition to prev. revision [#METR-13936]. 2014-11-30 08:43:04 +03:00
Alexey Milovidov
82f9e253a1 Merge 2014-11-30 08:11:04 +03:00
Alexey Milovidov
a359b09c83 dbms: fixed misleading variable name [#METR-2944]. 2014-11-30 06:21:01 +03:00
Alexey Milovidov
b2696ffec1 dbms: fixed one of errors [#METR-13979]. 2014-11-28 23:45:33 +03:00
Alexey Milovidov
bdb666efee Revert "Revert "dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399]""
This reverts commit 08c41d2abb2e08922c567856ec37038d1fa59e72.
2014-11-26 00:11:11 +03:00
Alexey Milovidov
071e31a7fa Revert "dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399]"
This reverts commit f68d3226e0e55179b4cd734477f0aa45b669d6fa.
2014-11-25 19:33:01 +03:00
Andrey Mironov
e310a3021b dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399] 2014-11-24 20:11:29 +03:00
Alexey Milovidov
be73e48c46 dbms: fixed error when writing tuple of date or datetime elements in pretty formats (tnx. hertz) [#METR-2944]. 2014-11-23 07:00:18 +03:00
Alexey Milovidov
3dc00a1298 dbms: addition to prev. revision [#METR-13262]. 2014-11-22 05:51:22 +03:00
Alexey Milovidov
d7a1abbbdc Merge 2014-11-22 05:22:30 +03:00
Andrey Mironov
811565b5b1 dbms: implement appendTrailingCharIfAbsent, refactor concat. [#METR-13772] 2014-11-21 20:42:51 +03:00