Commit Graph

8979 Commits

Author SHA1 Message Date
Alexey Zatelepin
df58949a68 make exit out of the loop possible when ZooKeeper is unavailable [#CLICKHOUSE-3259] 2017-09-20 06:05:20 +03:00
Alexey Zatelepin
ba87fa395c be more conservative when deleting replication queue items in PartCheckThread [#CLICKHOUSE-3258] 2017-09-20 06:05:20 +03:00
robot-metrika-test
40b2fc4e30 Auto version update to [54290] 2017-09-20 05:58:20 +03:00
KochetovNicolai
e0efb7e8c1 Point in polygon (#1264)
* added FunctionPointInPolygonWithGrid [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]

* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]

* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]

* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]

* added test for PointInPolygonWithGrid [#CLICKHOUSE-3201]

* added test for PointInPolygonWithGrid with holes [#CLICKHOUSE-3201]

* added arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]

* added test for arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]

* fixed shifted grid for PointInPolygonWithGrid, added test [CLICKHOUSE-3201]

* expand box for complex polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* fix expand box for complex polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]

* added pool to PointInPolygonWithGrid [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* changed FunctionPointInPolygonWithGrid signature [#CLICKHOUSE-3201]

* changed FunctionPointInPolygonWithGrid signature [#CLICKHOUSE-3201]

* fixed test [#CLICKHOUSE-3201]

* unified signature for PointInPolygon [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* supported Float64 for pointInPolygon [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fix build [#CLICKHOUSE-3201]

* fixed check for numeric tuple in PointInPolygon function [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* added profile events polygons pool [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* fixed build [#CLICKHOUSE-3201]

* Update FunctionsGeo.cpp
2017-09-20 05:30:44 +03:00
alexey-milovidov
76e3f7ac0c Merge pull request #1250 from bocharov/master
Add new aggregate function sumMap(key, value).
2017-09-19 21:31:24 +03:00
Alex Bocharov
e99c969a1c Aggregate function sumMap: improve insertResultInto method and change return type to Tuple(Array(K), Array(V)). 2017-09-19 13:35:25 +01:00
proller
0a0e04f1a5 Fix includes 2017-09-18 21:52:47 +03:00
Alex Bocharov
07cd6829d0 Aggregate function sumMap: fix compilation error regarding getHeaderFilePath after merge with master. 2017-09-18 19:37:44 +01:00
Alex Bocharov
55e1559733 Resolve conflict in SummingSortedBlockInputStream when moving FieldVisitorSum. 2017-09-18 18:46:10 +01:00
Alex Bocharov
1f70d0e163 Resolve conflict in SummingSortedBlockInputStream when moving FieldVisitorSum. 2017-09-18 18:43:47 +01:00
Alex Bocharov
c1feea159e Aggregate function sumMap: optimize serialize/deserialize. 2017-09-18 18:11:16 +01:00
Alex Bocharov
6e74602e45 Aggregate function sumMap: use FieldVisitorSum instead of += operator. 2017-09-18 16:41:07 +01:00
alexey-milovidov
edb66bfffe Merge branch 'master' into master 2017-09-18 10:31:31 +03:00
Alexey Milovidov
ff1598c8d1 Improved performance of dynamic compilation [#CLICKHOUSE-2]. 2017-09-17 23:22:39 +03:00
Alexey Milovidov
156d48f3ee Removed aggregate function "debug" [#CLICKHOUSE-2]. 2017-09-17 23:12:02 +03:00
Alexey Milovidov
dd3e74c0eb Fixed weird translation [#CLICKHOUSE-2]. 2017-09-17 21:17:04 +03:00
Alexey Milovidov
4df44cfeb4 Modified comment [#CLICKHOUSE-2]. 2017-09-17 21:00:27 +03:00
Alexey Milovidov
565902fc4d Added comment; fixed test [#CLICKHOUSE-2]. 2017-09-17 20:58:30 +03:00
Alexey Milovidov
bc622c4c45 Better [#CLICKHOUSE-2]. 2017-09-17 03:13:26 +03:00
Alexey Milovidov
a5e8c5e8f5 Better [#CLICKHOUSE-2]. 2017-09-17 01:24:48 +03:00
Alexey Milovidov
b80788a2f4 Better implementation of "roundToExp2" function [#CLICKHOUSE-2]. 2017-09-17 01:12:24 +03:00
Alexey Milovidov
5224345c03 Added function aliases for 'trunc' [#CLICKHOUSE-2]. 2017-09-17 01:11:20 +03:00
Alexey Milovidov
c2595934f1 FunctionsRound: continue [#CLICKHOUSE-2]. 2017-09-16 23:17:19 +03:00
Alexey Milovidov
d48725f9a7 FunctionsRound: continue [#CLICKHOUSE-2]. 2017-09-16 22:33:49 +03:00
Alexey Milovidov
84d61b501c FunctionsRound: continue [#CLICKHOUSE-2]. 2017-09-16 22:31:20 +03:00
Alexey Milovidov
ad13a8c79d Fixed half of bad code [#CLICKHOUSE-2]. 2017-09-16 21:36:16 +03:00
Alexey Milovidov
0002507598 Added function "trunc"; simplifications [#CLICKHOUSE-2]. 2017-09-16 19:47:05 +03:00
Alexey Milovidov
25f2f032d1 Added function "trunc"; simplifications [#CLICKHOUSE-2]. 2017-09-16 19:38:27 +03:00
Alexey Milovidov
e1cf922c1b Merge branch 'master' of github.com:yandex/ClickHouse 2017-09-16 18:56:37 +03:00
Alexey Milovidov
65ad717938 Whitespaces [#CLICKHOUSE-2]. 2017-09-16 18:55:31 +03:00
Alexey Zatelepin
3791b93c76 remove junk 2017-09-16 01:27:57 +03:00
Alexey Milovidov
21fe32b929 Fixed build in clang with raised up inline-depth [#CLICKHOUSE-2]. 2017-09-15 15:17:01 +03:00
Alexey Milovidov
86c46ad1bd Unification [#CLICKHOUSE-2]. 2017-09-15 15:16:12 +03:00
Alex Bocharov
591cd5c009 Add new aggregate function sumMap(key, value). 2017-09-15 12:14:19 +01:00
Alexey Milovidov
e29b0e1750 Merge branch 'memcpy' 2017-09-15 14:09:39 +03:00
Alexey Milovidov
cfd4120f4a Fixed build with increased inline-depth in clang [#CLICKHOUSE-2]. 2017-09-15 14:08:39 +03:00
Evgeny Konkov
e95ab36832 handle test errors 2017-09-15 03:11:24 +03:00
Evgeny Konkov
c37a387ff8 remove control characters from diff output in order to properly save diff output in junit xml report files. 2017-09-15 03:11:24 +03:00
Vitaliy Lyudvichenko
826c354ff5 Fixed merges progress bar. [#CLICKHOUSE-2] 2017-09-15 01:04:13 +03:00
proller
a43b9ec398 Revert "Simplification [#CLICKHOUSE-2]."
This reverts commit 98ad6a5db3.
2017-09-14 23:16:31 +03:00
Alexey Milovidov
e5cf3ba5b4 Merge branch 'master' of github.com:yandex/ClickHouse 2017-09-14 07:24:30 +03:00
Alexey Milovidov
5e25c40a26 Fixed error found by Coverity [#CLICKHOUSE-2]. 2017-09-14 07:24:20 +03:00
Nikolai Kochetov
c14263a9fa added test 2017-09-13 22:33:47 +03:00
Nikolai Kochetov
2bb487c333 fixed string concat wih first array argument in block 2017-09-13 22:33:47 +03:00
proller
8a7e604a2a Tests fixes (#1238)
* Tests: catch xml internal error

* Tests fixes
2017-09-13 21:08:38 +03:00
proller
68f48253c9 Tests: catch xml internal error 2017-09-13 18:32:03 +03:00
Alexey Milovidov
9a58e26b8c Added comment [#CLICKHOUSE-2]. 2017-09-13 00:06:11 +03:00
Alexey Milovidov
4bf1f39190 Fixed build [#CLICKHOUSE-2]. 2017-09-12 20:21:02 +03:00
alexey-milovidov
c4c8057a28 Update InterpreterSelectQuery.h 2017-09-12 20:06:31 +03:00
alexey-milovidov
af323d4e16 Update InterpreterSelectQuery.cpp 2017-09-12 20:06:31 +03:00
leozhang
a80ebcdbc2 fix union all bug #1059 2017-09-12 20:06:31 +03:00
Vadim Skipin
e0a1e6982b Context parameter added to the IDatabase methods 2017-09-11 21:29:26 +03:00
proller
5054d50307 Remove too noisy message (#CLICKHOUSE-3304) 2017-09-11 21:26:43 +03:00
Vadim Skipin
7576cb2c18 fix LRU cache definition 2017-09-11 14:41:47 +03:00
Alexey Milovidov
9cafeb9e85 Fixed not-an-issue found by Coverity [#CLICKHOUSE-2]. 2017-09-11 08:51:23 +03:00
Alexey Milovidov
fabfed6f22 Added support for "include-what-you-use" tool [#CLICKHOUSE-2]. 2017-09-10 09:51:27 +03:00
Alexey Milovidov
2c424c7989 Added description of possible race condition [#CLICKHOUSE-2]. 2017-09-10 06:17:05 +03:00
Alexey Milovidov
98ad6a5db3 Simplification [#CLICKHOUSE-2]. 2017-09-10 05:30:45 +03:00
Alexey Milovidov
dc5eca0beb Fixed awful translation [#CLICKHOUSE-2]. 2017-09-10 05:06:16 +03:00
Alexey Milovidov
cf5fd27b94 Clarifications [#CLICKHOUSE-2]. 2017-09-10 04:39:40 +03:00
Alexey Milovidov
cd540c2674 Replaced Mersenne Twister to PCG-Random [#CLICKHOUSE-2]. 2017-09-10 02:17:38 +03:00
Alexey Milovidov
5a8f47a640 Fixed not an issue, shown by TSan [#CLICKHOUSE-2]. 2017-09-10 02:07:32 +03:00
Alexey Milovidov
a6d5e9c7e8 Fixed not an issue, shown by TSan [#CLICKHOUSE-2]. 2017-09-10 02:04:22 +03:00
Alexey Milovidov
fe717a4d6e Fixed not an issue, shown by TSan; minor modifications [#CLICKHOUSE-2]. 2017-09-10 01:28:38 +03:00
Alexey Milovidov
253893bf4d Fixed insignificant error, shown by TSan [#CLICKHOUSE-2]. 2017-09-09 07:06:54 +03:00
Alexey Milovidov
5a8f45c131 Fixed insignificant error, shown by TSan [#CLICKHOUSE-2]. 2017-09-09 06:46:18 +03:00
Alexey Milovidov
5f265b0659 Merge branch 'master' of github.com:yandex/ClickHouse 2017-09-09 05:13:18 +03:00
Alexey Milovidov
92d7d6bd44 Fixed error that reproduced only when using libc++ [#CLICKHOUSE-3174]. 2017-09-09 05:12:53 +03:00
proller
cb70a5a77c Try fix macos build (#1221)
* Try fix macos build

* Try fix macos build
2017-09-09 03:40:21 +03:00
Alexey Milovidov
be79166199 Using pcg-random instead of boost::random::taus88 [#CLICKHOUSE-3174]. 2017-09-09 02:58:42 +03:00
Alexey Milovidov
c0324aeb66 Removed useless header [#CLICKHOUSE-3174]. 2017-09-09 02:40:48 +03:00
Alexey Milovidov
94b975e7f9 Removed function deprecated in C++ [#CLICKHOUSE-3174]. 2017-09-09 02:31:18 +03:00
Alexey Milovidov
ed1c0820f0 Fixed minor issue found by Coverity [#CLICKHOUSE-3285]. 2017-09-09 02:25:42 +03:00
proller
fce8416797 Try fix macos build 2017-09-08 21:25:22 +03:00
Alexey Milovidov
9afe76e212 Minor modification [#CLICKHOUSE-2]. 2017-09-08 19:46:56 +03:00
Alexey Milovidov
db4c3f6e48 Fixed build; clarifications [#CLICKHOUSE-3289]. 2017-09-08 19:41:35 +03:00
alexey-milovidov
c8aa9f0f55 Update WriteBufferFromHTTPServerResponse.h 2017-09-08 19:37:21 +03:00
Vadim Skipin
5d3cc61891 CLICKHOUSE-3289: Do not use Application singleton #2 2017-09-08 19:37:21 +03:00
Alexey Milovidov
a81028377e Implemented some suggestions from clang-tidy (part 9) [#CLICKHOUSE-3301]. 2017-09-08 08:03:21 +03:00
Alexey Milovidov
dc4976f562 Implemented some suggestions from clang-tidy (part 8) [#CLICKHOUSE-3301]. 2017-09-08 07:58:57 +03:00
Alexey Milovidov
bff69a0ec1 Merge branch 'master' of github.com:yandex/ClickHouse 2017-09-08 07:58:32 +03:00
Alexey Milovidov
71d29acdfb Implemented some suggestions from clang-tidy (part 7) [#CLICKHOUSE-3301]. 2017-09-08 07:43:57 +03:00
Alexey Milovidov
4799f28dad Implemented some suggestions from clang-tidy (part 6) [#CLICKHOUSE-3301]. 2017-09-08 07:39:03 +03:00
robot-metrika-test
5993e62f5b Auto version update to [54288] 2017-09-08 07:26:49 +03:00
Alexey Milovidov
b282c8fcbb Implemented some suggestions from clang-tidy (part 5) [#CLICKHOUSE-3301]. 2017-09-08 07:11:39 +03:00
Alexey Milovidov
8c9ec83a33 Implemented some suggestions from clang-tidy (part 4) [#CLICKHOUSE-3301]. 2017-09-08 07:10:43 +03:00
Alexey Milovidov
d29c77adea Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
Alexey Milovidov
f1c98dac3c Updated instruction to run clang-tidy [#CLICKHOUSE-3301]. 2017-09-08 05:42:47 +03:00
Alexey Milovidov
d19d9f8589 Implemented some suggestions from clang-tidy (part 2) [#CLICKHOUSE-3301]. 2017-09-08 05:37:02 +03:00
Alexey Milovidov
abad3f432d Added instruction to run clang-tidy [#CLICKHOUSE-3301]. 2017-09-08 05:31:58 +03:00
Alexey Milovidov
e9ae193870 Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
proller
5a87ebf262 Try fix macos build 2017-09-08 00:35:55 +03:00
Alexey Milovidov
742f369ac8 Addition to prev. revision [#CLICKHOUSE-3300]. 2017-09-08 00:35:21 +03:00
Alexey Milovidov
6307661c35 Addition to prev. revision [#CLICKHOUSE-3300]. 2017-09-08 00:26:25 +03:00
Alexey Milovidov
3de701850c Added instruction for Coverity usage [#CLICKHOUSE-3285]. 2017-09-08 00:13:30 +03:00
Alexey Milovidov
9befe805e2 Added instruction for cppcheck usage [#CLICKHOUSE-3300]. 2017-09-08 00:09:58 +03:00
Alexey Milovidov
8b313ab99e Fixed warnings found by cppcheck [#CLICKHOUSE-3300]. 2017-09-08 00:04:48 +03:00
Alexey Milovidov
0dcee75180 Supporessed useless false positive errors found by cppcheck [#CLICKHOUSE-3300]. 2017-09-07 22:13:37 +03:00
Alexey Milovidov
d3958c1802 Merge branch 'master' of github.com:yandex/ClickHouse 2017-09-07 20:56:04 +03:00
Alexey Milovidov
45eda97e39 Fixed bug in usage of ZSTD [#CLICKHOUSE-3282]. 2017-09-07 20:55:55 +03:00
alexey-milovidov
39a4401f05 Update Cluster.h 2017-09-07 20:55:33 +03:00
Vadim Skipin
4017622ffb CLICKHOUSE-3289: Do not use Application singleton 2017-09-07 20:55:33 +03:00
Alexey Milovidov
657e333dba Added "Uptime" asynchronous metric [#CLICKHOUSE-3282]. 2017-09-07 07:02:29 +03:00
proller
d422777d9c ShellCommand: automatic wait call in destructor (#1210)
* ShellCommand: automatic wait call in destructor

* ShellCommand: tryWait in destructor

* Update ShellCommand.cpp

* Update ShellCommand.cpp
2017-09-07 03:12:39 +03:00
proller
be4deb7979 Fix test order (#1209)
* Again fix test 00501_http_head

* Better test reverse

* Fix test reverse sort

* Update clickhouse-test
2017-09-07 00:04:23 +03:00
robot-metrika-test
b5f94b6738 Auto version update to [54287] 2017-09-06 23:49:16 +03:00
Alexey Milovidov
5801139cbf Merge branch 'master' of github.com:yandex/ClickHouse 2017-09-06 23:24:51 +03:00
Alexey Milovidov
9c37dfd75f Fixed common source of errors while deploying newer version of ClickHouse [#CLICKHOUSE-3282]. 2017-09-06 23:24:40 +03:00
proller
ea19c4494f Better test reverse (#1207)
* Again fix test 00501_http_head

* Better test reverse

* Fix test reverse sort

* Update clickhouse-test
2017-09-06 23:13:21 +03:00
Alexey Milovidov
e3e506d449 Fixed with_mergeable_state option for clickhouse-benchmark [#CLICKHOUSE-3282]. 2017-09-06 23:01:44 +03:00
proller
7142e43be6 Fix compile 32bit 2017-09-06 22:28:04 +03:00
proller
7c2327f3c8 LibraryDictionarySource: fix compile on macos and 32bit 2017-09-06 22:28:04 +03:00
proller
b538df661a Again fix test 00501_http_head 2017-09-06 22:07:22 +03:00
proller
888214e33d Revert "Reverse tests order"
- need smarter reverse

This reverts commit 16bd99493b.
2017-09-06 21:39:04 +03:00
proller
16bd99493b Reverse tests order 2017-09-06 20:16:17 +03:00
proller
7e46044474 Fix test 00501_http_head 2017-09-06 18:20:15 +03:00
Alexey Milovidov
b370551e67 Fixed redundant code in IPv4NumToStringClassC function and removed copy-paste [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Alexey Milovidov
ff8940ddbe Fixed bad code [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Alexey Milovidov
60263d943e IPv6StringToNum: fixed missing overflow check [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Alexey Milovidov
e03ca48d84 More uniform style [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Alexey Milovidov
24ac5a68e1 More uniform style [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Alexey Milovidov
ee469f7a98 Fixed redundant code [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Alexey Milovidov
5b952f0c55 Fixed error in StringRange [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Alexey Milovidov
7237445356 Fixed another bad code in PerformanceTest [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Alexey Milovidov
426da39acb Fixed bad code in PerformanceTest [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Alexey Milovidov
9290d26c58 Removed some garbage from PerformanceTest [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Alexey Milovidov
e1e0d517aa Fixed bad style in PerformanceTest [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Alexey Milovidov
452c40e85e Fixed nullptr dereference [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Alexey Milovidov
3b6dd67178 Fixed nullptr dereference [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Alexey Milovidov
31b598e1e3 Fixed bad code [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Alexey Milovidov
d82b87aaef Fixed redundand code in better way [#CLICKHOUSE-3281]. 2017-09-06 06:24:39 +03:00
Vitaliy Lyudvichenko
325ceb85b5 Delete unusing files. [#CLICKHOUSE-2] 2017-09-06 04:18:07 +03:00
Vitaliy Lyudvichenko
d55d5eca46 Remove extra Context reference and add required ones. Part 2. [#CLICKHOUSE-3117] 2017-09-06 04:18:07 +03:00
Vitaliy Lyudvichenko
3876340aeb More correct Context deinitialization. Part 1. [#CLICKHOUSE-3117] 2017-09-06 04:18:07 +03:00
proller
44b44a13d2 Fix http_head test (#1203)
* Fix http_head test
* Longer timeout
2017-09-05 21:53:28 +03:00
proller
0e4d49570b LibraryDictionarySource fixes 2017-09-05 20:14:46 +03:00
proller
2a7813049e LibDictionarySource : First lib dictionary version with only uint64 type support (#1150)
* Wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Do not use ccache if ccache defined in CMAKE_CXX_COMPILER_LAUNCHER

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Config: Allow multiple dictionaries_config

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* clean

* wip

* clean

* clean

* wip

* clean

* clean

* wip

* wip

* clean

* clean

* clean

* clean

* clean

* Requested changes

* Reqested changes

* Requested changes

* Requested changes

* Requested changes

* Requested changes

* requested changes

* Requested changes

* Requested changes

* requested changes

* Requested changes

* fix

* Requested changes

* Requested changes

* fix

* Requested changes

* Requested changes
2017-09-05 04:08:26 +03:00
robot-metrika-test
057b2790b4 Auto version update to [54286] 2017-09-05 00:37:29 +03:00
Alexey Milovidov
96061a9053 Temporarily removed test for incomplete modification [#CLICKHOUSE-2]. 2017-09-05 00:35:28 +03:00
Alexey Milovidov
b37790d27e Minor modifications [#CLICKHOUSE-3201]. 2017-09-04 23:21:55 +03:00
proller
1b3bc42586 Fix freebsd/macos compile (#1198)
* Header compile fixes

* Fix includes

* Update debian/.pbuilderrc description

* Fix freebsd/macos compile

* Fix freebsd/macos compile
2017-09-04 21:18:45 +03:00
alexey-milovidov
d1f1c59ef3 Merge pull request #1188 from proller/fix3
Segmentation fault on HEAD HTTP query #912
2017-09-04 20:10:18 +03:00
alexey-milovidov
c1fdb785f0 Merge branch 'master' into CLICKHOUSE-3246 2017-09-04 20:06:18 +03:00
alexey-milovidov
ea8790d077 Merge pull request #1196 from yandex/CLICKHOUSE-3201
Clickhouse-3201
2017-09-04 19:56:21 +03:00
proller
5afd5fded9 Merge remote-tracking branch 'upstream/master' into fix3 2017-09-04 19:34:06 +03:00
proller
39c1bf0984 Fix freebsd/macos compile (#1194)
* Header compile fixes

* Fix includes

* Update debian/.pbuilderrc description

* Fix freebsd/macos compile
2017-09-04 18:14:05 +03:00
robot-metrika-test
0544e0c75f Auto version update to [54285] 2017-09-04 17:31:54 +03:00
Vladimir Chebotarev
e39fb48377 functions: pointInPolygon(). [#CLICKHOUSE-3201] 2017-09-04 17:26:28 +03:00
Vitaliy Lyudvichenko
706d4db332 Made RWLockFIFO recursive. [#CLICKHOUSE-3246] 2017-09-04 15:54:13 +03:00
proller
f3cb0ad7e8 Merge remote-tracking branch 'upstream/master' into fix3 2017-09-04 14:12:51 +03:00
Alexey Milovidov
b6a533adef Added test [#CLICKHOUSE-3270]. 2017-09-02 01:00:25 +03:00
alexey-milovidov
ffd75017e7 Update WriteBufferFromHTTPServerResponse.cpp 2017-09-02 00:49:06 +03:00
alexey-milovidov
f079af6197 Update WriteBufferFromHTTPServerResponse.cpp 2017-09-02 00:48:18 +03:00
alexey-milovidov
7b2cc11520 Update WriteBufferFromHTTPServerResponse.cpp 2017-09-02 00:47:37 +03:00
proller
863fd72c8a Segmentation fault on HEAD HTTP query #912 2017-09-02 00:46:12 +03:00
Alexey Milovidov
f51cc679a0 Fixed inserting wrong default value for Enums [#CLICKHOUSE-3270]. 2017-09-02 00:37:57 +03:00
proller
5f83b829cf Fix includes 2017-09-01 22:49:12 +03:00
proller
aa1f27553e Header compile fixes 2017-09-01 22:05:29 +03:00
proller
5889aa9c74 Fix build 2017-09-01 21:37:53 +03:00
Alexey Milovidov
87fab3396e Fixed build [#CLICKHOUSE-2]. 2017-09-01 21:22:03 +03:00
Alexey Milovidov
40884640a1 Merge branch 'master' of github.com:yandex/ClickHouse 2017-09-01 21:21:05 +03:00
Alexey Milovidov
2af8747164 Removed obsolete code [#CLICKHOUSE-3270]. 2017-09-01 21:21:01 +03:00
alexey-milovidov
223ebc0b0d Merge pull request #1187 from yandex/array-functions-concat-slice-push-pop
Fix array functions for generic array type
2017-09-01 21:11:09 +03:00
Nikolai Kochetov
20766debb0 fix arrasSlice for gereric arrays [#CLICKHOUSE-2090] 2017-09-01 21:01:06 +03:00
alexey-milovidov
775d95888a Merge pull request #1163 from yandex/CLICKHOUSE-2931
Introduce SYSTEM queries
2017-09-01 20:45:29 +03:00
Vitaliy Lyudvichenko
88c9dcbb3d Changed method signature. [#CLICKHOUSE-3246] 2017-09-01 20:45:05 +03:00
Vitaliy Lyudvichenko
566160c048 Use FIFO lock in IStorage. [#CLICKHOUSE-3246] 2017-09-01 20:45:05 +03:00
Vitaliy Lyudvichenko
add3f920ff RWLockFIFO implementation. [#CLICKHOUSE-3246] 2017-09-01 20:45:05 +03:00
Nikolai Kochetov
32ed1b0b41 fix arrasSlice for gereric arrays [#CLICKHOUSE-2090] 2017-09-01 20:41:43 +03:00
alexey-milovidov
897a9ad6b2 Merge pull request #1146 from yandex/array-functions-concat-slice-push-pop
Array functions concat slice push pop
2017-09-01 20:30:51 +03:00
proller
1a8e22c37f Allow compile on 32bit systems (#1175)
* Trying compile under 32bit..

* PerformanceTest: use getMultiple*FromConfig, fix debug helpers

* Missing file

* clnag-format of Split ComplexKeyCacheDictionary

* wip

* Requested changes

* wip

* wip

* Fix boost 1.64 and gcc7+ compile errors

* More fixes

* wip

* Fix arm build

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* clean

* fix

* wip

* wip

* clean

* clean

* wip

* wip

* Update MergeTreeSettings.h

* Requested changes

* Requested changes

* Requested changes

* Requested changes
2017-09-01 20:21:03 +03:00
Nikolai Kochetov
463c05b33d fixed build [#CLICKHOUSE-2090] 2017-09-01 20:16:48 +03:00
Nikolai Kochetov
a88bb9375a removed useless code from GatherUtils [#CLICKHOUSE-2090] 2017-09-01 20:14:47 +03:00
Nikolai Kochetov
df09912864 reformated GatherUtils.cpp [#CLICKHOUSE-2090] 2017-09-01 20:07:58 +03:00
Vitaliy Lyudvichenko
c32bf4f597 Use only one cache in DNSCache. Add requested changes. [#CLICKHOUSE-2931] 2017-09-01 20:05:24 +03:00
Nikolai Kochetov
b4f7e0e15c restored identation in FunctionsArray.cpp [#CLICKHOUSE-2090] 2017-09-01 19:57:01 +03:00
Nikolai Kochetov
a46780e4a5 renamed concatGeneric to concatGenericArray [#CLICKHOUSE-2090] 2017-09-01 19:45:05 +03:00
Nikolai Kochetov
3370ba270f fix build [#CLICKHOUSE-2090] 2017-09-01 17:55:43 +03:00
Nikolai Kochetov
862460f293 changed & to && in GatherUtils.cpp [#CLICKHOUSE-2090] 2017-09-01 17:47:42 +03:00
Nikolai Kochetov
b392788e86 fix build [#CLICKHOUSE-2090] 2017-09-01 17:35:37 +03:00
Nikolai Kochetov
5b4759acd9 changed sibstring behaviour for offset < -string_lenght [#CLICKHOUSE-2090] 2017-09-01 17:32:12 +03:00
Nikolai Kochetov
f1c01118b5 fixed writeSlice for const GenericArraySlice and NumericArraySink [#CLICKHOUSE-2090] 2017-09-01 16:55:05 +03:00
Nikolai Kochetov
6956e12770 added comments to writeSlice functions [#CLICKHOUSE-2090] 2017-09-01 16:03:54 +03:00
Nikolai Kochetov
1da43b683c fixed comment [#CLICKHOUSE-2090] 2017-09-01 15:23:06 +03:00
Nikolai Kochetov
937f37c489 fixed reading of empty block in prewhere [#CLICKHOUSE-3266] 2017-09-01 15:18:40 +03:00
Nikolai Kochetov
a9e2a17f69 fixed estimateNumRows in MergeTreeBlockSizePredictor; fixed reading of empty block in prewhere; added test [#CLICKHOUSE-3266] 2017-09-01 15:18:40 +03:00
Nikolai Kochetov
7885c5c032 renamed TypeListNumber to TypeListNumbers [#CLICKHOUSE-2090] 2017-09-01 15:09:08 +03:00
Nikolai Kochetov
7891596579 unified TypeList [#CLICKHOUSE-2090] 2017-09-01 15:05:19 +03:00
Nikolai Kochetov
c695f10c66 hanged & to && in GatherUtils [#CLICKHOUSE-2090] 2017-09-01 14:32:31 +03:00
Nikolai Kochetov
c0b05f2ca9 hanged & to && in GatherUtils [#CLICKHOUSE-2090] 2017-09-01 14:02:26 +03:00
Alexey Zatelepin
392b59a2fe fix running tests with custom clickhouse-client [#CLICKHOUSE-2] 2017-08-31 23:32:03 +03:00
Alexey Zatelepin
d2847f22af PR fixes [#CLICKHOUSE-3000] 2017-08-31 23:32:03 +03:00
Alexey Zatelepin
61987df169 check alter of partition key columns [#CLICKHOUSE-3000] 2017-08-31 23:32:03 +03:00
Alexey Zatelepin
dc5809ed8d get rid of unneeded variable [#CLICKHOUSE-3000] 2017-08-31 23:32:03 +03:00
Alexey Zatelepin
34ac0e0876 remove unnecessary include [#CLICKHOUSE-3000] 2017-08-31 23:32:03 +03:00
Alexey Zatelepin
14ba0a9acf rename partition -> partition_id for clarity [#CLICKHOUSE-3000] 2017-08-31 23:32:03 +03:00
Alexey Zatelepin
645e4b7a53 generalize MinMax index [#CLICKHOUSE-3000] 2017-08-31 23:32:03 +03:00
Alexey Zatelepin
5471979f46 generic partitioning of inserted blocks [#CLICKHOUSE-3000] 2017-08-31 23:32:03 +03:00
Alexey Zatelepin
be1c62d7f8 split partition and minmax index [#CLICKHOUSE-3000] 2017-08-31 23:32:03 +03:00
Alexey Zatelepin
99969ab77a Introduce MergeTreePartitionIndex. Isolate its loading code. [#CLICKHOUSE-3000] 2017-08-31 23:32:03 +03:00
proller
be7e082b35 Fix test simple_cache compile 2017-08-31 22:27:55 +03:00
Vitaliy Lyudvichenko
0b36305ad3 Parse unix timestamps in JSONEachRow format. [#CLICKHOUSE-3268] 2017-08-31 20:12:48 +03:00
proller
3269b1da57 libmariadb as submodule (CLICKHOUSE-3261) (#1181)
* Use bundled libmariadbclient (CLICKHOUSE-3261)

* wip

* wip

* wip

* Update docs about git clone. move docs/en/development/build_*.sh -> utils/build/build_debian.sh
2017-08-31 20:11:30 +03:00
alexey-milovidov
1b8100ae86 Update FunctionsArray.cpp 2017-08-31 20:00:51 +03:00
alexey-milovidov
c6f87d9543 Update GatherUtils.h 2017-08-31 19:24:46 +03:00
Alexey Milovidov
9c7f195c6e Removed flappy test (race condition in test) [#CLICKHOUSE-3267]. 2017-08-31 13:47:49 +03:00
alexey-milovidov
aa2d29f5f9 Update ReadWriteBufferFromHTTP.cpp, Context.cpp, etc
Update ASTSystemQuery.cpp

Update ASTSystemQuery.h

Update dictionary_clickhouse_cache.xml

Update dictionary_clickhouse_flat.xml
2017-08-31 13:26:02 +03:00
alexey-milovidov
5d14855989 Merge branch 'master' into CLICKHOUSE-2931 2017-08-31 00:23:39 +03:00
Alexey Milovidov
9fdbd576f6 Merge branch 'master' of github.com:yandex/ClickHouse 2017-08-30 21:53:37 +03:00
Alexey Milovidov
1531268281 Added aggregate functions groupBitAnd, groupBitOr, groupBitXor [#CLICKHOUSE-2]. 2017-08-30 21:52:14 +03:00
Nikolai Kochetov
ec58bfae90 added comments [#CLICKHOUSE-3031] 2017-08-30 21:30:57 +03:00
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
ee90da3014 added tests [#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
Vitaliy Lyudvichenko
b818258af9 Add ability to run an integration test env without test runs. [#CLICKHOUSE-2] 2017-08-25 16:51:12 +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
e223d07031 fixed test [#CLICKHOUSE-2090] 2017-08-25 14:58:33 +03:00
Nikolai Kochetov
0f4e7f1833 fixed array slice with offset <= -(array length) [#CLICKHOUSE-2090] 2017-08-25 14:29:49 +03:00
Nikolai Kochetov
f70ead2539 added test [#CLICKHOUSE-2090] 2017-08-24 22:39:30 +03:00