Commit Graph

8561 Commits

Author SHA1 Message Date
Alexey Milovidov
6033221198 Merge branch 'master' of github.com:yandex/ClickHouse 2017-08-15 23:14:32 +03:00
Alexey Milovidov
4272265128 Fixed LimitReadBuffer [#CLICKHOUSE-2]. 2017-08-15 23:14:15 +03:00
Alexey Zatelepin
0185fd4542 fix parsing min-max dates from part name [#CLICKHOUSE-3000] 2017-08-15 23:03:59 +03:00
Nikolai Kochetov
f8513b932f removed ability to select from external temporary table by query_id 2017-08-15 22:31:40 +03:00
Nikolai Kochetov
89df47fd52 added test for drop temporary table 2017-08-15 22:31:40 +03:00
Nikolai Kochetov
9c6f1a1e4b supported drop query for temporary tables [#CLICKHOUSE-3219] 2017-08-15 22:31:40 +03:00
Alexey Zatelepin
372801c59b fix comments [#CLICKHOUSE-3000] 2017-08-15 22:30:52 +03:00
Alexey Zatelepin
0df4ae6b02 do not use unnecessary temporary objects to query a set of parts [#CLICKHOUSE-3000] 2017-08-15 22:30:52 +03:00
Alexey Zatelepin
f25f0cd759 reduce number of places where partitioning by month is assumed [#CLICKHOUSE-3000] 2017-08-15 22:30:52 +03:00
robot-metrika-test
335078ae90 Auto version update to [54275] 2017-08-15 19:18:02 +03:00
Vitaliy Lyudvichenko
8a14cc49ff asyncMulti() -> multi(). [#CLICKHOUSE-3221] 2017-08-15 19:18:02 +03:00
robot-metrika-test
c305b77871 Auto version update to [54274] 2017-08-14 19:07:55 +03:00
Vitaliy Lyudvichenko
05d3f338ca Add useful .gitignore. [#CLICKHOUSE-2] 2017-08-14 15:03:43 +03:00
Vitaliy Lyudvichenko
33a50b4d65 Fix false IOError messages in integration tests log. [#CLICKHOUSE-2] 2017-08-14 14:49:30 +03:00
robot-metrika-test
b1bc0a9e99 Auto version update to [54273] 2017-08-14 09:49:06 +03:00
Alexey Milovidov
5fe560e7f2 Merge branch 'master' of github.com:yandex/ClickHouse 2017-08-14 08:51:13 +03:00
Alexey Milovidov
5af5f78cb7 Terminate only DDLWorker in case of unexpected exception in DDLWorker [#CLICKHOUSE-4]. 2017-08-14 08:51:03 +03:00
robot-metrika-test
a16ed9fc32 Auto version update to [54272] 2017-08-14 08:49:05 +03:00
Alexey Milovidov
1495490726 DDLWorker: better [#CLICKHOUSE-5]. 2017-08-14 08:44:04 +03:00
Alexey Milovidov
957fb9f2e5 Added test [#CLICKHOUSE-2]. 2017-08-14 07:49:20 +03:00
Alexey Milovidov
09d83eecd0 Moved code to cpp [#CLICKHOUSE-2]. 2017-08-14 07:42:04 +03:00
alexey-milovidov
94a15df626 Update LimitReadBuffer.h 2017-08-14 07:37:01 +03:00
alexey-milovidov
cbed1415d7 Update LimitReadBuffer.h 2017-08-14 07:37:01 +03:00
alexey-milovidov
16f0af8018 Update LimitReadBuffer.h 2017-08-14 07:37:01 +03:00
alexey-milovidov
d87b615bdf Update LimitReadBuffer.h 2017-08-14 07:37:01 +03:00
alexey-milovidov
3330cd6a7f Update LimitReadBuffer.h 2017-08-14 07:37:01 +03:00
Evgeniy Gatov
2e6eb504dc LimitReadBuffer fix [#CLICKHOUSE-2]. 2017-08-14 07:37:01 +03:00
robot-metrika-test
eca1b39dee Auto version update to [54271] 2017-08-14 07:25:10 +03:00
Alexey Milovidov
986c6c729d Fixed incompatibility [#CLICKHOUSE-2]. 2017-08-14 07:23:38 +03:00
Alexey Milovidov
e7dcd1cc71 Merge branch 'master' of github.com:yandex/ClickHouse 2017-08-14 04:30:29 +03:00
Alexey Milovidov
96d8ba9e3f Fixed typo [#CLICKHOUSE-2]. 2017-08-14 04:29:19 +03:00
robot-metrika-test
11adefa2c0 Auto version update to [54270] 2017-08-14 04:04:51 +03:00
Alexey Milovidov
6ec873c75e Fixed test (it was dependent on time zone) [#CLICKHOUSE-2]. 2017-08-14 03:02:12 +03:00
Alexey Milovidov
0ef64e5dfe Fixed error [#CLICKHOUSE-2]. 2017-08-14 02:58:04 +03:00
Alexey Milovidov
547516c636 Fixed errors after merge [#CLICKHOUSE-2]. 2017-08-13 12:27:38 +03:00
Alexey Milovidov
1cc50263d8 Merge branch 'master' of github.com:yandex/ClickHouse 2017-08-13 12:20:15 +03:00
Alexey Milovidov
9aca95001e Fixed regression, added test [#CLICKHOUSE-2]. 2017-08-13 12:20:05 +03:00
Vitaliy Lyudvichenko
bf1c4d156a Fix errors after rebase, better logging. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
04ab103d92 Avoid extra ZK calls on cleanup. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
alexey-milovidov
7ba0fcaf51 Update DDLWorker.cpp 2017-08-13 12:18:46 +03:00
alexey-milovidov
15fa88d25b Update DDLWorker.cpp 2017-08-13 12:18:46 +03:00
alexey-milovidov
4af3e55699 Update DDLWorker.cpp 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
d9ce96f8f5 Fixed test and misspellings. [#CLICKHOUSE-3207] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
f815498e34 Fix error codes skipping. [#CLICKHOUSE-2] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
a34ab8201a Add FORMAT section for DDL queries CREATE, ALTER, RENAME, DROP. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
4ef5d14722 Add distributed_ddl_task_timeout setting. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
183c55676e Fixed ON CLUSTER DDL for Views. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
cdf95ab308 Fixed race condition in case of different cluster definitions. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
e4785aeb4d Simplified clean queue logic. Added more tests. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
c2e84d6df7 Fixed several errors in case of connection loss. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
cb02a1b3b5 Add random ZK packets drops into test. Fixed a couple bugs. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
4a7927b186 Many improvements. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
c2cf3f81be Fix test after rebase. [#CLICKHOUSE-312] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
628de0a3ea Fixed logging of DDL queries. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
736feab79f Add port field. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
7e8f3a0561 Add parse error handling. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
c65c49b50a Add config-based host name selection. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
alexey-milovidov
3c0d0274d0 Update executeQuery.h 2017-08-13 12:17:09 +03:00
Alexey Zatelepin
7b0a7def02 remove unused setting [#CLICKHOUSE-3151] 2017-08-13 12:17:09 +03:00
Alexey Zatelepin
67dffb9be6 simplify MultiplexedConnections further (so that it works with only one shard) [#CLICKHOUSE-3151] 2017-08-13 12:17:09 +03:00
Alexey Zatelepin
c99f3d7ee0 add test [#CLICKHOUSE-3151] 2017-08-13 12:17:09 +03:00
Alexey Zatelepin
b469ef1792 don't use local replica if its delay is unacceptable [#CLICKHOUSE-3151] 2017-08-13 12:17:09 +03:00
Alexey Zatelepin
36dc7857a1 make LazyBlockInputStream thread-safe [#CLICKHOUSE-3151] 2017-08-13 12:17:09 +03:00
Alexey Zatelepin
3f3b7f61e2 always send changed settings for remote connections [#CLICKHOUSE-3151] 2017-08-13 12:17:09 +03:00
Alexey Zatelepin
ee457eca8a remove shard multiplexing code, simplify [#CLICKHOUSE-3151] 2017-08-13 12:17:09 +03:00
Alexey Zatelepin
133be4d739 move and rename things [#CLICKHOUSE-3151] 2017-08-13 12:17:09 +03:00
Alexey Milovidov
1e1dc8828a Miscellaneous [#CLICKHOUSE-2]. 2017-08-13 00:02:45 +03:00
Vitaliy Lyudvichenko
1c8a280d63 Fixed escapeForFileName(). [#CLICKHOUSE-2] 2017-08-12 23:46:22 +03:00
Vitaliy Lyudvichenko
f36caa9c99 Parameter rename. [#CLICKHOUSE-3213] 2017-08-12 03:46:42 +03:00
Vitaliy Lyudvichenko
04dcec32b4 Specialized implementation of groupArray() for Date and DateTime. [#CLICKHOUSE-3213] 2017-08-12 03:46:42 +03:00
Nikolai Kochetov
b7f8ac1f2d rewrote rewriting of SELECT query in StorageMerge with WITH statement 2017-08-12 00:01:28 +03:00
Nikolai Kochetov
ac87cb035f added test to former WITH clause in SELECT query 2017-08-12 00:01:28 +03:00
Nikolai Kochetov
37b6c98752 added former WITH clause to SELECT query 2017-08-12 00:01:28 +03:00
alexey-milovidov
9b99dfb53d Merge pull request #1031 from yandex/wait-for-insertion-in-distributed
Wait for insertion in distributed
2017-08-11 21:35:13 +03:00
Nikolai Kochetov
24b5a59f8c merged with remote [#CLICKHOUSE-3033] 2017-08-11 18:38:46 +03:00
Nikolai Kochetov
90940d8423 Cluster and DistributedBlockOutputStream refactoring [#CLICKHOUSE-3033] 2017-08-11 18:02:07 +03:00
Alexey Milovidov
d7d6c4b962 Merge branch 'master' of github.com:yandex/ClickHouse 2017-08-11 02:26:51 +03:00
Alexey Milovidov
1e941a137e Better exception message [#CLICKHOUSE-2]. 2017-08-11 02:26:38 +03:00
Alexey Milovidov
ce4349b6cd Fixed error when huge sets for IN, JOIN, DISTINCT cannot be created with exception message "Cannot mremap... Bad address" [#CLICKHOUSE-2]. 2017-08-11 02:25:51 +03:00
Vitaliy Lyudvichenko
cd3a696d8b Add requested changes. [#CLICKHOUSE-3207] 2017-08-10 23:09:05 +03:00
alexey-milovidov
1626637a89 Update zkutil_test_multi_exception.cpp 2017-08-10 23:09:05 +03:00
alexey-milovidov
e44614d017 Update ZooKeeper.cpp 2017-08-10 23:09:05 +03:00
alexey-milovidov
5d3bff4802 Update ZooKeeper.cpp 2017-08-10 23:09:05 +03:00
Vitaliy Lyudvichenko
23af9ddd5e Fixed segfault: the future owns source ops. [#CLICKHOUSE-3207] 2017-08-10 23:09:05 +03:00
Vitaliy Lyudvichenko
351a0905d5 Implemented fast block and parts cleaning. [#CLICKHOUSE-3207] 2017-08-10 23:09:05 +03:00
Alexey Milovidov
e6739cc35d Whitespace [#CLICKHOUSE-2]. 2017-08-10 22:41:21 +03:00
proller
2344fe7dae Cmake: fix tests includes (#1090)
Cmake: fix tests includes
2017-08-10 20:51:45 +03:00
alexey-milovidov
4398d71ef5 Update StorageDistributed.h 2017-08-10 07:37:35 +03:00
alexey-milovidov
0282d516a4 Update DistributedBlockOutputStream.cpp 2017-08-10 07:10:36 +03:00
alexey-milovidov
2717c94a36 Update DistributedBlockOutputStream.cpp 2017-08-10 07:05:16 +03:00
alexey-milovidov
0285f99c4e Update DistributedBlockOutputStream.cpp 2017-08-10 06:54:02 +03:00
alexey-milovidov
57a9d22b0c Update DistributedBlockOutputStream.cpp 2017-08-10 06:49:03 +03:00
alexey-milovidov
c665c4c4e5 Update DirectoryMonitor.h 2017-08-10 06:46:16 +03:00
alexey-milovidov
5773832979 Update DirectoryMonitor.cpp 2017-08-10 06:45:57 +03:00
alexey-milovidov
bf77c602de Update Settings.h 2017-08-10 06:44:34 +03:00
alexey-milovidov
a122cd613a Update FunctionsExternalDictionaries.h 2017-08-10 06:29:06 +03:00
alexey-milovidov
b01f0c6d13 Update CacheDictionary.cpp 2017-08-10 06:29:06 +03:00
alexey-milovidov
0fbda791b5 Update iostream_debug_helpers.h 2017-08-10 06:29:06 +03:00
proller
4cda5b4470 Fix result 2017-08-10 06:29:06 +03:00
proller
6ca798a357 Fix infinite loop in dictGetHierarchy if id chain looped 2017-08-10 06:29:06 +03:00
proller
7937903d56 Improve debug helpers 2017-08-10 06:29:06 +03:00
proller
139d9e5c19 Config: Allow multiple dictionaries_config 2017-08-10 06:17:19 +03:00
Vadim Skipin
e6344f9048 Extract handlers to allow reuse 2017-08-10 06:13:15 +03:00
Vadim Skipin
f1e88e074c Introduce IServer to host handlers 2017-08-10 06:13:15 +03:00
proller
2ea63defa5 Fix test/string_pool include (#1086)
* Fix sparcehash include

* Fix re2_st include

* Fix test/string_pool include
2017-08-10 03:28:29 +03:00
Alexey Milovidov
46b5c9ce03 Miscellaneous [#CLICKHOUSE-2]. 2017-08-10 02:57:54 +03:00
proller
c351b367fb Fix sparcehash include (#1084)
* Fix sparcehash include

* Fix re2_st include
2017-08-10 02:11:28 +03:00
Alexey Milovidov
e86d0b4a74 Merge branch 'master' of github.com:yandex/ClickHouse 2017-08-10 00:07:10 +03:00
Alexey Milovidov
56a5bb53fa Miscellaneous [#CLICKHOUSE-2]. 2017-08-10 00:07:01 +03:00
Vitaliy Lyudvichenko
27174d9dd2 Avoid many checks of sending parts if sendings fail due to network error. [#CLICKHOUSE-2] 2017-08-09 23:57:42 +03:00
proller
ac178bde1f Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM (#1083)
* Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM

* Fix lib find order

* Allow define non-contrib cityhash farmhash metrohash

* Fix message

* Cmake: fixes

* clean

* Update CMakeLists.txt
2017-08-09 23:52:55 +03:00
Alexey Milovidov
1daf11153a Fixed typo [#CLICKHOUSE-2]. 2017-08-09 18:34:30 +03:00
robot-metrika-test
6a4460c69f Auto version update to [54269] 2017-08-09 16:36:38 +03:00
Alexey Milovidov
4f633f316c Removed TODO [#CLICKHOUSE-2]. 2017-08-09 04:38:56 +03:00
Alexey Milovidov
6edb14ba6b Fixed garbage [#CLICKHOUSE-2]. 2017-08-09 04:35:12 +03:00
Alexey Milovidov
1fc8548018 Fixing garbage (incomplete) [#CLICKHOUSE-2]. 2017-08-09 04:35:12 +03:00
Alexey Milovidov
9bbcfbd35c Fixed error [#CLICKHOUSE-2]. 2017-08-09 04:35:12 +03:00
Alexey Milovidov
b0b7f1b161 Miscellaneous [#CLICKHOUSE-2]. 2017-08-08 23:58:18 +03:00
Nikolai Kochetov
43dc201f49 merged with master 2017-08-08 15:11:49 +03:00
robot-metrika-test
4c0a0d07e9 Auto version update to [54268] 2017-08-08 14:50:37 +03:00
Vitaliy Lyudvichenko
00ce8c9603 Add ctime caching in MergeTree's cleaner. [#CLICKHOUSE-3173] 2017-08-08 03:28:43 +03:00
Alexey Milovidov
864cae7107 Fixed test [#CLICKHOUSE-3]. 2017-08-08 03:25:05 +03:00
Marek Vavruša
65a90288dc PKCondition: added tests for subexpr inference (#951) 2017-08-08 03:19:39 +03:00
Alexey Milovidov
692b923b0c Use in SELECT even shards with zero weight [#CLICKHOUSE-3204]. 2017-08-08 03:06:21 +03:00
Nikolai Kochetov
ea2b486735 added threadpool to DistributedBlockOutputStream 2017-08-07 23:26:28 +03:00
Alexey Milovidov
8fb22b1dcb Added failing test [#CLICKHOUSE-2]. 2017-08-07 11:05:03 +03:00
Alexey Milovidov
46be81bc88 Fixed error [#CLICKHOUSE-2]. 2017-08-07 11:03:23 +03:00
Alexey Milovidov
ff54c93a22 Miscellaneous [#CLICKHOUSE-2]. 2017-08-07 04:37:52 +03:00
Alexey Milovidov
f386788278 Using GatherUtils for function if on arguments of type Array(String) [#CLICKHOUSE-2]. 2017-08-05 07:13:23 +03:00
Alexey Milovidov
c2a32990bb Added test [#CLICKHOUSE-2]. 2017-08-05 07:13:23 +03:00
Alexey Milovidov
d70f59e9bb Added performance test [#CLICKHOUSE-2]. 2017-08-05 07:13:23 +03:00
Alexey Milovidov
5ddc354989 Using GatherUtils for function if on arguments of type Array(String) [#CLICKHOUSE-2]. 2017-08-05 07:13:23 +03:00
Alexey Milovidov
8536fb96f7 Fixed error message in case of syntax error [#CLICKHOUSE-2]. 2017-08-05 06:31:52 +03:00
Alexey Milovidov
24d8f0aedf Added performance test [#CLICKHOUSE-2]. 2017-08-05 06:30:54 +03:00
Alexey Milovidov
19ff0db9f1 Using GatherUtils for if on numeric arrays [#CLICKHOUSE-2]. 2017-08-05 06:30:54 +03:00
Alexey Milovidov
6648d6dee4 Using GatherUtils for if on numeric arrays [#CLICKHOUSE-2]. 2017-08-05 06:30:54 +03:00
Alexey Milovidov
8d7214e554 Added performance test [#CLICKHOUSE-3202]. 2017-08-05 05:29:38 +03:00
Alexey Milovidov
57b2dbfa93 Added test [#CLICKHOUSE-3202]. 2017-08-05 05:24:13 +03:00
Alexey Milovidov
11da533de1 Fixed function if of FixedString arguments [#CLICKHOUSE-3202]. 2017-08-05 05:13:38 +03:00
Alexey Milovidov
39392a2961 Fixed function if of FixedString arguments [#CLICKHOUSE-3202]. 2017-08-05 05:03:49 +03:00
Alexey Milovidov
46486a5cba Fixed function if of FixedString arguments [#CLICKHOUSE-3202]. 2017-08-05 04:54:38 +03:00
Alexey Milovidov
0c0c8da4f8 Fixed function if of FixedString arguments [#CLICKHOUSE-3202]. 2017-08-05 04:43:29 +03:00
Alexey Milovidov
aecafc0931 Fixed function if of FixedString arguments [#CLICKHOUSE-3202]. 2017-08-05 02:18:51 +03:00
Vitaliy Lyudvichenko
10c14cfccb Small code enhancements according to clang-tidy. [#CLICKHOUSE-2931] 2017-08-04 17:35:36 +03:00
Nikolai Kochetov
63ec81e2e3 added threadpool for sync insertion into distributed 2017-08-03 20:42:31 +03:00
Nikolai Kochetov
83cd2a40e4 added test 2017-08-03 15:58:04 +03:00
Nikolai Kochetov
0c15b2c6fc fixed number of rows to read from first granula in mergetree 2017-08-03 15:58:04 +03:00
proller
d6833a0d55 Cmake: remove global include_directories (#1055)
* Fix .h compile

* Cmake: remove global include_directories

* boost include hide

* fix cctz

* add \n
2017-08-03 15:44:39 +03:00
Vitaliy Lyudvichenko
003d2a9478 Add comprehensive exception message for ZooKeeper::multi(). [#CLICKHOUSE-2] 2017-08-03 15:42:23 +03:00
robot-metrika-test
afc4b1bef2 Auto version update to [54267] 2017-08-02 17:13:14 +03:00