Commit Graph

5754 Commits

Author SHA1 Message Date
Alexey Milovidov
d0365e9501 Separated code for checking parts [#METR-20803]. 2016-04-09 06:50:02 +03:00
Alexey Milovidov
8a14cdc966 Fixed error [#METR-20803]. 2016-04-09 05:29:15 +03:00
Alexey Milovidov
31ed033fbb Fixed leader election in completely different way to allow many replicas in single ClickHouse instance (that is used in tests) [#METR-20132]. 2016-04-09 05:03:44 +03:00
Alexey Milovidov
5a0bf4a115 Merge 2016-04-09 02:36:45 +03:00
Alexey Milovidov
581f7a5e5d Tiny modification [#METR-2944]. 2016-04-09 02:36:34 +03:00
Alexey Milovidov
603a856731 Added comment [#METR-20738]. 2016-04-09 00:27:54 +03:00
Alexey Milovidov
436f994379 Added test [#METR-20738]. 2016-04-09 00:19:07 +03:00
Alexey Milovidov
40fe3e803b Fixed error with primary key and IN [#METR-20738]. 2016-04-08 23:34:32 +03:00
Alexey Milovidov
86e19f1e87 Merge 2016-04-08 00:35:42 +03:00
Alexey Milovidov
f0844ecb66 Attempt to fix an error [#METR-20803]. 2016-04-08 00:35:01 +03:00
Alexey Arno
2a23271645 dbms: fixed typo that led to a bug [#METR-18510] 2016-04-06 18:08:28 +03:00
Alexey Milovidov
b0e9fd6da3 Improved exception message [#METR-20762]. 2016-04-06 03:31:22 +03:00
Alexey Milovidov
3973277936 Allowed to modify 'max_files_to_modify_in_alter_columns' [#METR-20763]. 2016-04-05 21:18:16 +03:00
Alexey Milovidov
57563193e4 Cloud databases: development [#METR-19998]. 2016-04-05 18:05:45 +03:00
Alexey Milovidov
6e75a1d1c0 Cloud databases: development [#METR-19998]. 2016-04-05 00:41:16 +03:00
Alexey Milovidov
e6489d5ea6 Tiny modification [#METR-2944]. 2016-04-04 23:08:13 +03:00
Alexey Milovidov
91dae9787a Added support for BETWEEN operator [#METR-20707]. 2016-04-03 04:15:53 +03:00
Alexey Milovidov
f2edb5d1fb Attempt to fix an error with yielding leadership [#METR-20691]. 2016-04-03 00:22:39 +03:00
Alexey Milovidov
22272510dc Added test [#METR-20706]. 2016-04-03 00:21:27 +03:00
Alexey Milovidov
eb5d905600 Added support for using index for LIKE expressions with fixed prefix [#METR-20706]. 2016-04-03 00:19:58 +03:00
Alexey Milovidov
1f8f6fa06a Allowed concurrent CREATE TABLE IF NOT EXISTS if table exists [#METR-20704]. 2016-04-01 20:41:13 +03:00
Alexey Milovidov
60252fed27 Removed old code as promised [#METR-2944]. 2016-04-01 19:47:25 +03:00
Alexey Milovidov
f41bba57a5 Better [#METR-20691]. 2016-04-01 02:49:31 +03:00
Alexey Milovidov
4f597ed7c3 Fixed error [#METR-20679]. 2016-03-31 20:42:57 +03:00
Alexey Milovidov
ba3f35f83c Merge 2016-03-31 15:21:57 +03:00
Alexey Milovidov
f7bb03e417 Modified comment [#METR-20659]. 2016-03-31 15:21:26 +03:00
Alexey Milovidov
d507c1f8af Updated tests after removing vectorclass library [#METR-20000]. 2016-03-31 04:30:07 +03:00
Alexey Milovidov
e1a80f5ded Added support for case when merged data differs from data on another replicas [#METR-20670]. 2016-03-31 04:25:16 +03:00
Alexey Milovidov
2501af25e8 Cancelling checking parts on shutdown [#METR-20660]. 2016-03-31 03:09:12 +03:00
Alexey Milovidov
10e325574c Disabled usage of vectorclass library [#METR-20000]. 2016-03-30 23:27:32 +03:00
Alexey Milovidov
4b5e96b893 Check for broken part in case of exception in one more place (for example, when part are completely removed from filesystem by manual intervention) [#METR-20670]. 2016-03-30 22:59:43 +03:00
Alexey Milovidov
2a5f86b890 Using maximum one connection to external source when updating cache dictionary [#METR-19576]. 2016-03-30 22:03:25 +03:00
Alexey Milovidov
a2e7b7c904 Addition to prev. revision [#METR-19997]. 2016-03-30 22:01:33 +03:00
Alexey Milovidov
0e6993b3ea Removed obsolete Chunks and ChunkRef storages [#METR-19997]. 2016-03-30 19:04:53 +03:00
Alexey Milovidov
5c400d5c5c Better [#METR-20659]. 2016-03-30 02:03:15 +03:00
Alexey Milovidov
bcb8e4e92c Attempt to fix an error [#METR-20659]. 2016-03-30 01:52:11 +03:00
Alexey Milovidov
04875a022a Removed code for freezing partitions due to unacceptable implementation [#METR-20656]. 2016-03-29 22:39:44 +03:00
Alexey Milovidov
f7b8709885 Fixed error (after update of Poco) with local replicas optimization [#METR-20654]. 2016-03-29 20:51:07 +03:00
Alexey Milovidov
34f6887a28 Merge 2016-03-29 19:59:22 +03:00
Alexey Milovidov
c2d1d04157 Added 'is_local' column to system.clusters table [#METR-20655]. 2016-03-29 19:58:52 +03:00
Alexey Arno
e376b337f8 dbms: Removed obsolete files. [#METR-18510] 2016-03-29 19:30:28 +03:00
Alexey Arno
21ff6d9f94 dbms: Comment updates. Naming simplfications. Use better hashing. [#METR-18510] 2016-03-29 19:29:39 +03:00
Alexey Milovidov
d3a146bfe3 Allowed to substiture compression configuration from metrika.xml in default config file [#METR-20637]. 2016-03-28 18:31:02 +03:00
Alexey Arno
09985be3ba dbms: Added more comments. Made some code more understandable. [#METR-18510] 2016-03-28 16:00:00 +03:00
Alexey Milovidov
86617c8339 Cloud databases: development [#METR-19998]. 2016-03-28 14:19:51 +03:00
Alexey Milovidov
5c2f335cc0 Cloud databases: development [#METR-19998]. 2016-03-28 14:19:14 +03:00
Alexey Milovidov
605e9c4afb Addition to prev. revision [#METR-20607]. 2016-03-27 17:36:59 +03:00
Alexey Milovidov
53d13330df Set 'merge_tree_min_rows_for_seek' to 0, because higher values are not better [#METR-20607]. 2016-03-27 15:52:13 +03:00
Alexey Milovidov
6158f550d1 Addition to prev. revision; added test [#METR-20607]. 2016-03-27 15:50:49 +03:00
Alexey Milovidov
702876f9f0 Fixed suboptimal index usage in point queries [#METR-20607]. 2016-03-27 14:37:25 +03:00
Alexey Milovidov
fc99c6a3ae DatabaseCloud: development [#METR-19998]. 2016-03-26 07:44:49 +03:00
Alexey Milovidov
e8f2afe899 DatabaseCloud: development [#METR-19998]. 2016-03-26 07:13:15 +03:00
Alexey Milovidov
ccc3737576 DatabaseCloud: development [#METR-19998]. 2016-03-26 06:03:50 +03:00
Alexey Milovidov
a028b256f2 Database engines: fixed error [#METR-20621]. 2016-03-25 23:39:45 +03:00
Alexey Arno
776a0e3041 dbms: Improved fault tolerance with regards to ZooKeeper. [#METR-18510] 2016-03-25 15:21:10 +03:00
Alexey Arno
32a38485e6 Merge 2016-03-25 14:48:45 +03:00
Alexey Milovidov
6ecd7ebf93 Cloud databases: development [#METR-19998]. 2016-03-24 00:36:47 +03:00
Alexey Milovidov
43d323013c Fixed error [#METR-19997]. 2016-03-23 00:26:13 +03:00
Alexey Milovidov
216a920f5e Fixed error [#METR-19997]. 2016-03-23 00:00:53 +03:00
Alexey Milovidov
eb8bc838b0 Overriden a setting in example users config [#METR-20397]. 2016-03-22 22:38:39 +03:00
Alexey Milovidov
da07716547 Attempt to fix an error [#METR-20397]. 2016-03-22 22:35:23 +03:00
Alexey Milovidov
b5e5de0427 Attempt to fix an error [#METR-20397]. 2016-03-22 05:05:21 +03:00
Alexey Milovidov
5720d9566e Little better [#METR-19997]. 2016-03-22 04:50:19 +03:00
Alexey Milovidov
6414125d04 Don't do global locking when renaming single table [#METR-19997]. 2016-03-22 04:33:17 +03:00
Alexey Milovidov
a266359ce5 Allowed DEFAULT columns in query_log table [#METR-20397]. 2016-03-22 03:21:14 +03:00
Alexey Milovidov
ddf10dd1ac Fixed NULL pointer dereference when using IN by set of tuples with some elements in out-of-range values [#METR-20341]. 2016-03-22 03:09:08 +03:00
Alexey Milovidov
288fb9dcdf Less wrong [#METR-19997]. 2016-03-22 02:46:24 +03:00
Alexey Milovidov
7f16b70b85 Fixed off-by-one error in Quota [#METR-20539]. 2016-03-22 02:20:00 +03:00
Alexey Milovidov
b0104e94be Added test [#METR-20540]. 2016-03-22 02:16:14 +03:00
Alexey Milovidov
cee7fd35bb FunctionsRound: don't process empty columns - not significant change, just in case [#METR-20540]. 2016-03-22 02:07:11 +03:00
Alexey Milovidov
114713a9c3 StorageBuffer: don't return empty blocks to read [#METR-20540]. 2016-03-22 02:04:50 +03:00
Alexey Milovidov
a0de151a9f Merge 2016-03-22 00:31:49 +03:00
Alexey Milovidov
b6f1352bcc FunctionsRounding: fixed error (tnx. af-arno) [#METR-20540]. 2016-03-21 23:44:30 +03:00
Alexey Milovidov
bbdd0ca4d7 Database engines: development [#METR-19997]. 2016-03-21 15:57:12 +03:00
Alexey Milovidov
5fc44df6b5 Squashed commit of the following:
commit f9b478181cd49224154cc350fb57df7121842f1c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 04:06:36 2016 +0300

    Database engines: development [#METR-19997].

commit f7a10a67761ccfd05f3dac32d6444920cd8d4d60
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 03:44:37 2016 +0300

    Database engines: development [#METR-19997].

commit bd98a8558e98bad2bed278e5762c4e0fc66e6f38
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 00:33:59 2016 +0300

    Database engines: development [#METR-19997].

commit 19712fd884c22a4e2c2b67474086dea8f44e7c7b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 00:03:11 2016 +0300

    Database engines: development [#METR-19997].

commit 50274d6df7e91fcc34aab8a8c72347daa2c6512f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 23:24:57 2016 +0300

    Database engines: development [#METR-19997].

commit 4a0b99b19b34e90ef8b7be2d199f6232e36ef3f7
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 22:50:36 2016 +0300

    Database engines: development [#METR-19997].

commit 44ff3ebba7a3e460a27a89f31ddf199dbea1d182
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 15:09:17 2016 +0300

    Database engines: development [#METR-19997].

commit 137c31f3004cfd282473b6acb01cbe1b4ca2aadd
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 03:26:34 2016 +0300

    Database engines: development [#METR-19997].

commit aa4c0496d4afe4a691164254be2bd5600542b38a
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 03:22:59 2016 +0300

    Database engines: development [#METR-19997].

commit 5a94d1f0607450a2dac28a4d7df8b1393a864c23
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 01:02:40 2016 +0300

    Database engines: development [#METR-19997].

commit 50fd5b52ea1141955a5dfba0dcb191f3289ac25b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Thu Mar 17 23:23:40 2016 +0300

    Database engines: development [#METR-19997].

commit a333d91b058e4f56dd83a6d2878c3c2bd8efc002
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Thu Mar 17 20:29:07 2016 +0300

    Database engines: development [#METR-19997].

commit f81d366e7ac8348436f2698d040f8e341743a024
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Thu Mar 17 01:30:23 2016 +0300

    Database engines: development [#METR-19997].

commit d0696860c9060827896214c08d147c759ea79376
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 21:55:31 2016 +0300

    Database engines: development [#METR-19997].

commit 46a168c2ada140a0e95cd8d4b9d8ba9bac855d11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 08:00:58 2016 +0300

    Database engines: development [#METR-19997].

commit 20a2bad161454225fc1b5f9b919b842fbebc3231
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 06:51:10 2016 +0300

    Database engines: development [#METR-19997].

commit ca0a77fcc2a8d0b276eb3743c53551ad3fe16314
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 06:02:20 2016 +0300

    Reverted erroneous modification [#METR-19997].

commit 1370bdcc4594182f6ef2b146f9afabfe1c295080
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 00:41:34 2016 +0300

    Database engines: development [#METR-19997].

commit 16e72c67041cae6471509d3f0f3d4a9aa7b7dc0f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Mar 15 00:41:48 2016 +0300

    Database engines: development [#METR-19997].
2016-03-19 04:18:49 +03:00
Alexey Milovidov
073c0de63e Database engines: development [#METR-19997]. 2016-03-19 04:06:36 +03:00
Alexey Milovidov
ad1ac0d8df Database engines: development [#METR-19997]. 2016-03-19 03:44:37 +03:00
Alexey Milovidov
d87e4e0267 Database engines: development [#METR-19997]. 2016-03-19 00:33:59 +03:00
Alexey Milovidov
37ecbd67e9 Database engines: development [#METR-19997]. 2016-03-19 00:03:11 +03:00
Alexey Milovidov
494a799fe4 Database engines: development [#METR-19997]. 2016-03-18 23:24:57 +03:00
Alexey Milovidov
1025548e90 Database engines: development [#METR-19997]. 2016-03-18 22:50:36 +03:00
Alexey Milovidov
10a2197cf5 Database engines: development [#METR-19997]. 2016-03-18 15:09:17 +03:00
Alexey Milovidov
f0a2dc635d Database engines: development [#METR-19997]. 2016-03-18 03:26:34 +03:00
Alexey Milovidov
a8d9f06fed Database engines: development [#METR-19997]. 2016-03-18 03:22:59 +03:00
Alexey Milovidov
e405368d9c Database engines: development [#METR-19997]. 2016-03-18 01:02:40 +03:00
Alexey Milovidov
caaf7002f5 Database engines: development [#METR-19997]. 2016-03-17 23:23:40 +03:00
Alexey Milovidov
4c7b2a0412 Database engines: development [#METR-19997]. 2016-03-17 20:29:07 +03:00
Roman Peshkurov
b05268555c Merge 2016-03-17 15:57:07 +03:00
Alexey Milovidov
9838d6af73 Database engines: development [#METR-19997]. 2016-03-17 01:30:23 +03:00
Alexey Milovidov
de78aa62da Database engines: development [#METR-19997]. 2016-03-16 21:55:31 +03:00
Alexey Milovidov
c60d5116c5 Database engines: development [#METR-19997]. 2016-03-16 08:00:58 +03:00
Alexey Milovidov
0ce482c4d5 Database engines: development [#METR-19997]. 2016-03-16 06:51:10 +03:00
Alexey Milovidov
0f7054ab63 Reverted erroneous modification [#METR-19997]. 2016-03-16 06:02:20 +03:00
Alexey Milovidov
9dc7b7ef03 Database engines: development [#METR-19997]. 2016-03-16 00:41:34 +03:00
Alexey Milovidov
ca91b2020d Database engines: development [#METR-19997]. 2016-03-15 00:41:48 +03:00
Alexey Arno
df0667e738 dbms: Fixed subtle bug: when updating a ParserSelectQuery structure, the children field was left untouched. [#METR-20736] 2016-03-14 17:59:21 +03:00
Alexey Milovidov
8e31f27378 Updated tests [#METR-20381]. 2016-03-13 22:06:03 +03:00
Alexey Milovidov
d06a5906bf Quantiles: better [#METR-20381]. 2016-03-13 22:00:59 +03:00
Alexey Milovidov
1203a0a9c4 Fixed error [#METR-20381]. 2016-03-13 21:15:41 +03:00
Alexey Milovidov
745a29949e Updated comment [#METR-20381]. 2016-03-13 18:01:36 +03:00
Alexey Milovidov
bcd6875d6f Fixed off-by-one errors in aggregate functions quantileTiming and quantileExactWeighted [#METR-20381]. 2016-03-13 17:40:27 +03:00
Alexey Milovidov
ce0aeafcca Updated test [#METR-20359]. 2016-03-12 10:38:21 +03:00
Alexey Milovidov
a9b8677c26 Aggregate function quantileTiming: improved performance, lowered memory usage, lowered network traffic and improved precision [#METR-20359]. 2016-03-12 10:22:58 +03:00
Alexey Milovidov
261914bef7 Fixed error in comment [#METR-2944]. 2016-03-12 08:59:31 +03:00
Alexey Milovidov
4e9dc2837b Lowered size of compiled binary [#METR-2944]. 2016-03-12 08:53:04 +03:00
Alexey Milovidov
c8d21e3674 Fixed informational size in bytes of ColumnAggregateFunction [#METR-20359]. 2016-03-12 08:25:55 +03:00
Alexey Milovidov
18016c4221 Merge 2016-03-12 07:01:03 +03:00
Alexey Milovidov
8b36994d88 Attempt to improve performance and memory usage of quantileTiming aggregate function [#METR-20359]. 2016-03-12 00:43:59 +03:00
Alexey Milovidov
ced97fc586 Lowered size of uncompressed serialized state of aggregate function quantileTiming about 20 times in average; improved performance of distributed queries [#METR-20359]. 2016-03-11 06:43:16 +03:00
Alexey Arno
36135ddb6a dbms: Code cleanup. [#METR-18510] 2016-03-10 18:53:20 +03:00
Alexey Arno
4ce2d94be7 dbms: Removed code that was not needed anymore since we have now a better way to check issues with connections. [#METR-18510] 2016-03-10 18:42:36 +03:00
Alexey Arno
bcd48f47e4 dbms: Fixed error message. [#METR-19416] 2016-03-10 17:58:31 +03:00
Alexey Arno
d5d334d5b8 dbms: Fixed post-optimization column order. Retain aliases. [#METR-19684] 2016-03-10 17:24:04 +03:00
Alexey Milovidov
4f3e9dfc95 dbms: addition to prev. revision [#METR-20301]. 2016-03-10 06:45:03 +03:00
Alexey Milovidov
b92b0660a7 dbms: fixed error [#METR-20301]. 2016-03-10 06:08:09 +03:00
Alexey Milovidov
1fec35c80c Merge 2016-03-09 22:57:40 +03:00
Alexey Arno
50bdb806b9 dbms: Code cleanup. [#METR-18510] 2016-03-09 16:59:34 +03:00
Alexey Arno
75f31de790 dbms: Code cleanup. [#METR-18510] 2016-03-09 16:40:47 +03:00
Dmitry Galuza
82fb47739e ███████████: Step 1: Parse tags and store in separated columns [#METR-19071] 2016-03-09 15:31:20 +03:00
Alexey Arno
79d5c899b0 dbms: Fault tolerance improvement. Fixed a race condition. Some cleanup. [#METR-18510] 2016-03-09 15:03:39 +03:00
Evgeniy Gatov
6aa4d59400 Merge 2016-03-08 20:52:42 +03:00
Evgeniy Gatov
de920939e2 Merge 2016-03-08 20:51:32 +03:00
Evgeniy Gatov
44c9de8873 dbms/TSKVRowInputStream: more logging [#METR-19528]. 2016-03-08 20:43:00 +03:00
Alexey Arno
e9718711d0 dbms: Code cleanup. [#METR-18510] 2016-03-08 18:38:06 +03:00
Alexey Arno
0f35ecc357 dbms: Code cleanup. [#METR-18510] 2016-03-08 16:46:00 +03:00
Alexey Milovidov
268ff3381a Updated zstd [#METR-20309]. 2016-03-07 12:52:53 +03:00
Alexey Milovidov
0194495b99 Fixed build [#METR-2807]. 2016-03-07 11:10:52 +03:00
Alexey Milovidov
85863529cf Fixing warnings on clang [#METR-2807]. 2016-03-07 10:47:41 +03:00
Alexey Milovidov
0536f42f8c Fixing build on clang [#METR-2807]. 2016-03-07 09:49:07 +03:00
Alexey Milovidov
0e6a5df565 Fixing warnings on clang [#METR-2807]. 2016-03-07 09:25:36 +03:00
Alexey Milovidov
db574c87fb Fixing warnings on clang [#METR-2807]. 2016-03-07 09:24:36 +03:00
Alexey Milovidov
a6df232eac Fixing warnings on clang [#METR-2807]. 2016-03-07 09:23:57 +03:00
Alexey Milovidov
b335dfacba Fixing warnings on clang [#METR-2807]. 2016-03-07 09:18:06 +03:00
Alexey Milovidov
5f3cbc60f1 Fixing warnings on clang [#METR-2807]. 2016-03-07 09:13:54 +03:00
Alexey Milovidov
e41feb0ade Fixing warnings on clang [#METR-2807]. 2016-03-07 09:08:34 +03:00
Alexey Milovidov
4aa0a85ca2 Fixing warning on clang [#METR-2807]. 2016-03-07 09:00:25 +03:00
Alexey Milovidov
51874d6dd3 Fixing warnings on clang [#METR-2807]. 2016-03-07 08:15:42 +03:00
Alexey Milovidov
4576a90ba0 Fixing warnings on clang [#METR-2807]. 2016-03-07 08:05:42 +03:00
Alexey Milovidov
009070123e Fixing warnings on clang [#METR-2807]. 2016-03-07 07:56:19 +03:00
Alexey Milovidov
fcbe00ce94 Fixing warnings on clang [#METR-2807]. 2016-03-07 07:53:17 +03:00
Alexey Milovidov
a75b6ca3dd Fixing warnings on clang [#METR-2807]. 2016-03-07 07:43:14 +03:00
Alexey Milovidov
e2ef99e3b1 Fixing warnings on clang [#METR-2807]. 2016-03-07 07:36:54 +03:00
Alexey Milovidov
0a48e6296e Fixing warnings on clang [#METR-2807]. 2016-03-07 07:35:06 +03:00
Alexey Milovidov
30cba89be0 Fixing build on clang [#METR-2807]. 2016-03-07 07:31:10 +03:00
Alexey Milovidov
e310ceef21 Fixed build on clean system [#METR-2944]. 2016-03-07 05:49:57 +03:00
Alexey Milovidov
ebf5b3afdd Merge 2016-03-07 05:21:16 +03:00
Alexey Milovidov
58fb3095d9 Fixed clean build [#METR-2944]. 2016-03-07 05:12:51 +03:00
Alexey Milovidov
e370fe0332 Removed table default.hits from repository [#METR-2944]. 2016-03-07 04:08:37 +03:00
Alexey Milovidov
0d43b225b6 Merge 2016-03-07 04:08:20 +03:00
Alexey Milovidov
f81aa67fc4 Preparation [#METR-20307]. 2016-03-07 04:08:01 +03:00
Alexey Arno
a1fd25865b dbms: Code cleanup. [#METR-18510] 2016-03-05 13:33:01 +03:00
Alexey Milovidov
f5247021b1 Fixed error [#METR-20296]. 2016-03-05 06:17:11 +03:00
Alexey Milovidov
36e4bcc125 Better diagnostics [#METR-19808]. 2016-03-05 05:30:20 +03:00
Alexey Milovidov
4b1c11288a Renamed test [#TESTIRT-8503]. 2016-03-05 02:44:54 +03:00
Alexey Milovidov
fb4e0b1402 Fixed error and added test for '_sample_factor' virtual column [#METR-20296]. 2016-03-05 02:42:30 +03:00
Alexey Milovidov
f9c127b405 Merge 2016-03-05 00:28:21 +03:00
Alexey Milovidov
866382e4d4 Fixed test script [#METR-20000]. 2016-03-05 00:28:05 +03:00
Alexey Milovidov
921000e9c5 dbms: fixed error [#METR-2944]. 2016-03-05 00:26:36 +03:00
Alexey Arno
f5c520bde1 dbms: Improved locking. [#METR-18510] 2016-03-04 19:33:31 +03:00
Alexey Arno
860bfcf676 dbms: Code cleanup. [#METR-18510] 2016-03-04 13:04:01 +03:00
Alexey Arno
b44f3f4f5d dbms: Code cleanup. [#METR-18510] 2016-03-04 13:00:00 +03:00
Alexey Milovidov
4e0be26844 Addition to prev. revision [#METR-20296]. 2016-03-04 07:56:43 +03:00
Alexey Milovidov
42883fddc4 Added virtual column '_sample_factor' [#METR-20296]. 2016-03-04 07:54:10 +03:00
Alexey Milovidov
d1aee1d615 Fixed error with StorageBuffer and automatic moving conditions to PREWHERE [#METR-20257]. 2016-03-04 05:54:26 +03:00
Alexey Milovidov
cd7b937342 Whitespaces [#METR-2944]. 2016-03-04 05:40:48 +03:00
Alexey Milovidov
916ff9d592 Better diagnostics [#METR-20293]. 2016-03-04 00:35:05 +03:00
Alexey Milovidov
5fc8539790 Saving more logs [#METR-2944]. 2016-03-04 00:30:03 +03:00
Alexey Milovidov
c8d87e8a24 Better [#METR-18510]. 2016-03-03 23:48:04 +03:00
Alexey Milovidov
a8f423a74c Merge 2016-03-03 23:29:52 +03:00
Alexey Arno
aeb14a7855 dbms: More locking improvements. [#METR-18510] 2016-03-03 19:22:10 +03:00
Alexey Arno
3b9ea20c91 dbms: More locking improvements. [#METR-18510] 2016-03-03 19:20:19 +03:00
Pavel Kartavyy
4e2a760474 Merge 2016-03-03 18:38:13 +03:00
Pavel Kartavyy
1f3cff5232 Merge 2016-03-03 18:21:44 +03:00
Alexey Arno
d21060c35b dbms: Locking performance and correctness improvements. [#METR-18510] 2016-03-03 17:37:15 +03:00
Alexey Arno
9efcf9d204 dbms: Code cleanup. [#METR-18510] 2016-03-03 11:40:21 +03:00
Alexey Arno
ba50a8f958 dbms: Removed commented out code. [#METR-18510] 2016-03-03 10:54:36 +03:00
Alexey Arno
da03a011b2 dbms: Modified function implementation to make it cleaner. [#METR-18510] 2016-03-03 10:39:02 +03:00
Alexey Milovidov
e29eb14b79 dbms: attempt to fix an error [#METR-20273]. 2016-03-03 07:30:36 +03:00
Alexey Milovidov
0fbf3e4652 dbms: better [#METR-2944]. 2016-03-03 07:12:47 +03:00
Alexey Milovidov
0119de05bb DataPartsExchange: better [#METR-20273]. 2016-03-03 06:54:37 +03:00
Alexey Milovidov
f84772a55e Merge 2016-03-03 04:55:17 +03:00
Alexey Milovidov
d38693267d dbms: fixed error with faster text formats [#METR-20081]. 2016-03-03 04:54:58 +03:00
Alexey Arno
aa10c8c87d dbms: Code cleanup. [#METR-18510] 2016-03-02 23:27:29 +03:00
Alexey Arno
04db615bde dbms: Added code that lowers cancellation latency. [#METR-18510] 2016-03-02 23:08:38 +03:00
Alexey Arno
514cf0fcba dbms: Code cleanup. [#METR-18510] 2016-03-02 17:12:04 +03:00
Alexey Arno
6232e1cf9a dbms: Added stricter checkings for coordinated requests originating from shards and a more reliable cluster naming scheme. [#METR-18510] 2016-03-02 16:35:30 +03:00
Alexey Arno
fc2c3c1f2e dbms: Server: Reverted old modification that found its way into master by error. It could have lead to deadlocks. [#METR-18510] 2016-03-01 22:16:27 +03:00
Alexey Milovidov
d9db741dab Merge 2016-03-01 20:53:58 +03:00
Alexey Milovidov
4df135239c Fixing build of package [#TESTIRT-8503]. 2016-03-01 20:53:26 +03:00
Alexey Arno
6efc98d1f3 Merge 2016-03-01 20:47:53 +03:00
Alexey Milovidov
5360c78806 Added support for private submodule [#TESTIRT-8503]. 2016-03-01 00:27:02 +03:00
Alexey Milovidov
8fa43ea340 Removed harmful option from default config of clickhouse-client [#METR-2944]. 2016-02-29 23:13:08 +03:00
Alexey Milovidov
debac911d0 Fixed build of tests [#METR-20145]. 2016-02-29 22:17:00 +03:00
Alexey Milovidov
6e2697ad0b Fixed compatibility with subtree [#METR-17973]. 2016-02-25 06:15:26 +03:00
Alexey Milovidov
b5ac93cf0e Fixed segfault [#METR-20155]. 2016-02-25 05:37:31 +03:00
Alexey Milovidov
dcce15052f Removed (useless) linking of vectorclass [#METR-20000]. 2016-02-24 21:25:44 +03:00
Dmitry Galuza
3dad6b6330 Add StringRef helper for WriteBuffer [#METR-19071] 2016-02-24 12:30:29 +03:00
Vladimir Chebotarev
f35f568595 dbms: Minor changes [METR-19308] 2016-02-24 10:53:04 +03:00
Alexey Milovidov
86a6884344 Merge 2016-02-23 06:21:44 +03:00
Alexey Milovidov
4c0b0e9c80 dbms: fixed error with function positionCaseInsensitiveUTF8 [#METR-20054]. 2016-02-23 06:20:48 +03:00
Vladimir Chebotarev
54b7ce5dad dbms: One more dirty hack to ensure the same size of CompressedWriteBuffer [METR-19308] 2016-02-22 00:58:08 +03:00
Alexey Milovidov
80fd8aa29b Merge 2016-02-21 23:08:41 +03:00
Alexey Milovidov
5ba1215b12 Updated comment [#METR-2944]. 2016-02-21 23:08:08 +03:00
Vladimir Chebotarev
6f0084c3a3 dbms: Dirty hack to ensure the same size of CompressedReadBufferBase [METR-19308] 2016-02-21 16:57:16 +03:00
Alexey Milovidov
aea710d430 Removed function groupUniqArray from Array argument [#METR-20150]. 2016-02-20 22:04:35 +03:00
Alexey Milovidov
a4cb6a3de9 Fixed error with groupUniqArray aggregate function of Array arguments [#METR-20150]. 2016-02-20 21:11:50 +03:00
Alexey Milovidov
56b316bff7 Fixed error when symlinked part couldn't be removed [#METR-20080]. 2016-02-19 23:13:54 +03:00
Alexey Milovidov
9e81f3eea0 Added setting 'enable_http_compression' [#METR-20041]. 2016-02-19 22:02:20 +03:00
Alexey Milovidov
93c5ba2d4d Added support for unknown fields in TSKVRowInputStream [#METR-20081]. 2016-02-19 19:59:31 +03:00
Alexey Milovidov
13e737bdd6 Added test for Array columns in primary key [#METR-20079]. 2016-02-19 19:57:33 +03:00
Alexey Milovidov
d391e77b7d Fixed error [#METR-20081]. 2016-02-18 14:54:16 +03:00
Alexey Milovidov
d9da199c33 Added comment [#METR-2944]. 2016-02-18 14:47:37 +03:00
Alexey Milovidov
799ccc739b Addition to prev. revision [#METR-20081]. 2016-02-18 14:45:32 +03:00
Alexey Milovidov
e8802db2c3 Added format JSONEachRow [#METR-20081]. 2016-02-18 14:44:50 +03:00
Alexey Milovidov
2f35f6a350 Added support for format TSKV for input [#METR-20081]. 2016-02-18 06:13:52 +03:00
Alexey Milovidov
7af87e367f Better diagnostics [#METR-20079]. 2016-02-18 00:02:06 +03:00
Alexey Milovidov
ef6ca3e1de Added SSE 4.2 version of find_first_symbols for long set of symbols [#METR-20078]. 2016-02-17 05:39:43 +03:00
Alexey Milovidov
313b0a58f5 Implemented TODO [#METR-2944]. 2016-02-17 05:38:56 +03:00
Vladimir Chebotarev
77ac3ab39b dbms: Added proper spacing in arguments of find_first_symbols [METR-20078] 2016-02-17 00:32:24 +03:00
Vladimir Chebotarev
e9c486c385 libcommon, ReadHelpers: find_first_symbols [METR-20078] 2016-02-16 19:45:40 +03:00
Alexey Milovidov
8b3afeb60d Squashed commit of the following:
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:11:29 2016 +0300

    Addition [#METR-2944].

commit 7524981fa7c4f22929dd5009444a0ae28500f620
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:08:43 2016 +0300

    Fixed error (incomplete) [#METR-2944].

commit 2f1e7bf9f46cd9ce958ade9041c00ce067940fd2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 05:37:43 2016 +0300

    Improving performance of row formats [#METR-2944].

commit 9848910f235863c9571ef1ebe0d87d4929ee283c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 00:37:12 2016 +0300

    Improving performance of text formats [#METR-2944].

commit 3aedc7fd784af962e64ffdd10ec23ac53827d8e2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 00:18:00 2016 +0300

    Improving performance of row formats [#METR-2944].

commit cb5932c2b0385604477e69c8262dc31a4bb4b23b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Mon Feb 15 00:53:27 2016 +0300

    Fixed error.

commit 42863fd4eddeef594e846c598b92877b6ff86fa6
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sun Feb 14 23:13:46 2016 +0300

    Improving performance of row formats [#METR-2944].

commit 71c6fb19a85a79297433ceb486fdb97e551d964f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sun Feb 14 16:58:56 2016 +0300

    Improving performance of row formats [#METR-2944].
2016-02-16 19:39:39 +03:00
Alexey Milovidov
7406fa60ff Added test [#METR-20041]. 2016-02-16 19:35:20 +03:00
Alexey Milovidov
415a1dc3ad Fixed error with gzip/deflate and empty response body [#METR-20041]. 2016-02-16 19:33:12 +03:00
Alexey Milovidov
bb122a2fa7 dbms: less locking while clearing old parts; better while loading parts [#METR-2944]. 2016-02-14 14:02:47 +03:00
Alexey Milovidov
4e86a71198 Addition [#METR-2944]. 2016-02-14 09:46:22 +03:00
Alexey Milovidov
5a78d4b0da Lowered size of index in memory (experimental) [#METR-2944]. 2016-02-14 08:43:03 +03:00
Alexey Milovidov
7a92c3cf1a Preparation [#METR-2944]. 2016-02-14 07:58:47 +03:00
Alexey Milovidov
e3d2a30c72 Addition [#METR-20026]. 2016-02-14 07:13:12 +03:00
Alexey Milovidov
ce3f881d7a Improved performance of WriteBufferValidUTF8 [#METR-20026]. 2016-02-14 07:07:55 +03:00
Alexey Milovidov
fabf0b3dc4 Added test for format XML [#METR-20026]. 2016-02-14 06:12:58 +03:00
Alexey Milovidov
79814b090d Implemented format XML [#METR-20026]. 2016-02-14 06:06:26 +03:00
Alexey Milovidov
8efb3e5ade Initial implementation of XML output format [#METR-20026]. 2016-02-14 05:37:42 +03:00
Alexey Milovidov
12363ed329 Added limited support for expressions in INSERT ... VALUES [#METR-20048]. 2016-02-13 09:37:19 +03:00
Alexey Milovidov
bc54312472 Fixed minor issue with readonly setting [#METR-15268]. 2016-02-12 06:45:26 +03:00
Alexey Milovidov
a33ab9cbe1 Fixed error when user could override settings in readonly mode, using HTTP interface [#METR-15268]. 2016-02-12 06:32:05 +03:00
Alexey Milovidov
6a2a082ea7 Added setting http_zlib_compression_level [#METR-20041]. 2016-02-12 05:26:04 +03:00
Alexey Milovidov
1cee75e828 Added test for sending external tables via HTTP [#METR-2944]. 2016-02-12 03:58:26 +03:00
Alexey Milovidov
dafece62ef Added support for HTTP compression of POST data [#METR-20041]. 2016-02-12 03:56:15 +03:00
Alexey Milovidov
421d5a97ad Added support for HTTP compression [#METR-20041]. 2016-02-12 02:37:16 +03:00
Alexey Milovidov
c7d394f47e HTTP compression: development [#METR-20041]. 2016-02-12 00:40:51 +03:00
Alexey Milovidov
d14a12151e Fixed error with leak of watches [#METR-19975]. 2016-02-11 04:48:34 +03:00
Alexey Milovidov
14c28ebf0d Updated comment [#METR-20000]. 2016-02-11 04:43:39 +03:00
Pavel Kartavyy
eca42536d8 dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon 2016-02-09 20:06:50 +03:00
Alexey Milovidov
c55fbd08dc Fixed build package for metrika [#METR-17973]. 2016-02-09 00:20:55 +03:00
Alexey Milovidov
45cf6c6784 Added external tests [#METR-17973]. 2016-02-09 00:10:10 +03:00
Alexey Milovidov
df1d66e51a Removed sensitive data. 2016-02-08 00:58:58 +03:00
Alexey Milovidov
c3827a29eb Removed unrelated data. 2016-02-07 23:02:44 +03:00
Alexey Milovidov
02958c1c7f dbms: fixed race condition between attaches and download of parts [#METR-19399]. 2016-02-07 20:31:13 +03:00
Alexey Milovidov
c4a5b862bf dbms: tiny modification [#METR-2944]. 2016-02-07 20:30:39 +03:00
Alexey Milovidov
35d1bc10e2 dbms: fixed test [#METR-2944]. 2016-02-07 19:55:57 +03:00
Alexey Milovidov
6c38979819 dbms: fixed test [#METR-2944]. 2016-02-07 17:49:20 +03:00
Alexey Milovidov
d72720616a dbms: CSV format: development [#METR-19957]. 2016-02-07 14:49:49 +03:00
Alexey Milovidov
dadadf1b37 dbms: CSV format: additions [#METR-19957]. 2016-02-07 13:43:02 +03:00
Alexey Milovidov
dc982b1493 dbms: CSV format: added support for excessive delimiter at end of row [#METR-19957]. 2016-02-07 13:23:02 +03:00
Alexey Milovidov
73994ebb08 dbms: fixed error; added tests [#METR-19957]. 2016-02-07 12:53:48 +03:00
Alexey Milovidov
43c73cf7ee dbms: added support for CSV format [#METR-19957]. 2016-02-07 11:42:21 +03:00
Alexey Milovidov
563e410b72 Moved threadpool library to contrib [#METR-17973]. 2016-02-05 08:07:39 +03:00
Alexey Milovidov
7725b8ef8b dbms: better [#METR-17973]. 2016-02-05 05:21:18 +03:00
Alexey Milovidov
b375b6c6e6 dbms: fixed comments [#METR-17973]. 2016-02-04 00:37:52 +03:00
Alexey Milovidov
abf49e937c dbms: disabled QuickLZ [#METR-17973]. 2016-02-04 00:16:19 +03:00
Alexey Milovidov
3646bb747c dbms: additions [#METR-17973]. 2016-02-03 04:34:08 +03:00
Alexey Milovidov
de080cac60 dbms: fixed error [#METR-19866]. 2016-02-03 04:24:12 +03:00
Alexey Milovidov
3519c3cea2 dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973]. 2016-02-03 04:17:58 +03:00
Alexey Milovidov
48a1fe182d dbms: attempt to fix an error [#METR-19866]. 2016-02-03 00:30:27 +03:00
Alexey Milovidov
f8ddee2443 dbms: fixed comment (tnx. chebotarev) [#METR-2944]. 2016-02-03 00:13:30 +03:00
Alexey Milovidov
038a6278d5 dbms: fixed error with multiple INSERTs in StripeLog [#METR-19901]. 2016-02-02 23:33:03 +03:00
Alexey Arno
4605992fb3 dbms: Server: Bug fix. [#METR-19860] 2016-02-02 14:49:57 +03:00
Alexey Milovidov
477c7245d4 dbms: added function regionToTopContinent [#METR-19807]. 2016-02-01 23:18:13 +03:00
Alexey Milovidov
14854540ba dbms: added test [#METR-19265]. 2016-02-01 21:40:27 +03:00
Alexey Milovidov
37d4dcb587 dbms: fixed CAST String to Enum [#METR-19265]. 2016-02-01 21:32:34 +03:00
Alexey Milovidov
b7ef4a3e7b dbms: fixed function visibleWidth for enums [#METR-19265]. 2016-02-01 20:30:46 +03:00
Alexey Milovidov
21fb1cca7c dbms: protection from attaching inactive parts at second ATTACH [#METR-19399]. 2016-01-30 06:26:24 +03:00
Alexey Milovidov
f9268b6ccb dbms: added test [#METR-19399]. 2016-01-30 05:50:14 +03:00
Alexey Milovidov
a0e7a59ab1 dbms: fixing errors with ATTACHes [#METR-19399]. 2016-01-30 05:29:20 +03:00
Alexey Milovidov
dae8a1d99d dbms: allowed to merge parts after DETACH PARTITION and then ATTACH [#METR-19397]. 2016-01-30 04:36:13 +03:00
Alexey Milovidov
f0a009bd70 dbms: attempt to fix an error [#METR-19399]. 2016-01-30 03:57:35 +03:00
Alexey Milovidov
061306d04b Merge 2016-01-29 05:24:50 +03:00
Alexey Milovidov
1b93d7d874 dbms: fixed error with possible conflict of names of parts when doing ATTACH after DROP PARTITION [#METR-18510]. 2016-01-29 05:24:03 +03:00
Alexey Milovidov
d5163b5060 Removed few old files [#METR-18510]. 2016-01-29 05:22:43 +03:00
Alexey Arno
113b592380 Merge 2016-01-28 19:06:57 +03:00
Alexey Milovidov
e5d4149ca4 Merge 2016-01-28 04:00:42 +03:00
Alexey Milovidov
67a07205b7 Merge 2016-01-28 04:00:27 +03:00
Alexey Milovidov
b7d3f0e4d6 Merge 2016-01-28 03:59:35 +03:00
Alexey Milovidov
113ff27a70 dbms: added test [#METR-19835]. 2016-01-28 03:54:56 +03:00
Alexey Milovidov
5d962f241f dbms: fixed error with ATTACH [#METR-19835]. 2016-01-28 03:39:11 +03:00
Pavel Kartavyy
fec72d8e58 Merge 2016-01-27 14:37:03 +03:00
Pavel Kartavyy
e19e2effd6 build fix 2016-01-27 10:03:15 +03:00
Alexey Milovidov
0b230fac46 dbms: fixed error [#METR-19585]. 2016-01-27 08:11:51 +03:00
Alexey Milovidov
506d79894f dbms: fixed error [#METR-19585]. 2016-01-27 07:34:10 +03:00
Alexey Milovidov
341a9e89e7 dbms: improved performance (not in all cases) [#METR-19585]. 2016-01-27 06:26:36 +03:00
Alexey Milovidov
0853c80d7c dbms: initial implementation of position functions for non-constant needle argument [#METR-19585]. 2016-01-27 06:11:28 +03:00
Alexey Milovidov
5dec54f4b5 dbms: improved URL-parsing functions for URLs with parameters without values and "parameters" after fragment identifier [#METR-19806]. 2016-01-27 00:24:09 +03:00
Alexey Milovidov
5c90d7d45c Merge 2016-01-26 05:00:25 +03:00
Alexey Milovidov
085dd9f90a Merge 2016-01-26 04:56:42 +03:00
Alexey Milovidov
d29ae515a5 Merge 2016-01-26 04:39:05 +03:00
Alexey Milovidov
9156262de6 dbms: added tests [#METR-19767]. 2016-01-26 04:35:33 +03:00
Alexey Milovidov
f715b941da dbms: done debugging [#METR-19767]. 2016-01-26 04:26:02 +03:00
Alexey Arno
ae2f7c7613 Merge 2016-01-26 03:30:18 +03:00
Alexey Milovidov
869a521aed dbms: fixing error [#METR-19767]. 2016-01-26 00:40:13 +03:00
Alexey Milovidov
525f961110 dbms: fixed error [#METR-19758]. 2016-01-24 10:10:30 +03:00