Commit Graph

3252 Commits

Author SHA1 Message Date
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
Andrey Mironov
e310a3021b dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399] 2014-11-24 20:11:29 +03:00
Alexey Milovidov
639d29d5d4 dbms: added few profile events [#METR-2944]. 2014-11-23 07:01:36 +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
53fc3b7cd2 dbms: improved tests [#METR-2944]. 2014-11-22 23:56:14 +03:00
Alexey Milovidov
3dc00a1298 dbms: addition to prev. revision [#METR-13262]. 2014-11-22 05:51:22 +03:00
Alexey Milovidov
1f67c192fd dbms: added tests [#METR-13262]. 2014-11-22 05:36:49 +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
Andrey Mironov
813742e5d7 dbms: add intDivOrZero function. [#METR-13159] 2014-11-21 17:28:39 +03:00
Andrey Mironov
eaa8a75a63 dbms: prohibit narrow-width integral types for determinator of quantile(s)Deterministic. [#METR-13199] 2014-11-21 17:07:25 +03:00
Andrey Mironov
d0971956e0 dbms: add quantile[s]Deterministic, rename stdext:: to ext:: [#METR-13199] 2014-11-21 16:34:37 +03:00
Andrey Mironov
d4d3663cd4 Merge 2014-11-20 17:42:45 +03:00
Pavel Kartavyy
83e0c58cba style fix: Clikhouse -> ClickHouse 2014-11-20 10:20:25 +03:00
Alexey Milovidov
0d51957607 dbms: calculating population of regions by population of children [#METR-13326]. 2014-11-20 03:17:43 +03:00
Alexey Milovidov
c5635ce6d9 dbms: added function regionToPopulation; clickhouse-server, ███████████, ███████████, ███████████ needs to be released before regions_hierarchy.txt change [#METR-13326]. 2014-11-20 03:05:14 +03:00
Alexey Milovidov
96ef141c8a dbms: added 'listen_host' configuration parameter [#METR-13759]. 2014-11-19 23:52:42 +03:00
Alexey Milovidov
a7b4903f14 dbms: fixed error with replication when 'interserver_http_port' is not specified [#METR-13831]. 2014-11-19 23:40:51 +03:00
Alexey Milovidov
7b8beea5e4 dbms: FREEZE PARTITION: improvement [#METR-2944]. 2014-11-17 03:41:40 +03:00
Alexey Milovidov
c017f3ebe3 dbms: added operators for DB/IO [#METR-2944]. 2014-11-15 22:00:55 +03:00
Alexey Milovidov
8a0bdbe1d7 dbms: improved performance of deserializing strings (+5% on search phrases) [#METR-2944]. 2014-11-15 21:57:49 +03:00
Alexey Milovidov
8f076b8ac4 Removed deprecated date and time functions [#METR-13554]. 2014-11-14 23:55:23 +03:00
Andrey Mironov
37746b8e96 Merge 2014-11-14 15:52:02 +03:00
Andrey Mironov
58473a3085 Merge 2014-11-14 14:03:26 +03:00
Andrey Mironov
5af02c6119 Revert "dbms: purported fix", no luck
This reverts commit bf86346df8713ac76ed631f12eda4f13d3379057.
2014-11-14 12:47:58 +03:00
Andrey Mironov
4a70c452a7 dbms: purported fix 2014-11-14 12:30:35 +03:00
Andrey Mironov
11f1482927 dbms: allow all requested columns to be missing [#METR-13020] 2014-11-13 20:49:24 +03:00
Pavel Kartavyy
140b4545dd dbms: fix [#METR-13667] 2014-11-13 17:01:29 +03:00
Pavel Kartavyy
14c231c055 dbms: filtered tables in 'show tables from' query [#METR-13667] 2014-11-13 16:02:12 +03:00
Andrey Mironov
85e511fdab dbms: refactor IFunction descendants' registration in FunctionFactory 2014-11-12 21:04:49 +03:00
Andrey Mironov
50328d120a Merge 2014-11-12 13:42:04 +03:00
Andrey Mironov
731be3e7cf Merge 2014-11-12 13:37:47 +03:00
Andrey Mironov
ccc770e5ab dbms: add tests for defaulted columns. [#METR-12739] 2014-11-11 19:41:51 +03:00
Andrey Mironov
65629ef560 Merge 2014-11-11 19:29:21 +03:00
Andrey Mironov
8a2de38dc7 dbms: materialize constants during merge, allow alteration between DEFAULT and MATERIALIZED. [#METR-12739] 2014-11-11 18:22:39 +03:00
Andrey Mironov
b682e42e5a dbms: prohibit creating tables without physical columns. [#METR-12739] 2014-11-11 17:20:22 +03:00
Andrey Mironov
de271b753e dbms: allow creating tables with all columns set to default. [#METR-12739] 2014-11-11 17:11:49 +03:00
Alexey Milovidov
9a9036f217 dbms: added FREEZE PARTITION functionality [#METR-13441]. 2014-11-11 07:11:07 +03:00
Andrey Mironov
3407600536 dbms: save all columns in a single ZooKeeper node [#METR-12739] 2014-11-10 19:16:43 +03:00
Andrey Mironov
e7edb5e2af dbms: correct typo 2014-11-10 14:38:06 +03:00
Alexey Milovidov
212cb73eec dbms: improved performance of aggregation by string key when there are significant amount of empty strings [#METR-2944]. 2014-11-09 15:53:44 +03:00
Alexey Milovidov
87a31229e9 dbms: improved performance of aggregation by string key [#METR-2944]. 2014-11-09 15:43:09 +03:00
Alexey Milovidov
530eb9f919 dbms: HashTable: more use of saved hash value - less string comparisons, improved performance of aggregation by string [#METR-2944]. 2014-11-09 11:39:18 +03:00
Alexey Milovidov
f68e30cfdb dbms: testing string comparison [#METR-2944]. 2014-11-09 10:26:37 +03:00
Alexey Milovidov
d486138e0a dbms: added test for different string equality comparison methods [#METR-2944]. 2014-11-09 05:51:28 +03:00
Alexey Milovidov
16a1c1e6e8 Merge 2014-11-09 02:55:24 +03:00
Alexey Milovidov
1f52150f12 dbms: renamed variable [#METR-2944]. 2014-11-09 02:54:03 +03:00
Alexey Milovidov
a58104c818 dbms: showing progress for INSERT SELECT query [#METR-13612]. 2014-11-09 02:52:18 +03:00
Andrey Mironov
4e43304cd7 dbms: add reference file for concat test. 2014-11-07 22:01:46 +03:00
Andrey Mironov
fe49e06e46 dbms: implement concat for arbitrary arity (> 0). [#METR-12888] 2014-11-07 21:42:00 +03:00
Alexey Milovidov
c881adcaff dbms: allowed to start without ZooKeeper (in readonly mode) [#METR-2944]. 2014-11-07 04:12:55 +03:00
Alexey Milovidov
313fe36e7a dbms: addition to prev. revision [#METR-13322]. 2014-11-07 03:02:53 +03:00
Alexey Milovidov
3d359e2b82 Partially get rid of time2str.h [#METR-13554]. 2014-11-06 09:32:23 +03:00
Alexey Milovidov
6754ee8068 dbms: more sane [#METR-13554]. 2014-11-06 06:38:10 +03:00
Alexey Milovidov
ae56793530 dbms: fixed error with filtering by set of tuples with elements that fit in 128 bits [#METR-13322]. 2014-11-06 06:03:40 +03:00
Alexey Milovidov
74db63113e DateLUT: removed useless code; improved startup time [#METR-13554]. 2014-11-06 05:39:48 +03:00
Alexey Milovidov
2727fef911 dbms: removed few functions [#METR-13554]. 2014-11-06 04:31:50 +03:00
Alexey Milovidov
4e363249e1 dbms: added test [#METR-2944]. 2014-11-05 23:55:33 +03:00
Alexey Milovidov
a825e54b3a dbms: improved performance of aggregation by string keys [#METR-13168]. 2014-11-04 00:08:56 +03:00
Alexey Milovidov
ec08b393de dbms: tiny improvement [#METR-2944]. 2014-11-01 02:20:18 +03:00
Alexey Milovidov
bc454aec71 dbms: added override to all columns [#METR-2944]. 2014-11-01 01:15:17 +03:00
Andrey Mironov
23bf89d490 dbms: properly resize const strings passed into toFixedString. 2014-10-31 16:49:48 +03:00
Andrey Mironov
11a7b05f48 dbms: add tests for ip coding functions with non-const arguments. [#METR-13151] 2014-10-31 15:57:41 +03:00
Andrey Mironov
c62bcdcd18 Revert "dbms: remove redundant memset(0) from IPv6StringToNum. [#METR-13151]"
This reverts commit 37cc08166507494428c8b858a4670156de356c32.
2014-10-31 15:57:30 +03:00
Andrey Mironov
70f376b8e6 dbms: remove redundant memset(0) from IPv6StringToNum. [#METR-13151] 2014-10-31 15:46:57 +03:00
Andrey Mironov
5465bb3d50 dbms: add tests for IPv4/6 coding functions. [#METR-13151] 2014-10-31 15:03:35 +03:00
Andrey Mironov
152ca18a21 dbms: drastic increase in IPv6StringToNum performance. [#METR-13151] 2014-10-31 15:03:35 +03:00
Andrey Mironov
a88c5e74ab dbms: improve performance of IPv6NumToString. [#METR-13151] 2014-10-30 17:43:41 +03:00
Andrey Mironov
74b2f521d0 dbms: fix IPv6NumToString out of bounds access. [#METR-13151] 2014-10-29 16:53:04 +03:00
Andrey Mironov
a5905c608a dbms: IPv6StringToNum. [#METR-13151] 2014-10-29 15:49:33 +03:00
Andrey Mironov
ee34ca31d8 dbms: add MD5, SHA1, SHA224, SHA256, IPv6NumToString. [#METR-13151] 2014-10-29 15:49:33 +03:00
Alexey Milovidov
37e599934f dbms: further [#METR-2944]. 2014-10-29 05:35:16 +03:00
Alexey Milovidov
425263970f dbms: improved performance of aggregation by one numeric key (up to: 2x for UInt8, 5x for UInt16, 1.1x for UInt32, UInt64) [#METR-2944]. 2014-10-29 04:18:50 +03:00
Andrey Mironov
96d8c7484a dbms: add arrayFirst, arrayFirstIndex functions. [#METR-13151] 2014-10-28 18:49:33 +03:00
Andrey Mironov
484073a95c dbms: add emptyArrayType family of functions. #[METR-13151] 2014-10-28 16:43:51 +03:00
Andrey Mironov
0d35ea0bf4 dbms: implement firstSignificantSubdomain, cutToFirstSignificantSubdomain. [#METR-13151] 2014-10-27 18:17:07 +03:00
Alexey Milovidov
5d21d75e85 dbms: addition to prev. revision [#METR-13297]. 2014-10-27 07:50:38 +03:00
Alexey Milovidov
e063ccc180 dbms: StorageBuffer: additions [#METR-13297]. 2014-10-27 07:18:13 +03:00
Alexey Milovidov
b3c060b89e dbms: fixed error [#METR-13297]. 2014-10-26 05:59:46 +03:00
Alexey Milovidov
fee4863a16 dbms: Client: tiny fix for progress-bar [#METR-2944]. 2014-10-26 05:01:21 +03:00
Alexey Milovidov
5cf02c4cc1 dbms: addition to prev. revision [#METR-13297]. 2014-10-26 03:21:06 +03:00
Alexey Milovidov
13f825a7e5 dbms: StorageBuffer: fixed error [#METR-13297]. 2014-10-26 03:12:39 +03:00
Alexey Milovidov
2d5192c4a0 dbms: StorageBuffer: development [#METR-13297]. 2014-10-26 03:01:36 +03:00
Alexey Milovidov
08e93dbbd4 dbms: Client: showing progress bar for long-running queries [#METR-2944]. 2014-10-26 00:27:37 +04:00
Alexey Milovidov
0045133b0e dbms: prepared for fully-functional progress bar [#METR-2944]. 2014-10-25 22:33:52 +04:00
Andrey Mironov
2798a19944 Merge 2014-10-24 14:48:47 +04:00