Commit Graph

3237 Commits

Author SHA1 Message Date
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
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
f92720b41f dbms: fix PushingToViews* behaviour for temporary tables 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
9527462193 dbms: fixed memory tracking [#METR-14301]. 2014-12-15 08:23:44 +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
da86564110 dbms: added test [#METR-14300]. 2014-12-15 07:09:28 +03:00
Alexey Milovidov
cea5e295d0 dbms: addition to prev. revision [#METR-14300]. 2014-12-15 07:06:39 +03:00
Alexey Milovidov
4b92baff9e dbms: fixed error in StorageBuffer [#METR-14300]. 2014-12-15 07:00:47 +03:00
Alexey Milovidov
922184e62f dbms: more uniform aggregation: better [#METR-2944]. 2014-12-15 02:07:57 +03:00
Alexey Milovidov
309736ad44 Fixed termination with 'Socket not connected' error [#METR-2944]. 2014-12-15 01:51:21 +03:00
Alexey Milovidov
df316f8586 dbms: added old forgotten test [#METR-2944]. 2014-12-14 11:28:42 +03:00
Alexey Milovidov
99ba283688 dbms: more uniform aggregation: development [#METR-2944]. 2014-12-14 11:27:22 +03:00
Alexey Milovidov
562e4f3a3e Merge 2014-12-14 08:28:11 +03:00
Alexey Milovidov
5abe09e7ba dbms: style [#METR-2944]. 2014-12-14 08:27:39 +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
00a6607971 dbms: style [#METR-2944]. 2014-12-12 21:39:48 +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
Andrey Mironov
9a12d78fe2 dbms: harness the power of libdouble-conversion. [#METR-13363]
This reverts commit d87b4b7ff8e8e7a3c32eebf3904d449df623b5a8.
2014-12-09 15:08:17 +03:00
Andrey Mironov
afd9f79c47 Revert "dbms: harness the power of libdouble-conversion. [#METR-13363]" until tests are done
This reverts commit 4692610fea832f4814461b482e1aae02b2c0781a.
2014-12-09 14:47:33 +03:00
Andrey Mironov
00db574116 dbms: harness the power of libdouble-conversion. [#METR-13363] 2014-12-09 14:33:57 +03:00
Andrey Mironov
3be8b25ed2 dbms: add lib google/double-conversion. [#METR-13363] 2014-12-09 14:33:57 +03:00
Sergey Magidovich
be30e7f794 dbms: Evoid copy. [#MOBMET-1007] 2014-12-08 20:01:27 +03:00
Pavel Kartavyy
4ba0b6be5c Merge 2014-12-08 16:52:46 +03:00
Sergey Magidovich
0ebea8c353 dbms: Add writeText(mysqlxx::Null<T>&) and writeQuated(mysqlxx::Null<T>&). [#MOBMET-1007] 2014-12-08 13:30:58 +03:00
Alexey Milovidov
f175ec58e0 dbms: tiny improvement [#METR-2944]. 2014-12-08 01:59:00 +03:00
Alexey Milovidov
4de26c886c dbms: changed default value of totals_mode [#MOBMET-1139]. 2014-12-05 22:37:23 +03:00
Andrey Mironov
3332ed9682 dbms: add pathFull function. [#METR-13679] 2014-12-05 16:32:22 +03:00
Alexey Arno
4f3ed93670 Merge 2014-12-05 16:12:08 +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
2066b089ab dbms: fix cut* functions for constant strings 2014-12-05 14:45:06 +03:00
Andrey Mironov
8533ebe8bd Merge 2014-12-04 18:51:36 +03:00
Andrey Mironov
6d117b334b dbms: add reference file for 00095_union_race_conditions_6 2014-12-04 18:51:36 +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
Pavel Kartavyy
4b1ad86ce9 fixed date delimeter [#METR-13763] 2014-12-03 13:50:00 +03:00
Alexey Milovidov
8446069851 dbms: more simple [#METR-13953]. 2014-12-02 22:08:18 +03:00
Andrey Mironov
78a172bf0f dbms: disallow range() arguments greater than one millin. [#METR-13613] 2014-12-02 21:25:43 +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
682bfb46a5 dbms: vectorize math functions. [#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
fae4eb388d dbms: enforce const in CreatingSetsBlockInputStream ctor. 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
59f3e9bf17 dbms: more uniform aggregation: development [#METR-2944]. 2014-12-02 03:31:07 +03:00
Alexey Milovidov
8bbcb3a232 dbms: fixed error in aggregate function minIf [#METR-2944]. 2014-12-02 03:19:11 +03:00
Alexey Milovidov
d58ab3e4fe dbms: added reference file for test [#METR-2944]. 2014-12-02 01:40:15 +03:00
Alexey Milovidov
da4c4a0566 dbms: more uniform load of threads while aggragation [#METR-2944]. 2014-11-30 21:22:57 +03:00
Alexey Milovidov
0abde09572 dbms: added tests for UnionBlockInputStream [#METR-2944]. 2014-11-30 15:01:46 +03:00
Alexey Milovidov
5fae38cb97 dbms: tiny improvement [#METR-2944]. 2014-11-30 10:00:05 +03:00
Alexey Milovidov
92e5793c8e dbms: tiny fix [#METR-2944]. 2014-11-30 09:59:03 +03:00
Alexey Milovidov
b84b192ba4 dbms: fixed test [#METR-13988]. 2014-11-30 08:58:54 +03:00
Alexey Milovidov
3a38517f86 dbms: addition to prev. revision [#METR-13936]. 2014-11-30 08:43:04 +03:00
Alexey Milovidov
4e64d5198c dbms: fixed test [#METR-13919]. 2014-11-30 08:40:41 +03:00
Alexey Milovidov
82f9e253a1 Merge 2014-11-30 08:11:04 +03:00
Alexey Milovidov
32f3c9c1da Merge 2014-11-30 06:23:36 +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
76ba1f053b dbms: aggregation by arrays: added test [#METR-13933]. 2014-11-28 05:41:54 +03:00
Alexey Milovidov
cd54727557 dbms: added few tests [#METR-13933]. 2014-11-28 05:29:35 +03:00
Alexey Milovidov
ead238608b dbms: fixed error with aggregation by arrays [#METR-13933]. 2014-11-28 05:17:29 +03:00
Alexey Milovidov
23b38c0e18 dbms: fixed error only partially [#METR-13933]. 2014-11-28 00:31:13 +03:00
Evgeniy Gatov
109c41954c libcloud, dbms: added write speed to clickhouse [#METR-13955]. 2014-11-27 22:35:31 +03:00
Andrey Mironov
f7cda10386 Merge 2014-11-26 13:28:13 +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
a03bc39fa2 Merge 2014-11-25 23:55:36 +03:00
Alexey Milovidov
3dba76210f Merge 2014-11-25 23:55:36 +03:00
Alexey Milovidov
25ddd55cad Merge 2014-11-25 23:55:34 +03:00
Alexey Milovidov
8b2b1a52d1 Revert "Revert "dbms: allow all requested columns to be missing [#METR-13020]""
This reverts commit a74051d1739fbf4de8da2118e2f05820a6bc10f0.
2014-11-25 23:55:23 +03:00
Andrey Mironov
f1f139e8d0 dbms: fix allocation of excess memory for const result in concat. 2014-11-25 23:22:10 +03:00
Andrey Mironov
8f9373c3d7 dbms: add test for concat n-ary const with nonconst segfault. 2014-11-25 23:07:06 +03:00
Andrey Mironov
ec07d1f711 dbms: fix stupid error in concat length calculation. 2014-11-25 22:34:07 +03:00
Andrey Mironov
eefcb3e369 Revert "dbms: allow all requested columns to be missing [#METR-13020]"
This reverts commit e09872e3621f24a9a839ce377e4a317dc2ca1788.
2014-11-25 21:46:58 +03:00
Andrey Mironov
c28bb54ed4 Merge 2014-11-25 21:46:38 +03:00
Andrey Mironov
4c9af262fd Merge 2014-11-25 21:46:23 +03:00
Alexey Milovidov
53c1dd7e08 Merge 2014-11-25 21:13:52 +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