Commit Graph

1111 Commits

Author SHA1 Message Date
proller
c800913e5a
Fix build clickhouse as submodule (#5574) 2019-06-10 21:50:46 +03:00
proller
cfbe05ca63
Upgrade boost to 1.70 (#5570) 2019-06-10 19:36:37 +03:00
Danila Kutenin
aed80a1433
Merge pull request #5546 from yandex/gcc9-warnings
fix gcc9 hyperscan errors finally
2019-06-06 14:01:37 +03:00
Danila Kutenin
6d9643eb9f fix gcc9 hyperscan errors finally 2019-06-06 14:00:18 +03:00
Orivej Desh
5ec179377a DEVTOOLS-5170 Delete Y_IGNORE markers (#5533)
They have been superseded by a new include resolution configuration that lives
outside clickhouse source tree.
2019-06-05 14:52:39 +03:00
Георгий Кондратьев
2499cefdb9 DEVTOOLS-5507 Include roaring.h as roaring/roaring.h
This is needed to unbundle roaring. Its original cmake build system installs:

     /usr/include/roaring/roaring.h
     /usr/include/roaring/roaring.hh

and declares:

     set_target_properties(roaring::roaring PROPERTIES
       INTERFACE_INCLUDE_DIRECTORIES "/usr/include"
     )
2019-06-03 17:03:41 +00:00
Danila Kutenin
203d336f1f Revert jemalloc and supress all warnings because we cannot supress some general ones with another flag 2019-05-31 20:33:29 +03:00
Danila Kutenin
f8668e4f01 fix safety_check.c in jemalloc 2019-05-31 14:00:35 +03:00
Danila Kutenin
7e2b3b59b8 Fix gcc9 warnings and ICE's 2019-05-31 11:55:01 +03:00
Nikita Lapkov
86857ef501 update libunwind 2019-05-30 11:28:35 +00:00
Nikita Lapkov
3b54fde8a7 replace StackTrace with Backtrace 2019-05-30 10:30:24 +00:00
Nikita Lapkov
419a37c7d8 fix late define of _LIBUNWIND_NO_HEAP 2019-05-22 00:09:13 +00:00
Nikita Lapkov
382beefdb8 Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler 2019-05-21 22:52:57 +00:00
alexey-milovidov
ea14585d9d
Updated SIMDJSON to fix FPU clobbering (#5354)
* Forked SIMDJSON to fix FPU clobbering

* Moved back to upstream version of SIMDJSON because they merged our change very quickly

* Moved back to upstream version of SIMDJSON because they merged our change very quickly
2019-05-21 01:12:15 +03:00
alexey-milovidov
24b16da9fd
Merge pull request #5235 from vitlibar/improve-new-json-functions
Improve new json functions
2019-05-18 12:51:41 +03:00
Vitaly Baranov
8ab4e4dcfe Use rapidjson when AVX2 instructions are not available. 2019-05-16 20:40:24 +03:00
Nikolai Kochetov
6fa907c089 Add lockfree to boost. 2019-05-16 19:27:41 +03:00
Vitaly Baranov
cae2221b92 Update submodule simdjson 2019-05-16 15:59:14 +03:00
proller
51ca4cbaa4
Build fixes (#5278) 2019-05-15 20:19:39 +03:00
Ivan Lezhankin
67cf1bc48c Link rdkafka with bundled SASL
also enable SASL SCRAM support in the code.
2019-05-13 13:41:03 +03:00
Nikita Lapkov
9cd108b6d6 Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-05-12 13:40:17 +00:00
Vitaly Baranov
7ace113ac0 Use custom cmake file for simdjson and fix build 2019-05-08 16:20:25 +03:00
hcz
12d8dbeaed Update simdjson 2019-05-08 16:20:25 +03:00
hcz
560246c0c3 Add Simdjson API 2019-05-08 16:20:25 +03:00
Winter Zhang
6bf5e1dd26 ISSUES-5062 fix cmake failure on osx (#5215) 2019-05-07 18:30:15 +03:00
Danila Kutenin
3f1523a80a
Merge pull request #5070 from danlark1/master
Upgrade our LZ4 decompression with the new reference implementation optimizations
2019-04-30 19:29:24 +03:00
Danila Kutenin
89b0b3c342 Fix 2019-04-28 13:12:36 +03:00
Danila Kutenin
852ea727fb Exponentially small 2019-04-28 13:09:01 +03:00
Danila Kutenin
3c1e5348d1 LfAlloc more reliable choice of hint 2019-04-28 13:04:47 +03:00
proller
f69f03c96f Try fix shared libxml2 build (#5123) 2019-04-26 18:37:22 +03:00
proller
97c532c0f0
Build fixes (#5114)
Need to push builder docker image
2019-04-26 02:21:59 +03:00
Danila Kutenin
71d87a49b2 Merge branch 'master' of https://github.com/yandex/ClickHouse 2019-04-25 19:19:01 +03:00
proller
c6d0e095e0
Prepare cmake for new contrib/poco (#5062) 2019-04-25 00:33:04 +03:00
proller
ba4687e110
Cmake: dont use LINK_MODE (but use BUILD_SHARED_LIBS) (#5091) 2019-04-24 12:06:28 +03:00
Danila Kutenin
6c0e7bb9ac Merge branch 'master' of https://github.com/yandex/ClickHouse 2019-04-22 18:27:09 +03:00
Danila Kutenin
2caf3d39ff Faster LZ4 decompression because of new release 2019-04-21 20:31:15 +03:00
Nikita Lapkov
26c4df9d9c Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-04-21 09:24:48 +00:00
Danila Kutenin
92abbc3416
Merge pull request #5040 from danlark1/master
Update lz4
2019-04-20 15:47:53 +03:00
Danila Kutenin
e34e396ff9 Disable warnings 2019-04-19 12:10:54 +03:00
Danila Kutenin
500b88d19d Update lz4 to latest 2019-04-19 10:46:00 +03:00
Danila Kutenin
f154e40ed6 Update lz4 2019-04-17 19:39:30 +03:00
Vitaly Baranov
d6eb5e0f7c Fix ubsan error "load of misaligned address" in contrib/libmetrohash/src/platform.h 2019-04-17 19:12:28 +03:00
Danila Kutenin
e346758cea
Merge pull request #4995 from danlark1/master
LFAlloc added to clickhouse to allocate MarkCache and UncompressedCache data in different ways
2019-04-14 16:00:35 +03:00
Danila Kutenin
b81e0f51f1 fix compilation in clickhouse 2019-04-14 13:37:25 +03:00
Danila Kutenin
08d1a8bb57 Small fix 2019-04-13 18:10:22 +03:00
Danila Kutenin
330ef5a1b9 Correct logic for large blocks in lfalloc 2019-04-13 18:08:19 +03:00
Danila Kutenin
c3a2f28d21 More correct logic 2019-04-13 17:53:48 +03:00
Danila Kutenin
18a6b3123f Randomization in lfalloc 2019-04-13 17:45:01 +03:00
Danila Kutenin
622b2c8472 Enable LFAlloc for MarkCache and UncompressedCache 2019-04-13 15:07:43 +03:00
proller
417595b021
Update submodule contrib/poco #4685 (#4994) 2019-04-13 13:54:28 +03:00
Danila Kutenin
9d7cd0eb43 LFAlloc in CMake 2019-04-12 22:26:57 +03:00
Danila Kutenin
7f230cc134 LFAlloc added to clickhouse 2019-04-12 17:10:42 +03:00
Alexey Milovidov
a9b47a62ba Merge branch 'update_libunwind' of https://github.com/laplab/ClickHouse into laplab-update_libunwind 2019-04-11 22:36:36 +03:00
Danila Kutenin
56d5e1d639 Merge branch 'master' of https://github.com/yandex/ClickHouse 2019-04-11 14:36:10 +03:00
Danila Kutenin
6339d56ff3 hyperscan released, update 2019-04-11 14:35:38 +03:00
Mikhail Fandyushin
7fc9b8c6fb Merge branch 'master' into brotli 2019-04-08 21:07:58 +03:00
Nikita Lapkov
7c417e9a0c update 2019-04-07 10:07:31 +00:00
Nikita Lapkov
01d152d061 update 2019-04-06 19:14:05 +00:00
Nikita Lapkov
43d0f636fc add submodule from ClickHouse-Extras 2019-04-06 17:52:14 +00:00
Nikita Lapkov
a469b97296 remove submodule for original repo 2019-04-06 17:50:24 +00:00
Nikita Lapkov
10942b2ef1 switch to llvm libunwind 2019-03-27 20:37:39 +00:00
Simon Podlipsky
56bdbae79e Upgrade librdkafka to v1.0.0 2019-03-26 10:40:14 +01:00
Ivan Remen
2fb5addc40 H3 library integration 2019-03-26 11:59:48 +03:00
proller
1584fd4367
Fix hyperscan library find and use (#4798) 2019-03-26 00:31:00 +03:00
proller
e46fdfa807 Upgrade boost to 1.69 2019-03-25 17:44:17 +03:00
Danila Kutenin
1e1e3b3d38 Fix hyperscan, add some notes, test, 4 more perf tests 2019-03-25 00:47:34 +03:00
Danila Kutenin
4b7824095e Possible fixes to docker containers 2019-03-24 21:24:56 +03:00
Danila Kutenin
18660a144d hyperscan fat runtime disabled because of glibc and thread sanitizers 2019-03-24 17:24:04 +03:00
Danila Kutenin
70eb82e98c ragel fix 2019-03-24 03:00:20 +03:00
Danila Kutenin
e3b351e285 One more incompatibility fixed 2019-03-24 02:04:07 +03:00
Danila Kutenin
725139f0f5 Renamings, fixes to search algorithms, more tests 2019-03-24 01:49:38 +03:00
Danila Kutenin
f8001b41ba Hyperscan multi regular expressions search 2019-03-23 22:40:16 +03:00
Danila Kutenin
7814ccbb29 Hyperscan deleted from submodules 2019-03-23 17:47:15 +03:00
Danila Kutenin
91d065ad45 Hyperscan added to submodules 2019-03-23 16:47:27 +03:00
proller
56f7d21e84 Fix contrib/ssl 2019-03-23 00:42:24 +03:00
proller
d6d83d4a5c
Allow build without ssl (#4525) (#4750) 2019-03-22 14:18:24 +03:00
Mikhail Fandyushin
a642848c65 HTTP Accept-Encoding: br; Build brotli without UB 2019-03-21 12:02:42 +03:00
Alexey Milovidov
14c4d0d9bd Suppress warning in "rdkafka" library 2019-03-20 21:03:05 +03:00
Vitaly Baranov
bfa4d80453
Merge pull request #4711 from vitlibar/build-shared-library-for-protobuf
Build shared library for protobuf when MAKE_STATIC_LIBRARIES == OFF.
2019-03-16 13:29:43 +03:00
Vitaly Baranov
2ded9543a3 Build shared library for protobuf when MAKE_STATIC_LIBRARIES == OFF. 2019-03-16 00:27:03 +03:00
alexey-milovidov
d35aefefc8
Merge pull request #4678 from simPod/upgrade-librdkafka
Upgrade librdkafka to RC8
2019-03-15 17:46:06 +03:00
Simon Podlipsky
7a1bddecc2 Add BUILT_WITH to librdkafka 2019-03-15 12:30:14 +01:00
Alexey Milovidov
f983282fe0 Updated submodule (tnx. chenxing-xc) 2019-03-14 22:33:11 +03:00
Alexey Milovidov
a67d85fc05 Updated submodule 2019-03-14 07:02:33 +03:00
Alexey Milovidov
2179cd67e7 Addition to prev. revision 2019-03-14 07:00:15 +03:00
Simon Podlipsky
b942b9c90f Upgrade librdkafka to RC8 2019-03-13 14:13:40 +01:00
Alexey Milovidov
e81d8e8b02 Fixed build 2019-03-12 21:35:23 +03:00
proller
bb9d83908f Revert reverted submodules in b9c4908edb 2019-03-12 16:18:11 +03:00
Alexey Zatelepin
b9c4908edb add the missing part of the comment 2019-03-11 22:07:09 +03:00
Alexey Milovidov
f53cdce655 Removed useless install 2019-03-11 19:17:15 +03:00
Alexey Milovidov
ebac45420b Removed useless code in CMakeLists for "ssl" 2019-03-11 19:17:02 +03:00
Alexey Milovidov
880cbbb632 Merge branch 'master' into libcxx-as-submodule 2019-03-11 04:03:13 +03:00
proller
446caea46e Update contrib/cppkafka (#4620)
* Update contrib/cppkafka

* Fix
2019-03-10 04:28:13 +03:00
Simon Podlipsky
1e71559b2d Upgrade librdkafka to RC7 2019-03-09 14:58:08 +01:00
Vitaly Baranov
61e21d50e1
Merge pull request #4207 from andyyzh/bitmap_feature
Added bitmap function feature with roaring bitmap
2019-03-04 22:42:47 +03:00
proller
d2e18d47fb
Fix link in split mode (#4574) 2019-03-04 20:47:31 +03:00
Ivan Lezhankin
c8eefb3927 Always modify subqueries if modifying inplace
to support push-down while analyzing.
2019-02-26 13:18:12 +03:00
proller
853537d233
Parquet hotfixes (#4458)
* Parquet hotfixes

* Parquet tests hotfixes

* Parquet: Mute ubsan for parquet and snappy

* Disable ubsan for arrow
2019-02-20 18:21:23 +03:00
proller
e20c77e4c6 Add parquet support. Fixes, tests, ... 2019-02-19 23:51:44 +03:00
proller
88076bb8c9 Merge commit 'bf09c2047a47b74f089d701b9b1e4fcbe8955a7f' into fix23 2019-02-19 23:46:37 +03:00
proller
263e69e861
Build fixes (FreeBSD port) (#4397) 2019-02-15 14:46:07 +03:00
Andy Yang
4a4dbcd2c1 Merge remote-tracking branch 'origin' into bitmap_feature 2019-02-14 15:14:18 +08:00
Mikhail
763b3dcf73
Merge branch 'master' into brotli 2019-02-11 23:44:39 +03:00
proller
0a1a787b16 Move contrib/pdqsort from submodule to source 2019-02-11 18:30:51 +03:00
Andy Yang
1a28ba01c1 Added bitmap function feature, fixed test errors and code styles 2019-02-09 14:33:09 +08:00
Ivan Lezhankin
018df69d3d Merge remote-tracking branch 'upstream/master' into issue-2675 2019-02-07 15:45:21 +03:00
proller
8a714ed2f0 Build ARM fixes 2019-02-06 14:37:30 +00:00
Alexey Milovidov
aa5e60a23b Fixed bad configuration of base64 library #3350 2019-02-05 17:05:48 +03:00
Alexey Milovidov
11223939e5 Miscellaneous modification in CMake 2019-02-04 17:07:01 +03:00
proller
5cbe558205
Update CMakeLists.txt 2019-02-03 17:13:47 +03:00
Mike F
723d3b3a99
Merge branch 'master' into brotli 2019-02-02 20:14:29 +03:00
alesapin
708e06837a Fix brotli build 2019-02-02 17:17:51 +03:00
Evgenii Pravda
67d26f6528 Use pdqsort instead of std::sort in ORDER BY 2019-02-02 16:52:20 +03:00
alesapin
1a3cef8216 Add brotli to contrib 2019-02-02 16:33:50 +03:00
Andy Yang
7e7a864fd4 Added bitmap function feature with roaring bitmap 2019-01-31 21:26:11 +08:00
alexey-milovidov
81de83cab6
Merge pull request #4155 from proller/fix10
Porting debian changes
2019-01-29 00:11:20 +03:00
alexey-milovidov
d91c97584a
Merge pull request #4167 from yandex/fix-openssl-dir
Always use system-wide OPENSSL directory
2019-01-28 23:41:22 +03:00
proller
2ab3138eb6 Merge remote-tracking branch 'upstream/master' into fix10 2019-01-28 17:01:06 +03:00
proller
2eee2d97df Update contrib/libmetrohash 2019-01-28 17:00:50 +03:00
Alexey Milovidov
00e0bea3d9 Always use system-wide OPENSSL directory #3983 2019-01-28 16:45:56 +03:00
proller
48fa225c57 Allow use gtest sources from system 2019-01-25 23:12:15 +03:00
Alexey Milovidov
65f8e4d4a8 Merge branch 'master' into global-thread-pool 2019-01-25 16:33:50 +03:00
Alexey Milovidov
4bb487763a Make it work #4126 2019-01-25 15:45:35 +03:00
Alexey Milovidov
8294e653c3 Merge branch 'kafka_zstd' of https://github.com/Miniwoffer/ClickHouse into Miniwoffer-kafka_zstd 2019-01-25 15:25:56 +03:00
Ivan Lezhankin
fbba93de7b Use our fork of cppkafka
With some fixes
2019-01-25 13:19:29 +03:00
alexey-milovidov
f96b8e4ed6
Merge pull request #4005 from vitlibar/add-protobuf-output-format
Add protobuf output format
2019-01-24 22:05:23 +03:00
Ivan Lezhankin
f4e5e74e77 Update cppkafka 2019-01-24 14:58:25 +03:00
Vitaly Baranov
0ac0557e0f Make DBMS dependent on the protobuf library. 2019-01-23 22:19:23 +03:00
Danila Kutenin
784c3e5fda fix of ppc64le definitions 2019-01-23 18:24:14 +03:00
Danila Kutenin
7f4b0f3c04 added powerpc build support 2019-01-23 17:18:19 +03:00
Odin Hultgren Van Der Horst
95f2f3faeb Removed old comment 2019-01-23 11:48:30 +01:00
Odin Hultgren Van Der Horst
3b01eb62f2 Merge branch 'master' of https://github.com/yandex/ClickHouse into kafka_zstd 2019-01-23 11:33:34 +01:00
Alexey Milovidov
f4ae6a4cda Removed useless install 2019-01-19 02:52:21 +03:00
Alexey Milovidov
0572a62939 Removed useless code in CMakeLists for "ssl" 2019-01-18 22:42:29 +03:00
Alexey Milovidov
57f6e81687 Updated "ssl" submodule 2019-01-18 22:41:45 +03:00
proller
0939387514
Build fixes (#4076)
Move copy_headers.sh and formath.sh from root.
Debian: use default build dir (obj-x86_64-linux-gnu)
Debian: add test after build (GLIBC_required_version)
cmake: dont run copy headers if already copied
2019-01-18 18:19:53 +03:00
Alexey Milovidov
a7c468da8e Merge remote-tracking branch 'origin/master' into global-thread-pool 2019-01-17 21:57:01 +03:00
Odin Hultgren Van Der Horst
b2690d8eed Added zstd support for kafka 2019-01-16 14:49:41 +01:00
Ivan Lezhankin
15eee83be7 Use internal cppkafka in unbundled configuration 2019-01-14 20:58:52 +03:00
Ivan Lezhankin
07f8ef4f4c Use C11 threads only if available 2019-01-14 14:15:57 +03:00
Ivan Lezhankin
77daa519ff Update librdkafka to v1.0.0-RC5 2019-01-14 14:15:57 +03:00
Ivan Lezhankin
9c35598373 Add cppkafka to contrib 2019-01-14 14:15:57 +03:00
Alexey Milovidov
79ac86375e Attempt to implemnt global thread pool #4018 2019-01-11 20:07:04 +03:00
Alexey Milovidov
8a0867e560 Removed useless and misleading messages from Poco cmake 2019-01-11 16:57:46 +03:00
alexey-milovidov
1dab649bf3
Revert "Apply upstream jemalloc patch for potential leak" 2019-01-09 21:16:54 +03:00
Alexey Milovidov
d4a12525df Removed most of garbage from CMakeLists of libhdfs 2019-01-07 10:54:09 +03:00
Alexey Milovidov
ccd967e2e7 Fixed issue with libhdfs [#CLICKHOUSE-2] 2019-01-07 10:37:34 +03:00
Alexey Milovidov
a058cc1983 Added some warnings from clang's -Weverything 2019-01-06 14:13:26 +03:00
Alexey Milovidov
588ee498ba Added some warnings from clang's -Weverything 2019-01-06 11:31:22 +03:00
Alexey Milovidov
dfd0518e8d Added some warnings from clang's -Weverything 2019-01-05 06:12:17 +03:00
Alexey Milovidov
d3f5be212d Added some warnings from clang's -Weverything 2019-01-05 03:55:47 +03:00
Alexey Milovidov
9a51f0ab7b Preparations for MSan [#CLICKHOUSE-2] 2018-12-28 07:43:24 +03:00
Alexey Milovidov
b57299cfa5 Using libcxx as a submodule [#CLICKHOUSE-2] 2018-12-28 06:30:29 +03:00
Alexey Milovidov
130b427ff7 Using libcxx as a submodule [#CLICKHOUSE-2] 2018-12-28 06:24:03 +03:00
Alexey Milovidov
3777ded5b6 Added submodules [#CLICKHOUSE-2] 2018-12-28 03:22:32 +03:00
Alexey Milovidov
df42e26146 Merge branch 'master' into libcxx-as-submodule 2018-12-28 03:18:50 +03:00
Alexey Milovidov
ab85175e7f Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-4 2018-12-28 00:23:13 +03:00
Alexey Milovidov
54e2b6ea91 Suppress warnings in 3rd party library [#CLICKHOUSE-2] 2018-12-27 22:38:17 +03:00
proller
a75d8794ef Merge remote-tracking branch 'upstream/master' into fix10 2018-12-27 21:21:20 +03:00
proller
1a0a879a51 Build fixes 2018-12-27 18:23:37 +03:00
Alexey Milovidov
2b58438737 Added warning suppression for 3rd party library #3926 2018-12-27 02:19:29 +03:00
Alexey Milovidov
58690beb32 Updated MaridDB library: fixed error in UBSan [#CLICKHOUSE-2] 2018-12-25 22:23:16 +03:00
Alexey Milovidov
7fc7a4cb78 Suppress warning in protobuf build [#CLICKHOUSE-2] 2018-12-20 18:22:27 +03:00
proller
b3b192c96b Better contrib/base64-cmake 2018-12-11 19:09:39 +03:00
Alexey Milovidov
2b9d9536ee Allow to use libcxx from submodule [#CLICKHOUSE-2] 2018-12-08 06:48:17 +03:00
Alexey Milovidov
8a033d4a9c Fixed error in build of libxml2 #3617 2018-12-08 04:41:00 +03:00
proller
7ce0d59648 Build fixes 2018-12-07 23:12:06 +03:00
proller
dc80dcffac Update poco submodule 2018-12-07 20:37:42 +03:00
Vladimir Chebotarev
8f85ca05ce Poco should not call find_library(OpenSSL) when USE_INTERNAL_SSL_LIBRARY. [#METR-21516] (#3781)
* Poco should not call `find_library(OpenSSL)` when USE_INTERNAL_SSL_LIBRARY. [#METR-21516]

* Minor fix.
2018-12-07 18:00:51 +03:00
alesapin
21f8a86635 Merge branch 'chenxing-xc-master' 2018-12-07 17:13:11 +03:00
alesapin
80b49e4c0a Add integration test, put dependent libs to contrib, slightly refine
code.
2018-12-07 14:41:24 +03:00
chenxing.xc
8256c19b29 address comments 2018-12-04 21:19:00 +08:00
proller
00d9a18e19 Fix contrib/llvm link with LLVMOFF 2018-12-04 13:49:16 +03:00
alesapin
03ce4c5bc5
Merge branch 'master' into master 2018-12-03 13:02:34 +03:00
Alexey Milovidov
2cc82f5cbe Enable jemalloc profiling for debug builds [#CLICKHOUSE-2] 2018-11-28 19:27:39 +03:00
chenxing.xc
0930484ed7 update libhdfs3 without uuid/curl dependence 2018-11-24 23:52:30 +08:00
alexey-milovidov
507990d5f2
Merge branch 'master' into master 2018-11-23 23:41:38 +03:00
Alexey Milovidov
dbbacf4f87 Added more style checks [#CLICKHOUSE-3] 2018-11-23 21:52:00 +03:00
alexey-milovidov
af013285e9
Merge branch 'master' into base64_functions 2018-11-23 21:33:56 +03:00
proller
1d40c2c871 Better link and deps (#3631)
* try fix 1

* Better deps

* fix

* fix

* fix

* Update CMakeLists.txt

* Update CMakeLists.txt

* fix

* fix

* fix

* disable old

* Update find_odbc.cmake
2018-11-21 22:20:27 +03:00
alesapin
57ea89c5f3 Merge branch 'master' into CLICKHOUSE-4112 2018-11-20 20:23:08 +03:00
alesapin
f08e090bda Better uri scheme check and fix in poco submodule 2018-11-20 20:21:32 +03:00
Ivan Lezhankin
b13313eecc Update SSL 2018-11-20 16:17:23 +03:00
chenxing.xc
939368cf08 Merge remote-tracking branch 'hdfs/master' 2018-11-20 19:28:40 +08:00
alexey-milovidov
e8fbe299b6
Merge pull request #3608 from abyss7/CLICKHOUSE-4133
Update poco with fixes.
2018-11-19 18:03:10 +03:00
Ivan Lezhankin
dce3b6a571 Update poco with fixes. 2018-11-19 15:48:47 +03:00
chenxing.xc
76843c2dc0 hdfs read support 2018-11-19 16:17:09 +08:00
proller
160ffb2283
Build fixes (clang 7.0.0+) (#3582) 2018-11-16 15:22:51 +03:00
Alexandr Krasheninnikov
177a00f09a Merge https://github.com/yandex/ClickHouse into base64_functions 2018-11-14 12:32:42 +03:00
proller
5678d1ed98 Build fixes (#3545)
* StorageSystemContributors clean

* Fix

* ARM fixes

* Fix arm compile

* fix

* Fix macos?

* Fix includes

* fix

* fix

* Try fix apple build part 1

* Fix identation

* Fix static libc++ in clang

* fix arm build

* better

* fix

* fix

*  better check-include
2018-11-10 23:09:07 +03:00
Amos Bird
752cd7e4f8 Apply upstream jemalloc patch for potential leak
https://github.com/jemalloc/jemalloc/issues/1347
2018-11-11 00:32:27 +08:00
Alexandr Krasheninnikov
6ab45d081c Arch-based compilation 2018-11-02 22:06:05 +03:00
abyss7
d538f70679 Fix build and tests on Fedora (#3496)
* Fix some tests and build on Fedora 28

* Update contrib/ssl

* Try `sudo` first, then without `sudo`.
2018-10-30 17:05:44 +03:00
avsharapov
11da23f153 Fix typo in readme 2018-10-13 15:28:08 +03:00
Alexandr Krasheninnikov
41281ad397 Make compilation on-demand 2018-10-11 19:25:17 +03:00
Alexander Krasheninnikov
5ff30ebb3d Initial implementation 2018-10-10 04:04:07 +03:00
luc1ph3r
bf09c2047a Parquet data format: update CMake configurations 2018-10-01 19:44:55 +03:00
alexey-milovidov
33578cb1b1
Merge pull request #3216 from vavrusa/capnproto-tuple-nested
Formats/CapnProtoRowInputStream: support Nested and Tuple, fix alignm…
2018-10-01 04:34:06 +03:00
luc1ph3r
f6cae6a5c3 Update submodules since parquet is a part of arrow
- f84dca4203
2018-09-30 22:02:40 +03:00
proller
ec11bef633
Build fixes (#3181) 2018-09-28 17:53:20 +03:00
Marek Vavruša
cbbcb6d9df Formats/CapnProtoRowInputStream: support Nested and Tuple, fix alignment issues
This updated contrib/capnproto to a newer version that fixes problems with
unaligned access to message frames.

It also adds support for parsing Struct types as Tuple (named or unnamed),
and Nested array types.

The `struct X { a @0 :UInt64; b @1 :Text }` in Cap'nProto is equivalent to
`x Tuple(a UInt64, b String)` in ClickHouse.

Arrays of Struct types such as `y List(X)` are equivalent to `y Nested(a UInt64, b String)`.
2018-09-25 22:51:35 -07:00
Alexey Milovidov
5c98f1b562 Fixed "AddressSanitizer: odr-violation" vtable for Poco::Net::FTPPasswordProvider [#CLICKHOUSE-3939] 2018-09-07 22:02:59 +03:00
Alexey Milovidov
9e5778134d Miscellaneous #3018 2018-09-02 04:54:24 +03:00
alexey-milovidov
a05cdfbb45
Merge branch 'master' into extra-warnings 2018-08-31 03:03:44 +03:00
Alexey Milovidov
cf33608e62 Enabled JEMALLOC_DEBUG in debug build [#CLICKHOUSE-2] 2018-08-29 18:54:00 +03:00
proller
c4f6bb1de0 Fix contrib/zlib build 2018-08-28 20:53:12 +03:00
proller
cc86cb503e clickhouse-test-server with temporary data dir 2018-08-27 21:32:50 +03:00
Alexey Milovidov
e5a2dd8624 Merge branch 'master' into extra-warnings 2018-08-27 19:19:04 +03:00
proller
3acce3bff9 Build fix (#2944)
* Build fix

* Better sample build scripts

* zlib apple fix

* fix

* fix

* better so version

* SPLIT_SHARED -> LINK_MODE

* clean
2018-08-27 17:39:20 +03:00
Alexey Milovidov
e726fa89f8 Enabling -Wzero-as-null-pointer-constant [#CLICKHOUSE-2] 2018-08-26 04:58:56 +03:00
proller
12f0fc7db3 Merge remote-tracking branch 'upstream/master' into fix3 2018-08-23 15:22:57 +03:00
Amos Bird
b0512b6d32 Fix misused target_include_directories. 2018-08-23 15:17:51 +03:00
proller
6622b6947a wip 2018-08-22 02:57:59 +03:00
proller
1a2b3bc985 fix 2018-08-21 19:17:27 +03:00
proller
fc2925b567 Squashed commit of the following:
commit 2722e540abfee4a527d716474c4ca582eceeee08
Merge: b4f3af824 aebddd550
Author: proller <proller@github.com>
Date:   Tue Aug 21 18:34:18 2018 +0300

    Merge remote-tracking branch 'upstream/master' into fix3

commit b4f3af824b88a8b6826583bb483730827574e8ad
Author: proller <proller@github.com>
Date:   Tue Aug 21 17:00:20 2018 +0300

    fix

commit 3a18fa7ded2a7d6b7a0883a1b9c2d6b99360837d
Author: proller <proller@github.com>
Date:   Tue Aug 21 16:57:17 2018 +0300

    fix

commit 5d42220c2cf47e1a86bdc73dbfc24b68f8626891
Author: proller <proller@github.com>
Date:   Tue Aug 21 16:50:21 2018 +0300

    freebsd fixes

commit 7baf4fb5ba4575f79b0d12a9ffaaabd34e1006da
Author: proller <proller@github.com>
Date:   Tue Aug 21 16:17:19 2018 +0300

    fix

commit e1fe707fd765b841a8d0952d91a980128cbf91d0
Author: proller <proller@github.com>
Date:   Tue Aug 21 15:35:21 2018 +0300

    fix

commit 027887c71b3ffa98d9473d50d8c3b79cbf3304ac
Author: proller <proller@github.com>
Date:   Tue Aug 21 15:25:57 2018 +0300

    fix

commit 81af41bfcfff7c02fe4060196cf03c2d2aab416e
Author: proller <proller@github.com>
Date:   Tue Aug 21 15:20:41 2018 +0300

    fix

commit 93d572c85d9c7e331254999a614c3b22b5573b02
Author: proller <proller@github.com>
Date:   Tue Aug 21 14:58:07 2018 +0300

    SPLIT_SHARED

commit dd5b8990d8527d59b1e890943d80c2bf27c613ce
Author: proller <proller@github.com>
Date:   Tue Aug 21 14:52:39 2018 +0300

    fix

commit 4840ca12ab752a38c1ef482e8ec59c5859bb48d7
Author: proller <proller@github.com>
Date:   Tue Aug 21 14:46:31 2018 +0300

    fix

commit abde633beb86f2a0d025d6fcf079965dbd827b92
Author: proller <proller@github.com>
Date:   Tue Aug 21 14:25:32 2018 +0300

    fix

commit 0d94a5476a5ba8ba5e88638d58f2cfbf2b4b662d
Author: proller <proller@github.com>
Date:   Tue Aug 21 14:45:18 2018 +0300

    Travis: try fail on ninja fail

commit c2686f90b68255c2beb0a708804aef404e80a6d2
Merge: 2c3427bbd 2aa7eb463
Author: proller <proller@github.com>
Date:   Tue Aug 21 14:25:15 2018 +0300

    Merge remote-tracking branch 'upstream/master' into fix3

commit 2c3427bbdb861edbb188ed4621e8a05cafaedafb
Author: proller <proller@github.com>
Date:   Mon Aug 20 23:57:24 2018 +0300

    fix

commit 530170c6a81d31dcfa81230e48520383234df4bc
Merge: 9abec162c f6e4ec970
Author: proller <proller@github.com>
Date:   Mon Aug 20 23:57:03 2018 +0300

    Merge remote-tracking branch 'upstream/master' into fix3

commit 9abec162cb2e09bbc2f33cbe80fe76791f6e5a77
Author: proller <proller@github.com>
Date:   Mon Aug 20 23:49:58 2018 +0300

    Apple fixes

commit 36d05e8217440fbc8ae21571b06d4eb6d679d538
Author: proller <proller@github.com>
Date:   Mon Aug 20 23:25:05 2018 +0300

    apple fix

commit aeec3e845e4456e89fbb1b1af6f9f36820a46e33
Author: proller <proller@github.com>
Date:   Mon Aug 20 23:20:06 2018 +0300

    fixes

commit 427961d916a5954981e47d94733996deb2a616ce
Author: proller <proller@github.com>
Date:   Mon Aug 20 23:11:11 2018 +0300

    fix

commit a7dd55ff8f653624c0f3dbcbc54defd3b3ae97af
Author: proller <proller@github.com>
Date:   Mon Aug 20 22:41:53 2018 +0300

    fix

commit 6200e0d315c7a62bae63a8de0fc32f7937770ad2
Merge: 8a541d7e6 21cedbe46
Author: proller <proller@github.com>
Date:   Mon Aug 20 22:35:49 2018 +0300

    Merge remote-tracking branch 'upstream/master' into fix3

commit 8a541d7e64c89e2c16af6c909e0353361153aaa3
Author: proller <proller@github.com>
Date:   Mon Aug 20 22:34:32 2018 +0300

    Do not use poco types

commit fd560f43d048b7e3307c6c6b9c9d9918230014d8
Author: proller <proller@github.com>
Date:   Mon Aug 20 22:20:42 2018 +0300

    Try fix apple build

commit cfb2eba07ac06f19e822d3474341d800b1f98cf1
Merge: 8d2e31c90 5b81fdfc0
Author: proller <proller@github.com>
Date:   Mon Aug 20 22:03:24 2018 +0300

    Merge remote-tracking branch 'upstream/master' into fix3

commit 8d2e31c908be2e99d09e2a9dde2414ab82a5e93c
Author: proller <proller@github.com>
Date:   Mon Aug 20 21:56:06 2018 +0300

    travis: TEST_SERVER_STARTUP_WAIT=10
2018-08-21 18:56:50 +03:00
proller
db6c3031e8 Fix apple build 2018-08-20 19:34:28 +03:00
Alexey Milovidov
b38cc88d9d Suppress warning in 3rd-party library #2807 2018-08-19 08:53:02 +03:00
Alexey Milovidov
1373b2e78d Suppress warning in 3rd-party library #2807 2018-08-19 06:42:43 +03:00
Alexey Milovidov
8d4c37f851 Fixed build [#CLICKHOUSE-2] 2018-08-13 12:40:45 +03:00
Alexey Milovidov
39bee180bd Miscellaneous [#CLICKHOUSE-2] 2018-08-13 09:25:22 +03:00
Alexey Milovidov
02b8fbef94 Miscellaneous [#CLICKHOUSE-2] 2018-08-13 09:23:51 +03:00
Alexey Milovidov
6bd059ec49 Updated zlib-ng submodule [#CLICKHOUSE-3891] 2018-08-13 07:43:59 +03:00
Alexey Milovidov
9ddee9fc21 Updated zlib-ng [#CLICKHOUSE-3891] 2018-08-12 04:22:16 +03:00
Alexey Milovidov
2a85432f7b Correct linkage order #1983 2018-08-10 07:43:21 +03:00
Alexey Milovidov
36db216abf Preparation for extra warnings [#CLICKHOUSE-2] 2018-08-10 07:02:56 +03:00
Alexey Milovidov
419bc587c0 Mark library headers as system (this is intended to enable more warnings in application code) [#CLICKHOUSE-2] 2018-08-10 05:24:10 +03:00
Alexey Milovidov
1ca5607f0a Mark Poco headers as system (this is intended to enable more warnings in application code) [#CLICKHOUSE-2] 2018-08-10 05:23:02 +03:00
Alexey Milovidov
a82aee19d2 Better CMakeLists for rdkafka library [#CLICKHOUSE-2] 2018-08-10 02:14:31 +03:00
Alexey Milovidov
497c8fb742 Better CMakeLists for rdkafka library [#CLICKHOUSE-2] 2018-08-10 02:02:52 +03:00
Alexey Milovidov
bbb3e240c0 Revert. Fixed link order #2807 2018-08-09 22:46:20 +03:00
Alexey Milovidov
7c08cae609 Fixed link order #2807 2018-08-09 22:11:46 +03:00
Alexey Milovidov
26aabc9f23 Changed default configuration of mariadb-connector-c to contain correct default path for unix domain socket [#CLICKHOUSE-3261] 2018-08-08 04:44:41 +03:00
alexey-milovidov
1d7e4a439c
Merge pull request #2791 from CurtizJ/CLICKHOUSE-3785
CLICKHOUSE-3785 add murmurHash3, update FunctionStringHash template.
2018-08-07 00:21:43 +03:00
Alexey Milovidov
c6e60a10d3 Ignore warning in 3rd party library [#CLICKHOUSE-3] 2018-08-06 23:08:14 +03:00
Anton Popov
efddb89d18
Merge branch 'master' into CLICKHOUSE-3785 2018-08-06 12:42:01 +03:00
ap11
2d41b958a3 add test 2018-08-06 12:35:13 +03:00
Alexey Milovidov
cf7c090fcb Removed dependency [#CLICKHOUSE-2] 2018-08-06 02:47:31 +03:00
Alexey Milovidov
0a8e99ead5 Removed dependency [#CLICKHOUSE-2] 2018-08-06 02:11:52 +03:00
Alexey Milovidov
b201268e18 Removed dependency [#CLICKHOUSE-2] 2018-08-06 01:45:16 +03:00
Alexey Milovidov
7e79e99b8b Removed dependency [#CLICKHOUSE-2] 2018-08-06 01:43:55 +03:00
Alexey Milovidov
5c063daa9e Updated submodule #1983 2018-08-05 13:58:10 +03:00
Alexey Milovidov
4a4e6b94c3 Fixed Travis #2807 2018-08-05 12:36:10 +03:00
Alexey Milovidov
4834bb01d0 Using libressl #1983 2018-08-05 12:00:07 +03:00
Alexey Milovidov
be1a9dbac9 Using libressl #1983 2018-08-05 11:40:31 +03:00
Alexey Milovidov
5d4dfa06e2 Updated submodule #1983 2018-08-05 11:39:26 +03:00
Alexey Milovidov
9a0e77e2f5 Fixed build #2789 2018-08-05 11:13:56 +03:00
Alexey Milovidov
54a9ff59cd Addition to prev. revision #2789 2018-08-03 22:29:07 +03:00
Alexey Milovidov
135bd5fa1c Addition to prev. revision #2789 2018-08-03 22:15:37 +03:00
Alexey Milovidov
ed59c0f20c Fixed build [#CLICKHOUSE-2] 2018-08-03 22:08:17 +03:00
Alexey Milovidov
0c233d668f Removed useless file; preparations #2791 2018-08-03 21:47:44 +03:00
proller
010350a088 Build fixes (#2794)
* More information in 'Cannot read all data' errors

* Build fixes

* Apple version fix

* Fix

* clean

* New libs fixes

* Freebsd fixes

* macos fix

* Fix macos build

* fix

* fix

* Update CMakeLists.txt

* freebsd fix

* fix

* Update CMakeLists.txt
2018-08-03 19:39:04 +03:00
ap11
d30a90dcac add murmurHash3, update FunctionStringHash template 2018-08-02 12:21:26 +03:00
alexey-milovidov
e6be3df322
Added unixodbc as a submodule. (#2789)
* Using unixodbc as submodule [#CLICKHOUSE-3]

* Using unixodbc as submodule [#CLICKHOUSE-3]

* Using unixodbc as submodule [#CLICKHOUSE-3]

* Using unixodbc as submodule [#CLICKHOUSE-3]

* Using unixodbc as submodule [#CLICKHOUSE-3]

* Using unixodbc as submodule [#CLICKHOUSE-3]

* Using unixodbc as submodule [#CLICKHOUSE-3]
2018-08-02 11:18:15 +03:00
alexey-milovidov
25cc323d1d
Using mariadb-connector-c from submodule. (#2785)
* Using internal mariadb-client library [#CLICKHOUSE-2]

* Using internal mariadb-client library [#CLICKHOUSE-2]

* Using internal mariadb-client library [#CLICKHOUSE-2]

* Using internal mariadb-client library [#CLICKHOUSE-2]

* Using internal mariadb-client library [#CLICKHOUSE-2]
2018-08-02 03:49:31 +03:00
alexey-milovidov
9cd5228df2
Using jemalloc instead of tcmalloc. (#2773)
* Added jemalloc as submodule [#CLICKHOUSE-2]

* Imported jemalloc-cmake [#CLICKHOUSE-2]

* Added README for jemalloc-cmake [#CLICKHOUSE-2]

* Trying to add jemalloc [#CLICKHOUSE-2]

* Trying to add jemalloc [#CLICKHOUSE-2]

* Trying to add jemalloc [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]

* Add support for jemalloc: development [#CLICKHOUSE-2]
2018-08-02 03:20:20 +03:00
alexey-milovidov
833e67d53d
Suppress some warnings in third party libraries (#2762)
* Suppress some warnings in 3rd party libraries [#CLICKHOUSE-3]

* Suppress some warnings in 3rd party libraries [#CLICKHOUSE-3]
2018-07-30 23:36:23 +03:00
Alexey Milovidov
31a0c9c79a Fixed spaces in CMakeLists.txt #2756 2018-07-30 21:11:31 +03:00
alexey-milovidov
793e0d3901
Update README 2018-07-30 18:41:41 +03:00
Anton Popov
c4fec0521e
Update CMakeLists.txt 2018-07-30 16:47:25 +03:00
Anton Popov
f6457929b6
Update LICENSE 2018-07-30 16:47:04 +03:00
Anton Popov
3a35ebd90e
Update README 2018-07-30 16:46:28 +03:00
ap11
68bdc4eb12 Add mumurhash2 2018-07-30 15:19:22 +03:00
proller
cce2e005c5 Macos default build fixes 2018-07-16 17:16:26 +03:00
proller
68a2caed9a Cmake: Fix usage of USE_INTERNAL_CPUID_LIBRARY 2018-07-09 19:06:25 +03:00
proller
b62a6b59ee
Update libcpuid to 0.4.0 (#2544) 2018-06-22 00:51:14 +03:00
proller
a31adcfdea Allow use unbundled cpuid (#2543)
* Wait test server startup for 5s

* clean

* Allow use system libcpuid

* cpuid: move include/cpuid/ -> include/libcpuid/

* fix
2018-06-21 20:35:03 +03:00
proller
e1ae5233df Add // Y_IGNORE tags 2018-06-21 18:24:36 +03:00
proller
fbe7df73a2
CLICKHOUSE-3762 Build fixes (#2488)
CONTRIB-254
2018-06-19 21:09:09 +03:00
Alexey Milovidov
0e9a55826d Miscellaneous [#CLICKHOUSE-2] 2018-06-05 23:36:09 +03:00
Alexey Milovidov
f5adbceed2 Non significant changes according to clang's -Weverything, part 3 [#CLICKHOUSE-2] 2018-06-03 23:39:06 +03:00
proller
68ba523b23 Compile and doc fixes (#2410)
* Try fix travis

* fix

* Fix clickhouse-local shared-split link

* fix

* fix

* fix

* Build fixes

* Fix tinfo

* fix

* tinfo -> termcap

* termcap fix

* Better llvm version detect

* fix

* Debian postinst fix
Tests: use /usr/local if exists

* Compile and doc fixes

* fix

* fix

* fix

* macos fixes

* fix

* wip

* Update demangle.h

* Update demangle.cpp
2018-05-25 21:13:48 +03:00
Alexey Milovidov
a0fa49c44a Reverted submodules 2018-05-15 04:16:19 +03:00
proller
fb911f7cfa Allow force disable libs: poco netssl poco mongodb, poco data odbc 2018-05-14 21:36:01 +03:00
proller
d81adc243d ci fixes 2018-05-14 20:30:30 +03:00
Vitaliy Lyudvichenko
e8b94b89e9 Removed dbg output, fixed test. [#CLICKHOUSE-2] 2018-05-14 17:14:58 +03:00
Ivan Zhukov
2cc2122774 Add a parquet-cpp repo to contrib 2018-05-13 03:48:49 +03:00
Alexey Milovidov
e14dedb76b Removed ANL because we don't really need it #2240 2018-05-11 14:23:52 +03:00
Alexey Milovidov
38a559061f Removed garbage (fixed build) [#CLICKHOUSE-2] 2018-05-11 14:04:39 +03:00
Alexey Milovidov
715a9a7233 Miscellaneous [#CLICKHOUSE-2] 2018-05-11 14:04:12 +03:00
Alexey Milovidov
9fa5952b0f Updated submodule #2277 2018-05-11 02:20:48 +03:00
Alexey Milovidov
497181108e Updated submodule #2277 2018-05-10 23:44:01 +03:00
Alexey Milovidov
0db2e5565f Updated submodule #2277 2018-05-10 02:37:31 +03:00
Alexey Milovidov
2d0e0059f8 Updated submodule #2277 2018-05-10 02:07:10 +03:00
Alexey Milovidov
3f34eced72 Updated submodule #2277 2018-05-10 01:09:02 +03:00
Alexey Milovidov
3679925233 Updated submodule #2277 2018-05-10 01:07:40 +03:00
Alexey Milovidov
e6369d4168 Updated submodule #2277 2018-05-10 00:46:44 +03:00
Alexey Milovidov
a950ef6038 Updated submodule #2277 2018-05-10 00:33:11 +03:00
Alexey Milovidov
4d2989e42f Added support for bundled LLVM libraries #2277 2018-05-09 23:31:03 +03:00
proller
eb772b8001 gcc8 fixes (memset, uncaught_exception) 2018-05-08 22:44:54 +03:00
proller
349009a0d3 Build fixes (#2324)
* Build fixes

* Fixes

* remove libzookeeper-mt-dev

* fix

* fix

* wrong

* try fix

* fix

* Update CMakeLists.txt

* Fixes

* Update boost to 1.67.0

* Fix ninja

* fix
2018-05-07 23:31:50 +03:00
proller
38141b84c2 Try fix contrib/capnproto error with new compilers (#2318)
* Build fixes

* Try fix contrib/capnproto error with new compilers

* Try master
2018-05-06 01:10:38 +03:00
proller
930c24dd61 Revert "Update submodule contrib/capnproto to master for gcc8 build fix"
This reverts commit f1a858abaf.
2018-05-05 02:11:59 +03:00
proller
f1a858abaf Update submodule contrib/capnproto to master for gcc8 build fix 2018-05-04 23:58:51 +03:00
Tobias Adamson
ea1e167acf Upgrade librdkafka to v0.11.4 2018-04-24 10:08:47 -07:00
proller
62798cedcc Update poco submodule 2018-04-18 23:37:27 +03:00
Vitaliy Lyudvichenko
d4a1407d2d Fixed typo in docs. [#CLICKHOUSE-3] 2018-04-18 15:39:43 +03:00
Alexey Milovidov
86317fe0f9 ZooKeeper: Fixed error [#CLICKHOUSE-2] 2018-04-08 07:25:13 +03:00
proller
07b81c875e CLICKHOUSE-3444: show error for old query on replace_running_query (#2127)
* Add tests

* Fix test

* Fix test build

* CLICKHOUSE-3444: show error for replace_running_query

* fix naming

* fix

* fix test

* Update IProfilingBlockInputStream.cpp
2018-04-07 06:49:49 +03:00
proller
55934058c6 revert reverted submodule contrib/poco 2018-04-06 23:22:33 +03:00
Alexey Milovidov
ee7fe63b69 Avoid herd effect in ReplicatedMergeTreeCleanupThread (continued) [#CLICKHOUSE-2] 2018-04-06 22:44:55 +03:00
proller
a37c5dd606 revert reverted submodule contrib/poco 2018-04-06 21:58:26 +03:00
Alexey Milovidov
af226d62f5 Fixed totally wrong code in SummingMergeTree in the case of complex maps [#CLICKHOUSE-2] 2018-04-06 21:09:20 +03:00
proller
ddbc5dea46 Reduce contrib/poco download size 2018-04-06 14:28:29 +03:00
Alexey Milovidov
8012b31aaa Removed unused directory [#CLICKHOUSE-2]. 2018-04-02 23:50:29 +03:00
Alexey Milovidov
2381074848 Updated zstd to v1.3.4 [#CLICKHOUSE-2] 2018-04-01 23:13:18 +03:00
alexey-milovidov
428ee63a04
Merge branch 'master' into libzookeeper-rewrite 2018-04-01 17:31:20 +03:00
proller
b3e8949d2a CLICKHOUSE-3675 Add glibc version test
Fix zookeeper tools compile
2018-03-30 16:58:00 +03:00
alexey-milovidov
c9da34dd84
Merge pull request #2139 from proller/fix16
CLICKHOUSE-3644: Server: do not use SO_REUSEPORT
2018-03-29 23:50:06 +03:00
Alexey Milovidov
ccedfbc4ea Fixed error with unneeded dependency on libc version [#CLICKHOUSE-2] 2018-03-29 23:11:07 +03:00
proller
037cf62230 CLICKHOUSE-3644: Server: do not use SO_REUSEPORT 2018-03-29 20:24:46 +03:00
proller
239f0974fa CLICKHOUSE-3630: Fix race on logger reload, enable reload 2018-03-28 15:20:45 +03:00
Alexey Milovidov
c2f40e8d41 Removed libzookeeper [#CLICKHOUSE-2] 2018-03-25 06:47:56 +03:00
proller
caf83a650e libs: compiling with msvc2017 (#1996)
* Allow use bundled *ssl library

* fix

* Add submodule

* Fixes

* fix

* fixes

* fixes

* fix

* fix

* update poco

* fix warnings

* fix

* fix

* Build fixes

* Build fixes

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* add bat

* no zookeeper in dbms

* update boost

* fixes

* fixes

* fix

* fix

* fix

* fix

* try fix

* try fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Better

* fix

* dh verbose

* fix

* dh verbose

* fix

* clean

* Update LocalDate.h

* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
Alexey Milovidov
0a281b3b69 Fixed build after merge [#CLICKHOUSE-2] 2018-03-07 22:24:24 +03:00
Alexey Milovidov
10a6b5c43f Fixed build after merge [#CLICKHOUSE-2] 2018-03-07 22:20:36 +03:00
Alexey Milovidov
ac6a2870b8 Fix usage of atomic flag in Poco [#CLICKHOUSE-2] 2018-03-03 18:55:30 +03:00
proller
a4be761f24 rename libboost/boost_1_65_0 -> contrib/boost ; make submodule ; update boost to 1.66.0 (#1988)
* rename libboost/boost_1_65_0 -> contrib/boost ; make submodule ; update boost to 1.66.0

* Update contrib/boost

* Update contrib/boost

* Add comments

* Fix
2018-03-02 23:01:53 +03:00
proller
f749405bf0 libressl as submodule (#1983)
* Allow use bundled *ssl library

* fix

* Add submodule

* Fixes

* fix

* fixes

* fixes

* fix

* fix

* update poco

* fix warnings

* fix

* fix
2018-03-02 03:17:25 +03:00
proller
0e7c49fe9b
Build fixes (#1970)
* Macos test fix

* Fix freebsd build
2018-02-27 20:17:02 +03:00
Alexey Milovidov
615877e544 Updated Poco submodule: fixed usage of atomic bool flag, that was shown by TSan [#CLICKHOUSE-2] 2018-02-24 22:17:56 +03:00
Alexey Zatelepin
958a6f0999 fix submodules 2018-02-19 16:34:37 +03:00
Alexey Milovidov
6f96857427 Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 05:27:34 +03:00
Alexey Zatelepin
704fe146fb update zookeeper submodule 2018-02-16 16:25:10 +03:00
Alexey Zatelepin
a4df86f6aa update zookeeper submodule 2018-02-15 19:23:15 +03:00
proller
d2f1ef686e
Misc build and test fixes (#1905)
* Misc build fixes

* Fix apple tests
2018-02-14 20:27:14 +03:00
Alexey Milovidov
271afb0301 Fixed performance regression after updating RE2 library [#CLICKHOUSE-2] 2018-02-12 06:05:14 +03:00
Alexey Milovidov
edea4456f0 Fixed performance regression after updating RE2 library [#CLICKHOUSE-2] 2018-02-12 05:41:50 +03:00
proller
15e77ec688 Build and test fixes:
Dont test symbols with gdb
    Travis: add clang6 + ubuntu bionic (disabled)
    Travis: dont run tests with gcc7 (too long, does not fit to limit)
    Allow use clang-7 as internal compiler: -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_COMPILER=clang-7 -DLLVM_VERSION_POSTFIX=-7
    Debian: Fix package install (old version can't do service clickhouse disable_cron)
    Build fixes (ubuntu bionic + clang6.0)
    Update internal compiler clang6.0 to rc1
2018-02-07 18:58:48 +03:00
proller
282448e67d contrib/re2 as submodule 2018-01-22 16:47:00 +03:00
proller
9ea2521944 Fix macos build 2018-01-19 20:04:32 +03:00
Alexey Milovidov
3e3d7b354a Updated re2 to the latest version [#CLICKHOUSE-2] 2018-01-19 04:18:47 +03:00
proller
76cf0ba5d0 Better tests (#1785)
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed:    dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h

* Fix space

* Fix data in system.build_options

* merge

* merge

* Travis optimize

* optimize

* Fix clickhouse-test --no-long

* no long

* Split too long test

* Better tests

* missing file

* Fix includes

* Added draft [#CLICKHOUSE-2].

* fix

* fix

* fix

* Fix test 281 under asan
2018-01-18 23:33:16 +03:00
proller
d8a92e80d6 Use double-conversion as submodule 2018-01-16 21:58:12 +03:00
proller
3c42a24b8a Save/restore CMAKE_CXX_FLAGS around contrib/poco 2018-01-13 04:16:23 +03:00
Alexey Milovidov
010a5367f4 Updated double-conversion (it has only minor changes) #1665 2018-01-11 22:35:14 +03:00
proller
b026eb7797 Use submodule contrib/capnproto, remove include_directories (#1746)
* Add submodule contrib/capnproto

* Use contrib/capnproto, remove include_directories

* Fix include

* Clean

* Fix werror

* Update doc

* Fix

* Final fix

* Fxi
2018-01-11 21:39:52 +03:00
proller
eeffa607f4 Update librdkafka with static build fix 2018-01-09 16:41:05 +03:00
Alexey Milovidov
346b92f07a Reverted accidentially modified submodule [#CLICKHOUSE-2] 2017-12-30 07:00:39 +03:00
Alexey Milovidov
ffca152c45 Inverted dependencies in StorageFactory [#CLICKHOUSE-2]. 2017-12-30 07:00:39 +03:00
proller
0befd2f2f3 Again fix submodule librdkafka 2017-12-28 15:23:53 +03:00
Alexey Milovidov
4448766266 Merging [#CLICKHOUSE-3114] 2017-12-28 07:28:05 +03:00
Alexey Milovidov
bcfde7c6c0 Get rid of DataTypeNested, part 2 [#CLICKHOUSE-2]. 2017-12-25 21:58:39 +03:00
proller
8bc30c8b91 Update contrib/zstd to v1.3.3 2017-12-25 21:09:15 +03:00
Alexey Zatelepin
252454906e fix build 2017-12-25 15:00:51 +03:00
Kirill Shvakov
af400da8eb add toStartOfFifteenMinutes function 2017-12-22 13:04:24 +02:00
Alexey Milovidov
7c2ce6b772 Miscellaneous [#CLICKHOUSE-2]. 2017-12-22 04:56:29 +03:00
Alexey Milovidov
a4e4d263c0 Updated changelog [#CLICKHOUSE-3513]. 2017-12-21 20:43:57 +03:00
proller
673e070418 Temporary revert librdkafka update. will wait for fix https://github.com/edenhill/librdkafka/pull/1602/ 2017-12-21 18:57:33 +03:00
Alexey Milovidov
c0b1dd9876 Returned back accidentially modified submodule [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
ac5433bfbb Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Marek Vavruša
f05eb28d50 contrib: fixed librdkafka to build with Clang 5.0 on macOS 2017-12-21 00:46:50 +03:00
Alexey Milovidov
a5668a1502 Returned back accidentially modified submodule [#CLICKHOUSE-2]. 2017-12-19 20:05:53 +03:00
Alexey Milovidov
b83142ea62 Fixed error found by M.Filimonov (generic implementation of topK aggregate function was totally wrong) [#CLICKHOUSE-2]. 2017-12-19 00:12:15 +03:00
Alexey Milovidov
8302769563 Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-16 03:49:03 +03:00
Alexey Milovidov
d0ca8b2533 Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-15 21:23:05 +03:00
Alexey Milovidov
8926af2ced Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-15 03:01:59 +03:00
Alexey Milovidov
d164024e3d Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-14 23:58:18 +03:00
Alexey Milovidov
fb38ef9a8e Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-14 06:56:56 +03:00
Alexey Milovidov
4a51a7bb22 Fixed bad translation [#CLICKHOUSE-2]. 2017-12-13 21:42:13 +03:00
Alexey Milovidov
f4e2698ff2 Updated submodule [#CLICKHOUSE-3458]. 2017-12-05 04:14:58 +03:00
Alexey Milovidov
54e601019c Better [#CLICKHOUSE-2]. 2017-12-02 00:40:58 +03:00
alexey-milovidov
ac25fc2eef
Merge pull request #1547 from proller/fix8
googletest as submodule
2017-12-01 19:44:56 +03:00
proller
7a32d62dad Fix compile (missing boost libs) 2017-11-30 20:52:24 +03:00
proller
a520d30a5e zlib fix flags in headers 2017-11-30 20:52:09 +03:00
proller
34eef961de ENABLE_LIBTCMALLOC -> ENABLE_TCMALLOC (#1558)
* Cmake: clang + libc++ fixes

* Cmake: fix link of some tests (missing pthread)

* Use -pthread flag for compile

* ENABLE_LIBTCMALLOC -> ENABLE_TCMALLOC
2017-11-28 22:57:15 +03:00
proller
91cddb511a googletest as submodule 2017-11-25 00:15:24 +03:00
proller
1dcc0631de Fix macos build 2017-11-24 22:24:07 +03:00
proller
4bd0549bde Fix tcmalloc cmake 2017-11-24 21:34:32 +03:00
proller
6ff1968196 Compile and likk optimize and fixes 2017-11-24 21:08:01 +03:00
Alexey Zatelepin
a665d4c723 update zookeeper submodule 2017-11-23 16:39:58 +03:00
proller
4fcb081f5b Zlib: remove unused test targets 2017-11-22 15:15:17 +03:00
proller
495156389c Remove old contrib/libzlib-ng 2017-11-22 00:21:22 +03:00
proller
411202d5ad Zlib: as submodule, fix compile options; config: add logger options: logger.flush logger.rotateOnOpen 2017-11-21 23:10:37 +03:00
Alexey Milovidov
0e12a9c881 Updated submodule to HEAD of clickhouse branch [#CLICKHOUSE-2]. 2017-11-21 03:30:27 +03:00
Alexey Milovidov
f6f77f5f0b Fixed linking [#CLICKHOUSE-2]. 2017-11-20 08:22:07 +03:00
Alexey Milovidov
4565e30339 Updated submodule [#CLICKHOUSE-2]. 2017-11-20 08:08:53 +03:00
Alexey Milovidov
a7d4fef0d2 Removed useless code [#CLICKHOUSE-2]. 2017-11-20 07:21:14 +03:00
Alexey Milovidov
01e8adbfff Removed "experimental" namespace [#CLICKHOUSE-2]. 2017-11-20 07:15:43 +03:00
Alexey Milovidov
2f2e029e73 Updated Poco submodule [#CLICKHOUSE-2]. 2017-11-19 22:50:07 +03:00
Pavel Yakunin
bb967007ff merged master 2017-11-19 10:55:46 +03:00
Alexey Milovidov
8517251ebd Improved performance of toString function of Date and DateTime arguments [#CLICKHOUSE-2]. 2017-11-18 02:45:49 +03:00
proller
829a70f256 Fix submodule contrib/poco 2017-11-18 02:23:55 +03:00
Alexey Milovidov
8e362ba641 Fixed build [#CLICKHOUSE-2]. 2017-11-17 23:48:00 +03:00
proller
ae6c7f6db9 Fix poco warnings 2017-11-17 16:13:53 +03:00
Alexey Milovidov
c060e9b87a Removed useless file [#CLICKHOUSE-2]. 2017-11-17 00:11:46 +03:00
Vitaliy Lyudvichenko
ab0aff8709 Fixed SummingMergeTree. [#CLICKHOUSE-2] 2017-11-16 23:48:39 +03:00
Alexey Milovidov
a1c0de494c Fixed build [#CLICKHOUSE-2]. 2017-11-12 21:46:38 +03:00
proller
dd1fbf9405 Poco submodule: Fix wrong no-warning option 2017-11-03 18:46:39 +03:00
proller
a6f9d190a5 Remove contrib/libcctz 2017-11-03 15:57:08 +03:00
proller
702c68959a contrib: cctz as submodule. update cctz. 2017-11-03 00:34:32 +03:00
proller
d940d1713c Cmake: silent poco warnings, use compiler version defenition by cmake (#1440)
Cmake: silent poco warnings, use compiler version definition by cmake
2017-11-03 00:30:27 +03:00
proller
dadb32d042 Fix freebsd build (#1428)
* Fix compile with boost 1.65.1+ and clang 3.8 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222439 )

* Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa)

* Fix freebsd build

* Fix build with installed system cityhash
2017-10-31 22:45:58 +03:00
Alexey Milovidov
af89b95f6d Purging old logs or truncating current log file when there are no space left on device with logs [#CLICKHOUSE-3387]. 2017-10-27 21:26:53 +03:00
proller
1130d479d9 Fix submodules 2017-10-27 16:33:35 +03:00
Vitaliy Lyudvichenko
2dd26349fb Update docs. [#CLICKHOUSE-3] 2017-10-27 16:07:59 +03:00
proller
e6fc02b542 Fix contrib/zstd build 2017-10-27 15:56:33 +03:00
proller
67b406dfb9 Fix contrib/zstd build 2017-10-27 15:14:03 +03:00
proller
12c518c6fa Fix submodules 2017-10-27 01:15:56 +03:00
Alexey Milovidov
a27981b4ef Get rid of double whitespaces [#CLICKHOUSE-2]. 2017-10-26 21:36:23 +03:00
proller
00c995bffc Update submodule contrib/poco 2017-10-25 01:03:37 +03:00
proller
f5853a7af6 Fix revision of submodule contrib/librdkafka 2017-10-25 00:56:24 +03:00
alexey-milovidov
8c327e9378 Revert "Make gperftools (libtcmalloc) as submodule and update. (#1381)"
This reverts commit fa2484ea90.
2017-10-24 22:18:15 +03:00
proller
fa2484ea90 Make gperftools (libtcmalloc) as submodule and update. (#1381)
* Update tcmalloc and make submodule

* wip

* wip

* wip

* wip

* clean

* fix

* fix

* fix

* Fix tests
2017-10-24 22:11:42 +03:00
proller
2d2a4afa3f Fix stripping debug info from huge .o (-g0) 2017-10-24 16:30:44 +03:00
Marek Vavruša
a494491f47 contrib: updated librdkafka to v0.11.1@3401fa1
This is the last version with CMake fixes from @proller
2017-10-23 20:47:33 +03:00
proller
ddb0dcd2fd Increase default maximum size of brtie dictionary to 128m ips (#1364)
* Increase default maximum size of brtie dictionary to 128m ips
pbuilder: use newer cmake on ubuntu trusty

* no cmake
2017-10-23 20:19:15 +03:00
Alexey Milovidov
d77686685a Using PODArray instead of std::vector in ZooKeeper library [#CLICKHOUSE-2]. 2017-10-23 18:08:31 +03:00
proller
0eb833c433 Fix tcmalloc compile with old clang 2017-10-18 15:24:56 +03:00
proller
4c7850fdc2 Optional kafka (#1355)
* Zookeeper include fix

* Update submodule contrib/poco

* Fix zookeeper submodule ho-to-make doc

* Update zookeeper submodule

* Update submodule zookeeper

* Fix compile with external zookeeper

* Optional kafka

* fix

* Fix

* fix
2017-10-14 03:53:01 +03:00
proller
142da9550e Fix zookeeper submodule and how-to-make doc (#1354)
* Zookeeper include fix

* Update submodule contrib/poco

* Fix zookeeper submodule ho-to-make doc

* Update zookeeper submodule

* Update submodule zookeeper
2017-10-14 01:53:57 +03:00
alexey-milovidov
9ccdb5420b Merge branch 'master' into upstream-add-kafka 2017-10-13 23:52:42 +03:00
proller
5af5c8d1a7 Update submodule contrib/poco 2017-10-13 23:37:41 +03:00
Alexey Milovidov
b586e2771e Removed old files after creating a submodules [#CLICKHOUSE-2]. 2017-10-13 23:03:44 +03:00
proller
14d9a91b6e Update submodule contrib/poco (warning fixes) 2017-10-13 22:54:22 +03:00
alexey-milovidov
e1e65d7298 Update CMakeLists.txt 2017-10-13 22:24:37 +03:00
proller
4844c99d9d zookeeper 3.4.10 as submodule (#1304)
* zookeeper 3.4.10 as submodule

* fix

* Apply patch
2017-10-13 22:02:41 +03:00
proller
64194c9b03 Updating poco and making submodule (#1263)
* Updating poco part 1: use submodule

* switch to tmp submodule

* update submodule

* wip

* wip

* wip

* wip

* wip

* fix

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* test

* wip

* wip

* wip

* wip

* wip

* wip

* Remove werror

* wip

* wip

* wip

* wip

* wip

* Block pipe signal

* Update poco

* Update and fix poco

* Better sigpipe handler

* Better block sigpipe

* Update BaseDaemon.cpp
2017-10-13 21:58:19 +03:00
proller
fd072b58bb zstd, lz4 as submodule (#1214)
* Contrib: use zstd, lz4 as submodule

* fix shared build

* re-test me.

* wip

* Update CHANGELOG_RU.md

* Update CHANGELOG.md

* Update CHANGELOG_RU.md

* Whitespaces [#CLICKHOUSE-2].

* Implemented TODO [#CLICKHOUSE-2].

* Whitespaces [#CLICKHOUSE-2].

* Remove wrong test

* Implemented TODO [#CLICKHOUSE-2].

* Moved chown to correct place [#CLICKHOUSE-2].

* Resolves #1273. Exception safe users update. [#CLICKHOUSE-3]

* Less noisy logging. [#CLICKHOSUE-2]

* Add metrics for RWLockFIFO. [#CLICKHOUSE-3246]

* Executable dictionaries: fail if program returns non zero exit code (#CLICKHOUSE-3171)

* Add better logging if OPTIMIZE cannot be executed. [#CLICKHOUSE-2]

* test me

* Fixing documentation fragment about "default" user. It is not mandatory anymore.

* append yurial/clickhouse-client to docs/interfaces

* Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].

* Removed tcp_ssl_port by default [#CLICKHOUSE-2].

* Update MergeTreeDataMerger.cpp

* Update ShellCommand.cpp

* Disable part sendings and fetches before ALTER. [#CLICKHOUSE-3343]

* Update ExecutableDictionarySource.cpp

* Update ExecutableDictionarySource.cpp

* Miscellaneous changes after merge [#CLICKHOUSE-2].

* Improve tests: allow redefine some values (clickhouse path, ports, ...)

* Received signal Segmentation fault (#1300) (#1302)

* Received signal Segmentation fault (#1300)

* Add test

* Tests: Use new possibly redefined values from env (in 2 tests)

* Proper fix for the issue: better exception message [#CLICKHOUSE-2].

* Split GatherUtils.cpp for faster compile (#1312)

* Split GatherUtils.cpp for faster compile

* remove GatherUtils.cpp

* Fix array writing (#1314)

* changed MergedBlockOutputStream [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* disabled checkNoMultidimensionalArrays [#CLICKHOUSE-3341]

* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]

* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]

* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]

* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]

* added test [#CLICKHOUSE-3341]

* fixed test [#CLICKHOUSE-3341]

* refactoring and comments [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* Update ColumnArray.h

* Update ActionBlocker.h

* Fix section tabulation

* Fixed infinite recursion in expression analyzer. [#CLICKHOUSE-3125]

* Update ActionBlocker.h

* Improvement [#CLICKHOUSE-2].

* Try fix strange terminate (#1329)

* Tests: External: rename --use_http  => --no_http and fix

* Try fix strange terminate

* Misc [#CLICKHOUSE-2].

*  Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa) (#1333)

* Fix compile with boost 1.65.1+ and clang 3.8 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222439 )

* Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa)

* Fix complex queries with GLOBAL IN and UNION ALL  (#CLICKHOUSE-3356) (#1339)

* TEST only: why initQueryAnalyzer ?

* Better tests

* missing file

* Missing file

* Add test

* Test fixes

* Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].

* Removed tcp_ssl_port by default [#CLICKHOUSE-2].

* Better tests

* comment

* clean

* REmove wrong code

* clean

* dbms: Added compression level for ZSTD. [#METR-26742]

* dbms: CompressionSettingsSelector. [#METR-21516]

* dbms: Minor fix. [#METR-21516]

* Fix SummingMergeTree argument checking logic.

This patch fixes the Nested Column Name checking logic, which allows nested
columns be explicitly specified in SummingMergeTree engine.
2017-10-13 21:52:23 +03:00
Marek Vavruša
011658bb02 contrib: include librdkafka as submodule 2017-10-10 08:33:00 -07:00
Vladimir Chebotarev
07c964ef3b contrib: Fixed unwind build under GCC 7. [#METR-21516]
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81712 .
2017-09-28 23:28:37 +03:00
proller
7d0e5e786e Compile fixes 2017-09-24 15:41:29 +03:00
proller
a355256dd6 Revert "Removed build of shared library and test executables for libzlib-ng [#CLICKHOUSE-2]."
This reverts commit c208220566.
2017-09-18 15:44:54 +03:00
Alexey Milovidov
094c18bb46 Fixed error in boost::filesystem: NULL pointer dereference (reproduced with increased inline-depth in clang) [#CLICKHOUSE-2]. 2017-09-15 16:26:50 +03:00
Alexey Milovidov
c208220566 Removed build of shared library and test executables for libzlib-ng [#CLICKHOUSE-2]. 2017-09-15 12:51:56 +03:00
Alexey Milovidov
104c6d9ddf Fixed warning in Poco [#CLICKHOUSE-2]. 2017-09-11 08:33:36 +03:00
Alexey Milovidov
93f1e274fb Removed unused code from pcg-random, that generates compiler warning by default [#CLICKHOUSE-2]. 2017-09-10 01:43:11 +03:00
Alexey Milovidov
0c41b87647 Fixed insignificant error in Poco, shown by TSan [#CLICKHOUSE-2]. 2017-09-10 01:26:01 +03:00
Alexey Milovidov
2e74123075 Fixed insignificant error in Poco, shown by TSan [#CLICKHOUSE-2]. 2017-09-09 07:08:04 +03:00
Alexey Milovidov
b5c6bb6416 Removed boost::random library [#CLICKHOUSE-3174]. 2017-09-09 03:01:29 +03:00
Alexey Milovidov
f9679a40b1 Added README describing source of imported pcg-random library [#CLICKHOUSE-3174]. 2017-09-09 02:57:52 +03:00
Alexey Milovidov
7896e9d65f Imported pcg-random library (Reason: rng with small size of state, fast initialization, good performance and quality, with interface compatible with C++ standard library. Cause: boost::random::taus88 in latest Boost 1.65 is incompatible with C++17 standard) [#CLICKHOUSE-3174]. 2017-09-09 02:43:28 +03:00
Alexey Milovidov
57d244d739 Removed usage of deprecated C++ feature [#CLICKHOUSE-3174]. 2017-09-08 23:24:11 +03:00
Alexey Milovidov
88e2dd9d74 Added missing file [#CLICKHOUSE-3282]. 2017-09-07 06:47:18 +03:00
Alexey Milovidov
17edcdec96 Updated zstd to version 1.3.1, properly [#CLICKHOUSE-3277]. 2017-09-07 06:33:53 +03:00
Alexey Milovidov
14d5149293 Added missing files [#CLICKHOUSE-3276]. 2017-09-04 22:33:17 +03:00
Alexey Milovidov
8971967651 Added missing files [#CLICKHOUSE-3276]. 2017-09-04 22:31:23 +03:00
Alexey Milovidov
b4d7d8f1de Added missing files [#CLICKHOUSE-3276]. 2017-09-04 22:30:52 +03:00
Alexey Milovidov
6901e80c4c Updated boost; added boost geometry [#CLICKHOUSE-3276]. 2017-09-04 21:56:02 +03:00
proller
f68a0ea63b Fix mysql includes and remove libmariadb submodule (#1185)
* Use bundled libmariadbclient (CLICKHOUSE-3261)

* wip

* wip

* wip

* Update docs about git clone. move docs/en/development/build_*.sh -> utils/build/build_debian.sh

* Fix mysql includes

* Cmake: don't install mariadb targets

* Fix generated includes

* Disable mysql tests

* cmake: mariadb fixes

* Fix

* Update find_mysqlclient.cmake

* Fix zlib

* Remove bundled contrib/mariadb-connector-c

* fix

* Fix build

* Fix includes
2017-09-04 20:04:33 +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
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
Hiroaki Nakamura
2d12fea90f Update zstd to 1.3.1 2017-08-24 16:24:33 +03:00
proller
c351b367fb Fix sparcehash include (#1084)
* Fix sparcehash include

* Fix re2_st include
2017-08-10 02:11:28 +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
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
proller
465d305479 gcc7 and arm fixes (#1041)
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers

* Missing file

* gcc7 fixes

* clnag-format of Split ComplexKeyCacheDictionary

* Requested changes

* Fix boost 1.64 and gcc7+ compile errors

* More fixes

* Fix arm build

* Fix nothrow

* Better arm detection
2017-07-29 22:58:10 +03:00
Alexey Zatelepin
8763567e9a fix metrohash build when sse4.2 is disabled 2017-07-24 15:50:02 +03:00
proller
b172f7a0f1 Cmake: clear test variables with CMakePushCheckState (it will fix macos build issue) (#992) 2017-07-17 17:21:43 +03:00
Alexey Milovidov
632d9188cf Applied a patch from Jeff Frasca about file permissions [#CLICKHOUSE-3]. 2017-07-11 04:24:07 +03:00
Георгий Кондратьев
bf3736c55e Fix libunwind config
`#ifdef HAVE_LZMA` check in `contrib/libunwind/src/elfxx.c` expects `HAVE_LZMA`
to be undefined.
2017-06-27 11:53:56 +03:00
proller
2d359fee54 Make libunwind optional. Allow use custom libcctz (#920)
* Make libunwind optional. Allow use custom libcctz

* fix

* Fix

* fix

* Update BaseDaemon.cpp

* Update CMakeLists.txt
2017-06-23 17:41:07 +03:00
Alexey Milovidov
8ef94aa82d Fix for Mac OS [#CLICKHOUSE-3094]. 2017-06-23 08:46:04 +03:00
Alexey Milovidov
aac1a18811 Added CMakeLists for libunwind [#CLICKHOUSE-3094]. 2017-06-23 08:30:50 +03:00
Alexey Milovidov
65753deb7e Using libunwind for stack trace from signal handler [#CLICKHOUSE-3094]. 2017-06-23 08:16:34 +03:00
Alexey Milovidov
a86f72189a Added README for libunwind [#CLICKHOUSE-3094]. 2017-06-23 08:13:39 +03:00
Alexey Milovidov
2aec6efddc Imported unwind library from https://github.com/libunwind/libunwind, rev. 2934cf40529e0261801a4142fabae449a65effd0 [#CLICKHOUSE-3094]. 2017-06-23 08:12:40 +03:00
Alexey Milovidov
6df5d556e5 Changed namespace [#DEVTOOLS-3381]. 2017-06-21 11:35:38 +03:00
Alexey Milovidov
604de2bfeb Better [#DEVTOOLS-3381]. 2017-06-21 04:24:05 +03:00
Георгий Кондратьев
a736ef618a Put ClickHouse variant of CityHash into DB namespace [#DEVTOOLS-3381]
This avoids symbol conflict when linking external applications that use another
variant of CityHash in the global namespace with ClickHouse libraries.
2017-06-20 12:25:16 +03:00
Alexey Milovidov
2af2ddfcb2 Added missing file [#CLICKHOUSE-31]. 2017-06-13 07:14:22 +03:00
proller
1338b03438 Fix freebsd and macos build (contrib/libbtrie) (#806)
* Try fix freebsd 11-STABLE OCbuild

* Fix freebsd and macos build (contrib/libbtrie)
2017-05-17 21:45:44 +04:00
Marek Vavruša
9520234365 Dictionaries/TrieDictionary: IP prefix dictionary
This commit implements a basic IP prefix dictionary
that allows storing IPv4/IPv6 prefixes and
matching them against a single IP address on query
time. This allows for doing IP -> ASN matching and
other similar things on query time.

The implementation is basic for start, using a
simple bitwise trie and reusing interface for
complex key dictionaries (so using tuple instead
of UInt32/FixedString(16) as the key). A faster
bitwise trie implementation (like poptrie) is
desired to improve lookup performance and
memory consumption with large prefix tables.
2017-05-15 10:51:03 +04:00
ivanzhukov
f33494ffe2 Add missing liblz4 header file 2017-05-07 00:10:25 +03:00
kmeaw
6b9fbd2095 Update lz4 library to the latest stable version (1.7.5, 2016-11-28) 2017-05-06 10:48:30 -04:00
Marek Vavruša
d2d7aaac69 contrib/libpoco: update Crypto to last stable
the last stable version 1.7.8 fixes build with
newer OpenSSL that’s in most of the distribution
2017-05-03 23:09:52 -07:00
Alexey Milovidov
5e969e70bc Removed useless code from re2 library build [#CLICKHOUSE-2]. 2017-04-18 00:11:12 +03:00
proller
5996800a73 Fix compiler option -Wno-dynamic-exception-spec 2017-04-17 18:57:50 +03:00
proller
d2b070bb40 Remove compiler option -Wno-dynamic-exception-spec [#CLICKHOUSE-2951] 2017-04-17 17:52:43 +03:00
proller
e3f0ff3c70 tcmalloc: add -Wno-dynamic-exception-spec 2017-04-11 16:30:49 +03:00
proller
29d4471b9d Fix build in gcc7 (#641)
* Fix build in gcc7

* try reduce warn area

* better fix
2017-03-31 08:09:11 +03:00
Vitaliy Lyudvichenko
2ab25099cd Move boost::tests to Google Tests. [#CLICKHOUSE-2] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
15254f91d2 Improve CMakeLists.txt for tests. [#CLICKHOUSE-2] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
253a0a55fe Add GoogleTest 1.7 framework for unit tests. [#CLICKHOUSE-2] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
19a2195710 Implemented re-readable buffers, add unit tests. [#CLICKHOUSE-2070] 2017-03-28 20:46:16 +03:00
proller
0b5731bc59 Try fix "Conditional jump or move depends on uninitialised value(s)" in cctz 2017-03-17 21:38:11 +04:00
Alexey Zatelepin
98a866ee5b split a single large SET_WATCHES message into multiple smaller ones [#CLICKHOUSE-2101]
See https://issues.apache.org/jira/browse/ZOOKEEPER-706 for details.
2017-03-15 23:44:24 +04:00
proller
e96092c66c Freebsd fixes (#555)
* freebsd fixes

* Update SocketImpl.cpp
2017-03-04 05:58:45 +04:00
proller
0e91c47066 Allow build with external double-conversion lz4 zstd re2 zookeeper (#531)
* Allow build with external double-conversion lz4 zstd re2 zookeeper

* fix

* fix

* freebsd fixes

* spaces

* fix

* fix

* fix

* wip

* move

* fix
2017-03-01 03:49:04 +04:00
proller
9bbe8fe5c4 Dynamic library mode (#471)
* Cmake: UNBUNDLED option

* Dynamic library mode
2017-02-08 22:53:00 +04:00
proller
045fd6f55d fix build without readline 2017-02-08 01:40:08 +03:00
proller
f87ae6808f cmake: USE_INTERNAL_ZLIB_LIBRARY (#463)
* Correct fix of building with external poco with disabled sending progress

    Revert "Removed wrong code [#CLICKHOUSE-2]."

    This reverts commit 33f9917f53.

* fix

* fix

* cmake: USE_INTERNAL_ZLIB_LIBRARY
2017-02-08 01:28:13 +04:00
proller
5a9c317b65 Freebsd: libcctz build fix 2017-02-02 19:16:38 +03:00
Alexey Milovidov
c903a23864 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 19:12:30 +03:00
Alexey Milovidov
93bbaf0e70 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:49:26 +03:00
Alexey Milovidov
3476e4d4c4 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:48:53 +03:00
Alexey Milovidov
b2457e076a Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:42:42 +03:00
Alexey Milovidov
a2380fc86b Poco: allow sending and flushing individual HTTP headers [#CLICKHOUSE-32]. 2017-01-22 18:02:24 +03:00
Alexey Milovidov
eec6c54ce1 cctz: removed useless file from build [#CLICKHOUSE-2]. 2017-01-21 07:36:34 +03:00
Alexey Milovidov
ed60f63e26 Added CCTZ to build [#CLICKHOUSE-2]. 2017-01-21 04:24:35 +03:00
Alexey Milovidov
2b311d49e9 Imported CCTZ library from 90ef68be6d [#CLICKHOUSE-2]. 2017-01-21 04:13:22 +03:00
proller
2688f4563f cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config (#375)
* Manual version update to [54135]

* Temporary release script fix [#METRIQA-732]

* cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config
2017-01-20 21:58:07 +04:00
proller
f63a3ab167 Fix some errors in apple build (#362)
Fix some errors in apple build
2017-01-18 20:16:35 +03:00
proller
f7c0998599 fix clang build (#353)
* Freebsd clang3.8 compile fixes

* clean

* fix

* fix clang build
2017-01-18 02:48:01 +04:00
proller
29475c94c0 Reorganize includes, less depends in .h files 2017-01-16 22:47:11 +03:00
proller
718b765742 Fix no-pie with clang 2017-01-16 19:29:11 +03:00
Alexey Milovidov
a3d59db251 Fixed error on clang [#CLICKHOUSE-2]. 2017-01-14 12:12:16 +03:00
Alexey Milovidov
e8d7641316 Fixed warning on clang [#CLICKHOUSE-2]. 2017-01-14 12:05:56 +03:00
proller
e2bc0c7471 Add -no-pie flag to linker in static mode 2017-01-13 23:11:21 +03:00
proller
c601dacf31 arm64 compile fix 2017-01-13 22:01:45 +03:00
alexey-milovidov
56743008dd Merge pull request #317 from proller/libs
Allow link with external libs: poco, tcmalloc
2017-01-13 21:39:23 +04:00
proller
2a6a4657be Fix compiling zlib-ng on arm64 (#331)
Fix compiling zlib-ng on arm64
2017-01-13 15:41:25 +03:00
proller
ee3882f251 Allow link with external libs: poco, tcmalloc 2017-01-13 14:25:44 +03:00
proller
ecb7642c4f Freebsd: preparing port, misc build/install chandes 2017-01-12 13:51:30 +00:00
proller
4df7b19c44 fix test_anl.cmake for old cmake 2017-01-11 16:41:39 +03:00
proller
8cbed35e0d Fix finding libanl (missing pthread) 2017-01-11 13:53:30 +03:00
proller
0df043fcec fix static linking with libanl.a on ubuntu 16.10 2017-01-09 19:32:41 +03:00
Alexey Zatelepin
b87f2dbac6 turn off new quick zlib strategy [#METR-23582] 2017-01-09 16:52:41 +03:00
Alexey Zatelepin
c1e8b674e0 add missing zlib include dir [#METR-23582] 2017-01-09 16:07:42 +03:00
artpaul
d0961238b9 fix build; error was 'add_intrinsics_option Macro invoked with incorrect arguments for macro' 2017-01-09 13:32:45 +05:00
Alexey Zatelepin
1b61f2a9d3 use zlib-ng from contrib everywhere [#METR-23582] 2017-01-08 22:24:38 +03:00
Alexey Zatelepin
7b3f4adcc1 add libzlib-ng/README.clickhouse [#METR-23582] 2017-01-08 21:26:53 +03:00
Alexey Zatelepin
89daba2cfb adopt zlib-ng CMakeLists.txt from ad8868ab0e/CMakeLists.txt [#METR-23582] 2017-01-08 21:26:30 +03:00
Alexey Zatelepin
8f74b844fc import zlib-ng sources from 343c4c5491 [#METR-23582] 2017-01-08 21:26:03 +03:00
proller
ca9c4bbdbb Dont use tcmalloc TCMALLOC_AGGRESSIVE_DECOMMIT patch 2016-12-28 03:47:46 +03:00
proller
4bc003c4c1 Porting to freebsd: initial, compile ok, most tests ok. 2016-12-24 01:03:10 +00:00
proller
d9e81f858d silent "variable not used" warning 2016-12-21 15:49:38 +03:00
proller
2443531dd0 Misc build fixes: boost warning, boost minimum version, shared libanl 2016-12-20 21:45:32 +03:00
proller
b5ba772839 Dont build internal boost if USE_INTERNAL_BOOST_LIBRARY=FALSE 2016-12-20 16:48:32 +03:00
Alexey Milovidov
982611da78 Fixed logical error in name of variable in CMakeLists [#METR-2944]. 2016-12-18 21:58:16 +03:00
artpaul
de25eee339 remove DBOOST_SYSTEM_NO_DEPRECATED from libboost 2016-12-18 12:29:45 +05:00
Vladimir Chebotarev
717d185ce8 libre2: Avoid generation of include files each configuration phase. [#METR-21516] 2016-12-13 12:48:49 +03:00
Alexey Milovidov
e8e627328b Added relaxed option for boost [#METR-2944]. 2016-12-12 21:24:27 +03:00
Vitaliy Lyudvichenko
876ad28dd8 Merge remote-tracking branch 'origin/master' into metrics_refinement 2016-12-12 19:17:23 +03:00
Alexey Milovidov
5b857d5ae6 Added README [#METR-2944]. 2016-12-12 08:41:34 +03:00
Alexey Milovidov
d605bfdc9d Using internal boost library [#METR-2944]. 2016-12-12 07:57:09 +03:00
Alexey Milovidov
ce16083ece Using internal boost library [#METR-2944]. 2016-12-12 07:33:33 +03:00
Alexey Milovidov
fe2bafbbab Using internal boost library [#METR-2944]. 2016-12-12 07:29:36 +03:00
Alexey Milovidov
3c80ee723f Using internal boost library [#METR-2944]. 2016-12-12 07:27:12 +03:00
Alexey Milovidov
239eec99a7 Using internal boost library [#METR-2944]. 2016-12-12 07:25:00 +03:00
Alexey Milovidov
7ee104fbc8 Using internal boost library [#METR-2944]. 2016-12-12 07:24:32 +03:00
Alexey Milovidov
875d95fbd3 Using internal boost library [#METR-2944]. 2016-12-12 07:24:06 +03:00
Alexey Milovidov
53a0427967 Using internal boost library [#METR-2944]. 2016-12-12 07:23:44 +03:00
Alexey Milovidov
1cfdede245 Using internal boost library [#METR-2944]. 2016-12-12 07:23:19 +03:00
Alexey Milovidov
51deacfe77 Using internal boost library [#METR-2944]. 2016-12-12 07:22:55 +03:00
Alexey Milovidov
5a39a6de29 Using internal boost library [#METR-2944]. 2016-12-12 07:21:38 +03:00
Alexey Milovidov
5c83473f04 Using internal boost library [#METR-2944]. 2016-12-12 07:21:02 +03:00
Alexey Milovidov
3d98503ea0 Using in-tree boost library [#METR-2944]. 2016-12-12 07:19:55 +03:00
Alexey Milovidov
58a8cff3ae Using internal boost library [#METR-2944]. 2016-12-12 07:17:16 +03:00
Alexey Milovidov
599308aef0 Get rid of obsolete mongodb client library [#METR-23791]. 2016-12-11 12:43:16 +03:00
Vitaliy Lyudvichenko
6540156100 Removed redundant code from CMakeLists. 2016-12-09 13:13:16 +03:00
Alexey Milovidov
ca7d0a4742 Get rid of useless part of library [#METR-20000]. 2016-12-08 22:20:51 +03:00
Alexey Milovidov
684f2a9f34 Removed code with "evil" license [#METR-20000]. 2016-12-08 04:00:04 +03:00
Alexey Milovidov
9331ecd3bf Removed code with "evil" license [#METR-20000]. 2016-12-08 03:58:34 +03:00
Vladimir Chebotarev
ca5c1dc31b cmake: Improved build. [#METR-21516] 2016-12-06 19:51:34 +03:00
Vladimir Chebotarev
bcc5500f91 cmake: More options. [#METR-23701] 2016-12-05 15:43:14 +03:00
Vitaliy Lyudvichenko
4df22acea9 Try to fix LIBTCMALLOC linking. 2016-11-30 15:10:39 +03:00
Alexey Milovidov
12dd6fbe95 Build improvement [#METRIQA-526]. 2016-11-28 18:35:13 +03:00
Vladimir Chebotarev
84ab03a669 libpoco: Removed Poco MySQL binding. [#METR-21516] 2016-11-09 23:36:42 +03:00
Vladimir Chebotarev
cdaece7dfa : More specific usage of static libraries. [#METR-21516] 2016-11-09 21:49:01 +03:00
Vladimir Chebotarev
e2ceb63c54 libcommon, libre2, tools: Fixed build under OS X Sierra. [#METR-21516] 2016-11-03 15:41:13 +03:00