Commit Graph

6077 Commits

Author SHA1 Message Date
Nikolai Kochetov
1e08db938d added chech that root starts with '/' in zookeeper config file [#CLICKHOUSE-3031] 2017-08-30 21:30:57 +03:00
Nikolai Kochetov
871a7cabc6 fix build [#CLICKHOUSE-3031] 2017-08-30 21:30:57 +03:00
Nikolai Kochetov
d4bf2bf102 replaced tabs to spaces in config files [#CLICKHOUSE-3031] 2017-08-30 21:30:57 +03:00
Nikolai Kochetov
5ff1669406 fixed root section in zookeeper configuration [#CLICKHOUSE-3031] 2017-08-30 21:30:57 +03:00
Nikolai Kochetov
1539648910 moved root section in zookeeper configuration [#CLICKHOUSE-3031] 2017-08-30 21:30:57 +03:00
Nikolai Kochetov
fa2f0dfa4d added root and identity section to zookeeper configuration [#CLICKHOUSE-3031] 2017-08-30 21:30:57 +03:00
Nikolai Kochetov
16103456e2 added root and identity section to zookeeper configuration [#CLICKHOUSE-3031] 2017-08-30 21:30:57 +03:00
Alexey Milovidov
495daffa16 Miscellaneous [#CLICKHOUSE-2]. 2017-08-30 21:13:32 +03:00
Vitaliy Lyudvichenko
478470e1f1 Avoid segfaults and many other problems related with modifying global context in DDLWorker. [#CLICKHOUSE-3260] 2017-08-30 19:12:45 +03:00
Vitaliy Lyudvichenko
5916d823ef Fix deadlock in case of using Buffer table with CLEAR COLUMN IN PARTITION. [#CLICKHOUSE-3238] 2017-08-30 17:34:40 +03:00
alexey-milovidov
91abe43461 Update ProcessList.cpp 2017-08-29 23:23:54 +03:00
alexey-milovidov
f31ca9276f Update ProcessList.h 2017-08-29 23:23:54 +03:00
Vitaliy Lyudvichenko
1e68d10ce0 Add max_network_bandwidth_for_user limit setting. [#CLICKHOUSE-3139] 2017-08-29 23:23:54 +03:00
Alexey Milovidov
d1da6c3cfc Fixed bad translation [#CLICKHOUSE-2]. 2017-08-29 22:07:54 +03:00
Alexey Milovidov
e4eb6f0cfb Fixed bad translation [#CLICKHOUSE-2]. 2017-08-29 22:02:07 +03:00
Alexey Milovidov
709eba2a00 Merge branch 'master' of github.com:yandex/ClickHouse 2017-08-29 21:51:58 +03:00
Alexey Milovidov
04af7a3349 Fixed bad translation [#CLICKHOUSE-2]. 2017-08-29 21:51:48 +03:00
Vitaliy Lyudvichenko
84660029ec Don't leave trash part nodes in ZK in case of deleting non-existing duplicated parts. [#CLICKHOUSE-3252] 2017-08-29 20:49:37 +03:00
Alexey Milovidov
8d7937cc30 Fixed bad translation [#CLICKHOUSE-2]. 2017-08-29 17:08:25 +03:00
Vadim Skipin
4dc36893d3 Keep config in context to avoid Application singleton usages 2017-08-28 22:19:06 +03:00
Vitaliy Lyudvichenko
c9daea1a33 Fixed IP resolving in DNSCache. [#CLICKHOUSE-2931] 2017-08-28 21:43:57 +03:00
Vitaliy Lyudvichenko
4b0c7ecf21 Add integration tests for SYSTEM queries. [#CLICKHOUSE-2931] 2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
8fa3364e4e Add SYSTEM RELOAD DICTIONARY(IES) implementation. [#CLICKHOUSE-2931] 2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
48f5d8f1a3 Add SYSTEM DROP DNS CACHE. [#CLICKHOUSE-2931] 2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
ffe7558fe2 Add SYSTEM KILL and SHUTDOWN implementations. [#CLICKHOUSE-2931] 2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
eb05798130 Add SYSTEM queries parser. [#CLICKHOUSE-2931] 2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
fd63277b15 Unified spelling. [#CLICKHOUSE-2] 2017-08-28 18:27:25 +03:00
Vitaliy Lyudvichenko
37820f7f64 Don't leave trash parts in ZK in case of temporary errors. [#CLICKHOUSE-3252] 2017-08-28 18:27:25 +03:00
Alexey Milovidov
738f1685b2 Fixed build after merge [#CLICKHOUSE-2]. 2017-08-25 19:35:10 +03:00
Vitaliy Lyudvichenko
f8c9059857 Fixed SIGABRT in DDLWorker. [#CLICKHOUSE-3251] 2017-08-25 19:31:57 +03:00
Marek Vavruša
3659caad7d ZooKeeper: use seeded random device to shuffle node list #1149
std::random_shuffle() may or may not use std::rand() which isn't
seeded, and since configuration parsing runs predictably as one
of the first things after server startup, the list of ZK nodes
is shuffled the same way on all replicas.
2017-08-25 18:37:27 +03:00
Nikolai Kochetov
24e135fbe6 supported arraySlice with 2 arguments, added comments [#CLICKHOUSE-2090] 2017-08-25 16:54:08 +03:00
Nikolai Kochetov
1ec04d1024 supported || for arrayConcat [#CLICKHOUSE-2090] 2017-08-25 16:05:26 +03:00
Nikolai Kochetov
239f4f2d36 merged with master 2017-08-25 15:05:18 +03:00
Nikolai Kochetov
0f4e7f1833 fixed array slice with offset <= -(array length) [#CLICKHOUSE-2090] 2017-08-25 14:29:49 +03:00
Nikolai Kochetov
d213efa974 fixed slice for nullable index [#CLICKHOUSE-2090] 2017-08-24 22:19:37 +03:00
Nikolai Kochetov
d8529e1846 unused type alias [#CLICKHOUSE-2090] 2017-08-24 21:16:25 +03:00
Nikolai Kochetov
09a307b94f removed debug stderr output [#CLICKHOUSE-2090] 2017-08-24 19:46:41 +03:00
Nikolai Kochetov
e6fd55ff42 added arrayPushBack arrayPushFront arrayPopBack arrayPopFront function [#CLICKHOUSE-2090] 2017-08-24 19:46:40 +03:00
Nikolai Kochetov
096d34bb7f added arraySlice function [#CLICKHOUSE-2090] 2017-08-24 19:46:34 +03:00
Nikolai Kochetov
c1479a5594 updated GatherUtils [#CLICKHOUSE-2090] 2017-08-24 19:46:15 +03:00
Nikolai Kochetov
c3fe8bb026 added FunctionArrayConcat [#CLICKHOUSE-2090] 2017-08-24 19:45:13 +03:00
Alexey Milovidov
58fc8a2c0b Merge branch 'master' of github.com:yandex/ClickHouse 2017-08-24 16:26:19 +03:00
Alexey Milovidov
fd552774c0 Fixed translation error [#CLICKHOUSE-2]. 2017-08-24 16:25:51 +03:00
proller
49ae03a4a7 Fix build in freebsd (#1129) 2017-08-23 18:58:42 +03:00
Alexey Zatelepin
eec6a3ecb9 add forgotten aggregate functions to SpecializedAggregator.h [#CLICKHOUSE-3247] 2017-08-23 17:00:36 +03:00
Alexey Zatelepin
ec96183f59 put AggregateFunctionStatistics implementation out of anonymous namespace [#CLICKHOUSE-3247] 2017-08-23 17:00:36 +03:00
Alexey Zatelepin
8620dd6876 runtime compilation fix: put groupArray implementation out of anonymous namespace [#CLICKHOUSE-3247]
Demangled symbols from anonymous namespace contain "::(anonymous namespace)::" string
and thus cannot be used with runtime compilation of aggregation functions.
2017-08-23 17:00:36 +03:00
Vitaliy Lyudvichenko
02f0bcb17f Fixed incorrect assertion in INSERT queries with binary formats. [#CLICKHOUSE-3242] 2017-08-23 16:57:22 +03:00
Nikolai Kochetov
c43a13cb81 fixed async insertion into local shard of distributed [#CLICKHOUSE-3245] 2017-08-23 15:44:18 +03:00
Alexey Milovidov
ee553aac65 Updated test of string hashes [#CLICKHOUSE-3244]. 2017-08-22 20:32:13 +03:00
Alexey Milovidov
4eb77e6628 Updated test of string hashes [#CLICKHOUSE-3244]. 2017-08-22 20:32:13 +03:00
Alexey Milovidov
c34211e0c5 More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244]. 2017-08-22 20:32:13 +03:00
Alexey Milovidov
033b139288 More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244]. 2017-08-22 20:32:13 +03:00
Alexey Milovidov
003d2525e0 More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244]. 2017-08-22 20:32:13 +03:00
Alexey Milovidov
f39db7ba1a More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244]. 2017-08-22 20:32:13 +03:00
Alexey Milovidov
8085359518 More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244]. 2017-08-22 20:32:13 +03:00
Alexey Milovidov
f8b2400a84 More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244]. 2017-08-22 20:32:13 +03:00
Alexey Milovidov
3748b7b332 Added hopscotch-map just for tests [#CLICKHOUSE-3244]. 2017-08-22 20:32:13 +03:00
Alexey Milovidov
e47a29fd4b More sophisticated test of hash tables with integer keys [#CLICKHOUSE-2]. 2017-08-22 20:32:13 +03:00
Alexey Milovidov
75f1df36e4 Miscellaneous [#CLICKHOUSE-2]. 2017-08-22 20:29:02 +03:00
Alexey Milovidov
fc409f61e5 Miscellaneous [#CLICKHOUSE-2]. 2017-08-20 16:12:14 +03:00
Alexey Milovidov
2fb7a34f0d Miscellaneous [#CLICKHOUSE-2]. 2017-08-20 04:07:11 +03:00
Alexey Milovidov
7dc4d6f7b3 Miscellaneous [#CLICKHOUSE-2]. 2017-08-20 04:05:59 +03:00
Alexey Zatelepin
ce3e4676fa remove unnecessary calls to find() [#CLICKHOUSE-2171] 2017-08-19 21:35:01 +03:00
Alexey Milovidov
e25f232b5a Raising limit on max size for merge (step 1 of 4) [#CLICKHOUSE-2] 2017-08-19 01:56:19 +03:00
Vitaliy Lyudvichenko
e52428ddb2 Fixed SIGSEGV in CREATE TABLE AS <MV>. MV without ENGINE is forbidden! [#CLICKHOUSE-2]
Resolves #1112
Resolves #598
2017-08-19 00:10:53 +03:00
Vadim Skipin
61f65e97a8 Fix typo 2017-08-18 22:38:56 +03:00
Alexey Milovidov
12a034478c Fixed bad translation [#CLICKHOUSE-2]. 2017-08-18 22:30:39 +03:00
Alexey Milovidov
304ccf29b2 Fixed error; added test [#CLICKHOUSE-2]. 2017-08-18 22:02:50 +03:00
Alexey Milovidov
5d835e88de Merge branch 'master' of github.com:yandex/ClickHouse 2017-08-18 21:45:10 +03:00
Alexey Milovidov
434a7d8f38 Fixed function "substring" with out-of-bound negative offset argument [#CLICKHOUSE-2]. 2017-08-18 21:45:02 +03:00
Vadim Skipin
5f4e833925 Cleanup function factories:
* Switch to std::function to allow more complex creator logic
* Cleanup headers
2017-08-18 21:15:57 +03:00
Alexey Milovidov
2e468c143d Added convenience comment in config [#CLICKHOUSE-2]. 2017-08-18 20:05:53 +03:00
Alexey Milovidov
f918e22438 Miscellaneous [#CLICKHOUSE-2]. 2017-08-18 19:36:02 +03:00
Alexey Zatelepin
e545777187 fix PoolWithFailoverBase::TryResult initialization 2017-08-18 15:38:43 +03:00
Alexey Milovidov
4687a2730d Allow to override umask in config [#CLICKHOUSE-2]. 2017-08-18 04:00:13 +03:00
Vitaliy Lyudvichenko
1a68a17a06 Avoid infinite loop in DDLWorker if ZooKeeper dies. [#CLICKHOUSE-2] 2017-08-17 23:06:38 +03:00
Vitaliy Lyudvichenko
f28d0cff3c Add more detailed exception message. [#CLICKHOUSE-3234] 2017-08-17 23:06:38 +03:00
Nikolai Kochetov
850bc9f19d fixed reading const zero column in prewhere 2017-08-17 23:06:00 +03:00
Alexey Milovidov
9f956d97dd Removed debug output [#CLICKHOUSE-2]. 2017-08-17 21:43:39 +03:00
Marek Vavruša
5ba535f05f Dictionaries: remove duplicate MySQLDictionarySource.h include
refs #1110
2017-08-17 01:35:19 +03:00
proller
175cd99288 Freebsd fixes: fix build with libc++, fix find system lib double-conversion (#1109)
* Cmake: Don't detect and use -no-pie flag with clang

* Camke: find_unwind: Fix disable on arm

* Freebsd fixes: fix build with libc++, fix find system lib double-conversion
2017-08-17 00:01:43 +03:00
Alexey Milovidov
16d6c4f9e7 Removed very old protocol compatibility features [#CLICKHOUSE-2]. 2017-08-16 23:27:35 +03:00
Alexey Milovidov
eb88391655 Fixed error with alias substitution [#CLICKHOUSE-2986]. 2017-08-16 23:10:25 +03:00
Alexey Milovidov
3a86673aea Fixed error when part could become broken during ALTER MODIFY of element of Nested column [#CLICKHOUSE-3232]. 2017-08-16 22:41:52 +03:00
Alexey Milovidov
164ad05ae1 Little better [#CLICKHOUSE-3231]. 2017-08-16 22:22:49 +03:00
Alexey Milovidov
b6cafb9a88 Set "max_replica_delay_for_distributed_queries" to five minutes by default [#CLICKHOUSE-2141]. 2017-08-16 20:21:39 +03:00
Alexey Milovidov
c629799500 Fixed insufficient arguments checking [#CLICKHOUSE-3102]. 2017-08-16 17:21:24 +03:00
Alberto
727ca81998 Fixed typo 2017-08-16 14:08:02 +03:00
Alexey Milovidov
68c57b2b61 Merge branch 'master' of github.com:yandex/ClickHouse 2017-08-16 00:53:03 +03:00
Alexey Milovidov
2ddf462563 Fixed regression [#CLICKHOUSE-2]. 2017-08-16 00:52:52 +03:00
Vitaliy Lyudvichenko
ad40104022 Unix timestamp format for DateTime fields in CSV. Resolves #366. [#CLICKHOUSE-3168] 2017-08-15 23:22:36 +03:00
Alexey Milovidov
dc29ae7e73 Added test (tnx. egatov) [#CLICKHOUSE-2]. 2017-08-15 23:17:50 +03:00
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
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