Commit Graph

1249 Commits

Author SHA1 Message Date
Alexey Milovidov
331c1b2360 Suppress warning from CapNProto 2019-12-18 23:01:16 +03:00
Alexey Milovidov
5cc6f9029e Removed garbage 2019-12-18 22:50:49 +03:00
Alexey Milovidov
b13472f617 Including Roaring Bitmap with -isystem 2019-12-18 22:41:08 +03:00
Alexey Milovidov
34c602c18f Fixed linking order issues 2019-12-18 20:22:51 +03:00
Alexey Milovidov
9a60220345 Treat libbtrie as system library 2019-12-18 19:42:38 +03:00
Alexey Milovidov
8b63ab61b5 Update submodule 2019-12-18 19:22:05 +03:00
Alexey Milovidov
a625df8d46 Removed unused directives from CMakeLists 2019-12-18 19:16:11 +03:00
Alexey Milovidov
0576a58525 Fixed build 2019-12-18 19:11:56 +03:00
Alexey Milovidov
07df03a5e0 Removed garbage 2019-12-18 18:04:43 +03:00
Alexey Milovidov
25f2830e5e Removed garbage 2019-12-18 17:50:32 +03:00
Alexey Milovidov
d279009403 Lower debug info size 2019-12-18 17:46:15 +03:00
Alexey Milovidov
366e8461cb Don't include debug info 2019-12-18 07:58:26 +03:00
alexey-milovidov
fcbd76815c
Merge branch 'master' into update-llvm-bisect 2019-12-18 04:22:10 +03:00
Alexey Milovidov
a725977306 Updated LLVM submodule 2019-12-18 03:15:43 +03:00
alexey-milovidov
a7384b4d07
Merge branch 'master' into MoreGCCWarnings 2019-12-18 02:01:39 +03:00
Matwey V. Kornilov
8ba0168250 Update contrib/protobuf 2019-12-17 21:15:33 +03:00
alexey-milovidov
76d876d4bf
Merge pull request #8243 from amosbird/jemalloc-fix
Fix misconfigured jemalloc
2019-12-17 19:48:25 +03:00
Amos Bird
937d0ab8fb
Fix misconfigured jemalloc 2019-12-17 14:22:29 +08:00
kreuzerkrieg
9612bb0e79 More GCC warnings 2019-12-16 23:19:50 +02:00
Alexey Milovidov
0e618ecbde Strip CFI from OpenSSL ASM code 2019-12-16 20:56:37 +03:00
Alexey Milovidov
c7bb052506 Revert "Fixed performance test"
This reverts commit 49fd9c41d0.
2019-12-16 20:45:27 +03:00
Pavel Kovalenko
d04f38fb9c Fix quiet mode for curl. 2019-12-16 14:13:33 +03:00
Alexey Milovidov
59278d98d7 Update OpenSSL 2019-12-16 04:23:57 +03:00
Alexey Milovidov
7ea2f4c01e Merge branch 'master' of github.com:yandex/ClickHouse 2019-12-16 04:21:19 +03:00
Alexey Milovidov
49fd9c41d0 Fixed performance test 2019-12-16 04:21:09 +03:00
Alexey Milovidov
31326a2555 Suppress trash in build log 2019-12-16 01:35:44 +03:00
alexey-milovidov
5269216ced
Merge pull request #8218 from ClickHouse/libressl-to-openssl
Switched from libressl to openssl
2019-12-15 20:47:41 +03:00
Alexey Milovidov
b02da899b5 Avoid dependency on too new libc 2019-12-15 19:22:25 +03:00
Alexey Milovidov
ec60d144d0 Avoid dependency on too new libc 2019-12-15 19:13:09 +03:00
Alexey Milovidov
677ca84824 Silent warnings about unused command line args when building ASM source 2019-12-15 09:18:08 +03:00
Alexey Milovidov
a9b37c0508 Fixed error 2019-12-15 09:09:16 +03:00
Alexey Milovidov
4339278fbd Fixed error 2019-12-15 09:04:25 +03:00
Alexey Milovidov
b11f95aed5 Fixed error 2019-12-15 09:02:36 +03:00
Alexey Milovidov
55eb1b7fb3 Fixed error 2019-12-15 08:47:36 +03:00
alexey-milovidov
eba9d1e47b
Merge pull request #8220 from ClickHouse/fix-warnings-capnproto
Silent warnings in CapNProto
2019-12-15 08:39:18 +03:00
Alexey Milovidov
47d9209ebb Merge branch 'master' into libressl-to-openssl 2019-12-15 08:19:56 +03:00
Alexey Milovidov
3c349561dc Added comments 2019-12-15 08:19:14 +03:00
Alexey Milovidov
718ded7a3f Added AARCH64 build for OpenSSL 2019-12-15 08:18:54 +03:00
Alexey Milovidov
7bba07d5f4 Added AARCH64 build for OpenSSL 2019-12-15 08:14:50 +03:00
Alexey Milovidov
d13b4fea67 Silent warnings in CapNProto 2019-12-15 07:21:37 +03:00
Alexey Milovidov
b59bfb51a1 Fixed error 2019-12-15 06:11:42 +03:00
Alexey Milovidov
09a0223f81 Preparation to build ICU from sources 2019-12-15 06:00:53 +03:00
Alexey Milovidov
85f4dba2e6 Preparations for AArch64 build 2019-12-15 05:34:29 +03:00
Alexey Milovidov
beb49df315 Avoid dependency on too new libc 2019-12-15 04:50:52 +03:00
Alexey Milovidov
05e299eed5 Fixed build 2019-12-15 04:32:32 +03:00
Alexey Milovidov
c303d0b6fc Fixed build with DEVRANDOM 2019-12-15 04:28:29 +03:00
Alexey Milovidov
c7cd1e8c20 Fixed CMakeLists 2019-12-15 01:43:08 +03:00
Alexey Milovidov
494e1a31df Fixed error 2019-12-14 19:47:13 +03:00
Alexey Milovidov
47b4935396 Update CMakeLists for OpenSSL 2019-12-14 06:47:49 +03:00
Alexey Milovidov
1986378e00 Update CMakeLists for OpenSSL 2019-12-14 06:40:58 +03:00
Alexey Milovidov
c7e6116fd5 Update CMakeLists for OpenSSL 2019-12-14 06:33:20 +03:00
Alexey Milovidov
e28ceb2b57 Update CMakeLists for OpenSSL 2019-12-14 06:28:48 +03:00
Alexey Milovidov
2ac51c29e4 Update CMakeLists for OpenSSL 2019-12-14 06:18:11 +03:00
Alexey Milovidov
9215a2f8e0 Update CMakeLists for OpenSSL 2019-12-14 06:06:17 +03:00
Alexey Milovidov
807131dcb0 Update CMakeLists for OpenSSL 2019-12-14 05:58:41 +03:00
Alexey Milovidov
974d6f3bb0 Replaced libressl with openssl 2019-12-14 05:28:12 +03:00
Alexey Milovidov
3b088240f8 Fixed UBSan report when connecting to https://yandex.ru/ 2019-12-14 03:01:23 +03:00
alexey-milovidov
93a4db1e2d
Merge pull request #8206 from ClickHouse/aku/zlib-msan
Update zlib-ng.
2019-12-13 22:21:40 +03:00
Alexander Kuzmenkov
bb1efcb31d Update zlib-ng. 2019-12-13 18:36:46 +03:00
Pavel Kovalenko
67b463a027 CMake curl build quiet mode. 2019-12-13 15:52:22 +03:00
alexey-milovidov
27e6037110
Merge pull request #8181 from ClickHouse/aku/lz4-msan
Update lz4 to see if it fixes an msan failure.
2019-12-13 02:31:25 +03:00
Alexander Kuzmenkov
51c1a120b8 Update lz4 to see if it fixes an msan failure.
The failure goes like this:

https://clickhouse-test-reports.s3.yandex.net/7946/1f69a7a015468099b7395ce3b96fb638b9830e0b/functional_stateless_tests_(memory)/stderr.log

```
==199==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x2009fc34 in LZ4_count /build/obj-x86_64-linux-gnu/../contrib/lz4/lib/lz4.c:541:13
    #1 0x2009fc34 in LZ4_compress_generic /build/obj-x86_64-linux-gnu/../contrib/lz4/lib/lz4.c:999
    #2 0x2009fc34 in LZ4_compress_fast_extState /build/obj-x86_64-linux-gnu/../contrib/lz4/lib/lz4.c:1140
    #3 0x200ac663 in LZ4_compress_fast /build/obj-x86_64-linux-gnu/../contrib/lz4/lib/lz4.c:1211:14
    #4 0x200ac663 in LZ4_compress_default /build/obj-x86_64-linux-gnu/../contrib/lz4/lib/lz4.c:1222
    #5 0x1b76d2e8 in DB::CompressionCodecLZ4::doCompressData(char const*, unsigned int, char*) const /build/obj-x86_64-linux-gnu/../dbms/src/Compression/CompressionCodecLZ4.cpp:45:12
```
2019-12-12 20:55:27 +03:00
alexey-milovidov
51ed10ed78
Merge pull request #8011 from Jokser/aws-s3-sdk-integration
AWS SDK S3 integration
2019-12-12 20:43:16 +03:00
Pavel Kovalenko
988e4e4390 AWS SDK integration - add patch file for original curl CMakeLists.txt 2019-12-12 20:08:51 +03:00
Pavel Kovalenko
98c5ab5094 AWS SDK integration - set default ca_bundle and ca_path for curl build. 2019-12-12 19:57:37 +03:00
Pavel Kovalenko
980c82a2b5 AWS SDK integration - add curl license and references to original curl CMake files. 2019-12-11 17:31:48 +03:00
alexey-milovidov
309653f60d
Merge pull request #7182 from ClickHouse/aku/zlib-msan
Update zlib-ng to fix MemorySanitizer problems.
2019-12-11 02:15:16 +03:00
Alexey Milovidov
da4631fe31 Updated Poco submodule for #8126 2019-12-10 22:55:14 +03:00
Alexander Kuzmenkov
9e09c419db fixup: update zlib 2019-12-10 19:36:28 +03:00
Pavel Kovalenko
563ef63354 AWS SDK integration - optional openssl for aws_s3. 2019-12-10 18:35:21 +03:00
Pavel Kovalenko
50173584c1 AWS SDK integration - don't use CA in curl build if openssl is disabled. 2019-12-10 17:33:07 +03:00
Pavel Kovalenko
509068c513 AWS SDK integration - curl makefile cleanup. 2019-12-10 16:23:49 +03:00
Pavel Kovalenko
28d4e7db65 AWS SDK integration - build curl manually. 2019-12-10 15:30:39 +03:00
Alexander Kuzmenkov
fc70b03891 Build zlib-ng static lib 2019-12-10 13:15:18 +03:00
Alexander Kuzmenkov
2dafdb9c5e Update zlib-ng to fix MemorySanitizer problems.
See 78406af8241471e7ff5e1ce9eb4d94cea596e863.
2019-12-10 13:15:18 +03:00
Pavel Kovalenko
7142919e8f AWS SDK integration - build curl external project before libcurl library. 2019-12-09 15:51:37 +03:00
Pavel Kovalenko
8e2136dbf5 AWS SDK integration - fixed build for aws-c-common lib. 2019-12-09 14:22:57 +03:00
Pavel Kovalenko
1289966a70 Update submodule heads. 2019-12-09 13:31:59 +03:00
Pavel Kovalenko
a9dfefd37f AWS SDK integration rework. 2019-12-06 17:37:21 +03:00
Nikolai Kochetov
f0dd0de9ec Revert submodule change. 2019-12-06 12:13:36 +03:00
Sergei Shtykov
459bfc314b Merge branch 'master' of github.com:ClickHouse/ClickHouse into en-docs/CLICKHOUSEDOCS-466-query-profiler-settings 2019-12-05 19:54:00 +03:00
Pavel Kovalenko
a9e2327ec0 AWS S3 SDK integration. 2019-12-03 19:23:24 +03:00
alexey-milovidov
febb7f6aca
Merge pull request #7956 from amosbird/hdfsabi
utilize libunwind to achieve better abi-compat
2019-12-02 12:57:55 +03:00
Amos Bird
e12e1ecd13
utilize libunwind to achieve better abi-compat 2019-11-28 18:59:21 +08:00
Amos Bird
2f6643b03c
old kernel hdfs support 2019-11-27 15:14:23 +08:00
alexey-milovidov
9b25e476d7
Merge pull request #7838 from filimonov/issue7383_update_libunwind
Disable DwarfFDECache in libunwind
2019-11-21 00:27:14 +03:00
Mikhail Filimonov
c8def1b29e Updated libunwind and protobuf to fix gcc-9 build and #7114 2019-11-20 17:38:42 +01:00
BayoNet
194c25a2a7 CLICKHOUSEDOCS-466: EN docs for query_profiler* settings. 2019-11-20 12:15:52 +03:00
Vitaly Baranov
db9de2fa0d Update Poco to a new version. 2019-11-19 19:26:41 +03:00
Mikhail Filimonov
5504e3d768 Disable DwarfFDECache in libunwind 2019-11-19 13:04:42 +01:00
alexey-milovidov
5e46576d20
Update CMakeLists.txt 2019-11-02 11:46:35 +03:00
alexey-milovidov
fa3a2bb533
Update CMakeLists.txt 2019-11-01 22:16:03 +03:00
Ernest Poletaev
de1e5d0e53 Fixed compile errors on macOS Catalina 2019-11-01 23:33:43 +07:00
Azat Khuzhin
fe98e90d0d Avoid conflicts of static zlib and mariadb-connector-c zlib
After crc32() had been replaced with crc32_z() the following error will
happen with two different zlib:
  2019-10-25 09:48:42 /usr/bin/ld.gold: error: contrib/zlib-ng/libz.a(crc32.c.o): multiple definition of 'get_crc_table'
  2019-10-25 09:48:42 /usr/bin/ld.gold: contrib/mariadb-connector-c/libmariadb/libmariadbclient.a(crc32.c.o): previous definition here

Fix this by using zlibstatic compiled for and by CH in
mariadb-connector-c, and wrap into function reduce variable scopes.
2019-10-25 23:32:33 +03:00
alesapin
7e5b05bbe8
Revert "Remove hardcoded paths in unwind target" 2019-10-24 23:55:41 +03:00
Konstantin Podshumok
d1a19d26e8
Remove hardcoded paths in unwind target
In most cases they match defaults now, but it is too hard to override when one needs to (alternative builds)
2019-10-23 20:33:40 +03:00
alexey-milovidov
2a9e2ab45c
Merge pull request #7388 from amosbird/ubunaligned
murmurhash32 ubsan fix.
2019-10-19 06:21:20 +03:00
Amos Bird
ecebbbf5a6
murmurhash32 ubsan fix. 2019-10-19 03:25:20 +08:00
Ivan
e595df05d9
Fix CREATE TABLE AS from table with virtual columns (#7183)
* Disable undefined instrumentation for rdkafka
2019-10-17 14:12:35 +03:00
Amos Bird
b0d4baccc8 Enable musl and jemalloc for arm.
Can generate better arm packages.
2019-10-14 00:06:54 +08:00
proller
594c535bd4 Build fixes (#7063)
* Build fixes

*            fix

* Fix

* fix

* Fix install(export..

* Freebsd fixes

* Freebsd fixes

* Fix warning

* fix

* More PRIVATE linking

* Fix review

* Timmy

* fix

* fix
2019-10-05 22:25:31 +03:00
Ivan
381947509a
Fix build for Darwin (#7149)
* Disable some contribs for cross-compilation
* Fix clang-8-darwin build
* Also fix docs
* Add diagnostics
* Check cross-compilation in each file individually.
* Disable warning for clang < 9
2019-10-02 17:35:07 +03:00
Yuriy
c6b18c9fe8 disabled auth_gssapi_client plugin 2019-09-28 03:27:53 +03:00
Yuriy
403b156114 fixed build without glibc-compatibility 2019-09-25 01:30:26 +03:00
Yuriy
dfb762d93c Revert "Revert "Updated MariaDB""
This reverts commit f8b7cc8693.
2019-09-25 01:28:59 +03:00
Yuriy Baranov
f8b7cc8693
Revert "Updated MariaDB" 2019-09-24 05:11:52 +03:00
alexey-milovidov
2f195ddb03
Merge pull request #7028 from abyss7/issue-6459
Implement cross-compilation support Linux → Darwin
2019-09-24 02:20:17 +03:00
alexey-milovidov
4602de0e2c
Merge pull request #6945 from yurriy/mysql
Updated MariaDB
2019-09-24 02:16:12 +03:00
Yuriy
eb0d7073df Merge branch 'mysql' of https://github.com/yurriy/ClickHouse into mysql 2019-09-23 21:03:28 +03:00
Yuriy
2b5d8d53d9 updated mariadb-connector-c 2019-09-23 21:02:57 +03:00
Ivan Lezhankin
ce2fb6d3d1 Fix build 2019-09-23 17:46:01 +03:00
alexey-milovidov
f3ba89ccef
Empty commit to trigger CI 2019-09-23 01:48:21 +03:00
Yuriy
e42e26a453 updated contrib/mariadb-connector-c 2019-09-22 04:57:58 +03:00
Ivan Lezhankin
9e46118edd Merge remote-tracking branch 'upstream/master' into issue-6459 2019-09-20 21:25:55 +03:00
Ivan Lezhankin
967e00a8da It works!
if compiled with:

CC=clang CXX=clang++ cmake -Wno-dev . -Bbuild -GNinja -DCMAKE_AR:FILEPATH=x86_64-apple-darwin-ar -DCMAKE_RANLIB:FILEPATH=x86_64-apple-darwin-ranlib -DCMAKE_SYSTEM_NAME=Darwin -DSDK_PATH=MacOSX10.14.sdk -DLINKER_NAME=x86_64-apple-darwin-ld -DUSE_SNAPPY=OFF -DENABLE_SSL=OFF -DENABLE_PROTOBUF=OFF -DENABLE_PARQUET=OFF -DENABLE_READLINE=OFF -DENABLE_ICU=OFF -DENABLE_FASTOPS=OFF
2019-09-20 20:09:22 +03:00
Azat Khuzhin
780341060f
Replace libsparsehash with sparsehash-c11
- use sparsehash-c11 over libsparsehash
- fix typos in find_sparsehash and users of the vars (s/SPARCE/SPARSE/)
- drop libsparsehash-dev from docker images (but keep for unbunlded build)
- use ::google over GOOGLE_NAMESPACE
2019-09-18 00:08:20 +03:00
Yuriy
89524cff46 link with glibc-compatibility before libm 2019-09-16 05:32:38 +03:00
Yuriy Baranov
2d53ab3f18 Merge remote-tracking branch 'origin/master' into mysql 2019-09-16 01:29:09 +00:00
Yuriy
040e63eba4 disabled tests of mariadb-connector-c 2019-09-16 01:30:55 +03:00
Yuriy
fd0c76131f removed contrib/mariadb-connector-c-cmake 2019-09-15 23:44:34 +03:00
Yuriy
84cfbb8e69 simplified mariadb-connector-c compilation and fixed caching_sha2_password plugin 2019-09-15 23:09:09 +03:00
Ivan Lezhankin
8c356a3830 WIP 2019-09-15 18:20:31 +03:00
Amos Bird
7b30835b13 Fix build error when cmake_minimum_required(3.12) 2019-09-10 20:46:39 +08:00
proller
54a5b801b7 Build fixes (Orc, ...) (#6835)
* Fix build

* cmake: fix cpuinfo

* Fix includes after processors merge

Conflicts:
	dbms/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp
	dbms/src/Processors/Formats/Impl/ParquetBlockOutputFormat.cpp
	dbms/src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp
	dbms/src/Processors/Formats/Impl/ProtobufRowOutputFormat.cpp

* Fix build in gcc8

* fix test link

* fix test link

* Fix test link

* link fix

* Fix includes after processors merge 2

Conflicts:
	dbms/src/Processors/Formats/Impl/ParquetBlockInputFormat.cpp

* Fix includes after processors merge 3

* link fix

* Fix likely/unlikely conflict with cython

* Fix conflict with protobuf/stubs/atomicops.h

* remove unlikely.h

* Fix macos build (do not use timer_t)

* wip

* Fix build (orc, ...)

* Missing files

* Try fix

* fix hdfs

* Fix llvm 7.1 find
2019-09-10 00:40:40 +03:00
Ivan
cd5c0fc9ac
Fix build issues (#6744)
* libcxxabi uses exception handling library as public
* Don't set -stdlib for internal libc++ - it poisons the checks.
* Enable capnproto in unbundled build back
2019-08-30 20:40:27 +03:00
alexey-milovidov
358ad13930
Merge pull request #6715 from yandex/remove-mimalloc
Remove mimalloc
2019-08-30 00:41:33 +03:00
Alexey Milovidov
260b8c7fa7 Removed obsolete directory 2019-08-29 18:32:25 +03:00
Ivan Lezhankin
0e606c790e Fix install of libcxx and libcxxabi 2019-08-29 16:38:18 +03:00
Ivan Lezhankin
36abd1e6fc Fix build 2019-08-29 14:09:01 +03:00
Ivan Lezhankin
85afd61c01 Fix build with internal libcxx 2019-08-29 13:44:22 +03:00
Ivan
b4339f266d
Make a better build scheme (#6500)
* Fix shared build
* Major default libs refactor
* Fix build with gcc_eh
* Link all libraries as a big group.
* Use global interface library as a group
* Build capnproto using our cmake
* Use only internal libunwind
2019-08-28 23:49:37 +03:00
Alexey Milovidov
abdd70fcc4 Fixed "splitted" build 2019-08-23 18:01:36 +03:00
Alexey Milovidov
dce9753215 Fix splitted build. 2019-08-23 00:44:40 +03:00
akonyaev
caf0d30a5f ADQM-34 add orc input format 2019-08-21 17:19:47 +03:00
alexey-milovidov
c0514ddd9b
Merge pull request #6512 from yurriy/sha256-in-mariadb-connector-c
Enabled sha256_password plugin in MariaDB Connector/C
2019-08-18 01:47:37 +03:00
Vitaly Baranov
e7a2565290
Merge pull request #6479 from vitlibar/no-allocation-in-simdjson-iterator
Get rid of dynamic allocation in ParsedJson::Iterator.
2019-08-16 20:58:16 +03:00
Yuriy
d78c4ec7b9 dependencies of caching_sha2_pw.c 2019-08-16 19:27:49 +03:00
Vitaly Baranov
69ed5279b5 Get rid of dynamic allocation in ParsedJson::Iterator. 2019-08-16 15:48:48 +03:00
Yuriy
d8efa5a842 added missing caching_sha2_pw.c 2019-08-16 03:59:59 +03:00
Yuriy
c08d01cfb4 linking caching_sha2_password plugin statically 2019-08-16 02:03:58 +03:00
Yuriy
b288611472 static linking of sha256_password in mariadb-connector-c 2019-08-16 01:03:30 +03:00
alesapin
cdc6d6c1ba
Merge pull request #6466 from yandex/poco-check-bad-uri
Check bad URIs in Poco library
2019-08-14 14:43:50 +03:00
Vitaly Baranov
75aa1d7858
Merge pull request #6320 from yandex/simdjson-sse42
Enabled SIMDJSON for SSE 4.2 with PCLMUL instruction set
2019-08-13 23:12:40 +03:00
Alexey Milovidov
4b9ae60bd1 Check bad URIs in Poco library 2019-08-13 14:25:37 +03:00
Vitaly Baranov
d8684bef28 Unfork simdjson (they accepted our changes). 2019-08-09 21:43:19 +03:00
alesapin
ca51d3f1d1 Update poco again 2019-08-08 18:05:47 +03:00
alesapin
9086dba26e Comments in code 2019-08-07 22:11:14 +03:00
alesapin
48b48844a4 Update poco submodule for broken timeouts 2019-08-07 20:40:57 +03:00
Vitaly Baranov
0154cdf13b Remove checks for AVX2 from cmake lists which are no longer needed. 2019-08-07 17:08:15 +03:00
alexey-milovidov
f3dfd1c410
Merge pull request #6317 from yandex/fastops
Using Danila Kutenin variant to make fastops working
2019-08-06 17:45:35 +03:00
Alexey Milovidov
98e6dbdd87 Fixed CMake 2019-08-04 13:58:43 +03:00
Alexey Milovidov
64c42930e6 Using Danila Kutenin variant to make fastops working 2019-08-04 06:36:57 +03:00
alexey-milovidov
7388454eb2
Merge pull request #6306 from yandex/simdjson-update
Updated SIMDJSON
2019-08-04 06:29:28 +03:00
alexey-milovidov
14671d6df8
Merge pull request #6254 from yandex/fastops
Integration with "FastOps" library. Added functions sigmoid and tanh.
2019-08-04 06:28:34 +03:00
proller
77bd2624ea Build fixes (#6016)
* Fix building without submodules

* Fix more gcc9 warnings

* was wrong!
../dbms/src/IO/WriteBufferAIO.cpp:277:54: error: result of comparison 'ssize_t' (aka 'long') > 9223372036854775807 is always false [-Werror,-Wtautological-type-limit-compare]
    if ((static_cast<ssize_t>(flush_buffer.offset()) > std::numeric_limits<off_t>::max()) ||
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* mimalloc off MI_OVERRIDE

* Fix freebsd build

* Fix shared build

* Fix build in gcc9

* Fix split build

* fix

* fix

* fix

* fix

* clean

* zstd

* Update CMakeLists.txt

* Update Defines.h

* Try fix -Wsign-compare

* Freebsd fix

* Add missing libs

* Fix double-conversion include for copy-headers

* Fix zlib link

* Fix includes for arcadia

* Fix includes for arcadia

* Fix includes for arcadia

* Freebsd fix

* Arcadia fixes

* Update QueryProfiler.cpp

* Freebsd fix

* clean

* 19.11: Fixes for arcadia porting (#6223)

* fix glibc-compatibility

* M_LIBRARY fix

* wip

* Fix

* Fix arm build

* unwind fix

* Update CMakeLists.txt
2019-08-04 03:19:03 +03:00
Alexey Milovidov
ee19bca191 Make dynamic dispatching to really work 2019-08-04 02:47:32 +03:00
Alexey Milovidov
47a47e49c4 Make dynamic dispatch free of TSan warnings 2019-08-04 01:57:14 +03:00
Alexey Milovidov
63f508ae04 Merge branch 'master' into simdjson-update 2019-08-03 23:12:24 +03:00
Alexey Milovidov
aa1569ffba Merge branch 'fastops' of github.com:yandex/ClickHouse into fastops 2019-08-03 06:25:07 +03:00
Alexey Milovidov
b9d39f4882 Merge branch 'master' into fastops 2019-08-03 06:24:33 +03:00
Alexey Milovidov
61541a76e6 Update hyperscan; avoid hyperscan rebuilds 2019-08-03 03:15:17 +03:00
Alexey Milovidov
11762f6eec Updated SIMDJSON 2019-08-03 02:24:50 +03:00
Alexey Milovidov
eb4edb80a5 Updated submodule 2019-08-03 02:12:42 +03:00
Alexey Milovidov
73faf623f2 Adjusted precision in test 2019-08-02 22:00:22 +03:00
Alexey Milovidov
50303a8520 Fixed build with gcc-8 2019-08-01 04:29:53 +03:00
Alexey Milovidov
466242b8de Switched back to upstream "fastops" submodule. 2019-08-01 02:02:08 +03:00
Alexey Milovidov
fb3824f98b Merge branch 'master' into fastops 2019-08-01 01:59:59 +03:00
Alexey Milovidov
050db07e3d Merge branch 'master' into merge-profiler 2019-07-25 22:54:22 +03:00
alexey-milovidov
c1e910ad32
Merge pull request #6101 from abyss7/fix-kafka-build
Fix shared build with rdkafka library
2019-07-25 04:15:10 +03:00
Alexander Kuzmenkov
30d319fc77 Update zlib-ng to fix a ThreadSanitizer warning. 2019-07-24 18:31:22 +03:00
Alexey Milovidov
dc06885950 Addition to prev. revision 2019-07-24 03:42:55 +03:00
Alexey Milovidov
99be894ead Mitigate segfault in libunwind #6124 2019-07-24 03:23:21 +03:00
Ivan Lezhankin
cab6307e24 Fix build 2019-07-23 13:07:40 +03:00
Ivan Lezhankin
0d484869f8 Fix build 2019-07-23 12:11:22 +03:00
alexey-milovidov
e4ad0da6e3
Merge pull request #4247 from laplab/query-poor-mans-profiler
Poor man's profiler on query level [Work in progress]
2019-07-23 03:02:58 +03:00
Alexey Milovidov
b282c6160d Added "fastops" as submodule 2019-07-23 02:41:06 +03:00
Ivan Lezhankin
cef18b1e61 Fix shared build with rdkafka 2019-07-22 15:58:06 +03:00
alexey-milovidov
65f1baaeaa
Merge pull request #6072 from yandex/aku/poco-tsan
Update poco (tsan fixes)
2019-07-20 00:00:15 +03:00
alexey-milovidov
6706af64d7
Merge pull request #5981 from 4ertus2/some
Count new/delete memory in MemoryTracker
2019-07-18 23:07:00 +03:00
Ivan
2f68aa7207
Fix build with external libcxx (#6010)
* First attempt to fix build with external libcxx
* Fix build
2019-07-18 09:55:05 +03:00
Alexander Kuzmenkov
a1caf13869 Update poco (tsan fixes) 2019-07-17 17:36:37 +03:00
chertus
91028e9e5d Merge branch 'master' into some 2019-07-15 13:45:48 +03:00
alexey-milovidov
154b0cb491
Revert "DOCAPI-6887: EN review and RU translation for skew* and kurt* functions." 2019-07-12 22:03:38 +03:00
chertus
37bee1104d Merge branch 'master' into some 2019-07-12 18:16:03 +03:00
Ivan Blinkov
6082354d3c
DOCAPI-6887: EN review and RU translation for skew* and kurt* functions. (#5906)
* Update reference.md

* DOCAPI-6887: EN review and RU translation for skew* and kurt* functions.
2019-07-12 15:04:32 +03:00
chertus
18a13a03dd memory tracked new/delete concept 2019-07-10 21:12:50 +03:00
Alexey Milovidov
c97f398b9d Disable usage of C11 threads in rdkafka library 2019-07-10 01:59:53 +03:00
Alexey Milovidov
f5dc6c79f0 Clean CMakeLists for double-conversion 2019-07-10 01:35:40 +03:00
alexey-milovidov
1d14b9cc45
Merge branch 'master' into libcxx-as-submodule 2019-07-10 01:09:23 +03:00
alexey-milovidov
02ea563673
Update CMakeLists.txt 2019-07-09 14:54:41 +03:00
alexey-milovidov
2787ad6715
Update CMakeLists.txt 2019-07-09 14:53:29 +03:00
Alexey Milovidov
7f8eefedea Clean CMakeLists for libunwind. 2019-07-09 14:46:01 +03:00
Alexey Milovidov
765360ec82 Fixed error 2019-07-09 03:49:52 +03:00
Alexey Milovidov
5ab6daca2e Correct CMake flags for unwind 2019-07-09 03:28:21 +03:00
Alexey Milovidov
055ec8817b Clean CMakeLists 2019-07-09 02:58:14 +03:00
Alexey Milovidov
daf84d4b84 Clean CMakeLists for cxx 2019-07-09 02:33:32 +03:00
Alexey Milovidov
52bb292327 Merge branch 'master' into libcxx-as-submodule 2019-07-09 01:58:09 +03:00
alexey-milovidov
3c7178a8d1
Merge pull request #5923 from yandex/add-noreturn
Add two more warnings from -Weverything
2019-07-09 00:10:35 +03:00
Alexey Milovidov
e07235e294 Addition to prev. revision 2019-07-08 21:55:06 +03:00
Alexey Milovidov
27663d9a86 Addition to prev. revision 2019-07-08 19:42:49 +03:00
Alexey Milovidov
3779a5cba2 Addition to prev. revision 2019-07-08 19:01:00 +03:00
Alexey Milovidov
98d27b746a Updated simdjson just in case 2019-07-08 18:25:17 +03:00
BayoNet
c6ae525216 Merge branch 'master' of github.com:yandex/ClickHouse into l10n/DOCAPI-6887-skewSamp 2019-07-06 15:56:14 +03:00
Nikita Lapkov
aaea6cbfc9 Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler 2019-07-05 21:37:31 +00:00
Nikita Lapkov
c7eaa30870 update libunwind to RIP experiment 2019-07-05 21:02:02 +00:00
alexey-milovidov
fab83cf688
Merge pull request #5872 from abyss7/update-rdkafka
Update librdkafka to version 1.1.0
2019-07-05 14:09:26 +03:00
Alexey Milovidov
65bac141a8 Updated Poco submodule 2019-07-05 02:10:30 +03:00
Nikita Lapkov
dc6e6eaca7 fix submodules 2019-07-04 22:16:04 +00:00
Nikita Lapkov
0f579860f7 Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler 2019-07-04 22:13:51 +00:00
Ivan Lezhankin
15e2e747a6 Update librdkafka to version 1.1.0 2019-07-04 17:58:24 +03:00
Alexey Milovidov
6b9df067d8 Merge branch 'master' into libcxx-as-submodule 2019-07-03 22:34:58 +03:00
Nikita Lapkov
9641d058d0 Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-07-01 21:11:26 +00:00
Nikita Lapkov
d65bf8dd60 fix contrib 2019-07-01 20:04:51 +00:00
Alexey Milovidov
1777313821 Own CMakeLists for H3 because otherwise "m" library does not link correctly 2019-06-30 21:49:57 +03:00
alexey-milovidov
feafcb21bd
Merge branch 'master' into h3-integration 2019-06-30 16:19:11 +03:00
alexey-milovidov
557886ef26
Merge pull request #5718 from excitoon-favorites/gcc-minor-version
Fixed GCC minor version in libhdfs3-cmake
2019-06-30 16:12:10 +03:00
Vladimir Chebotarev
fd6998951d
Update Platform.cmake 2019-06-30 03:35:48 +03:00
Nikita Lapkov
2a131185b0 Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-06-28 18:20:23 +00:00
Danila Kutenin
5402f80cfb mimalloc off MI_OVERRIDE 2019-06-28 20:33:47 +03:00
Danila Kutenin
35630f2abd MI_SECURE added 2019-06-27 18:25:44 +03:00
Danila Kutenin
e67431e455 Use mimalloc instead of lfallocator 2019-06-27 18:13:19 +03:00
Nikita Lapkov
92309eed3e Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-06-27 14:07:44 +00:00
Alexey Milovidov
f832651d4a Added README 2019-06-27 16:43:01 +03:00
Alexey Milovidov
90b3a1435a Imported glibc headers to contrib 2019-06-27 16:38:18 +03:00
Nikita Lapkov
7cff36fbfc Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler 2019-06-26 11:46:04 +00:00
Nikita Lapkov
8de1340f51 update libunwind 2019-06-26 11:10:07 +00:00
Ivan Remen
f3c8ac2d3b Merge remote-tracking branch 'main/master' into h3-integration 2019-06-25 11:23:53 +03:00
Vladimir Chebotarev
4f110bad2a Fixed GCC minor version in libhdfs3-cmake. 2019-06-22 12:55:56 +03:00
Ivan Lezhankin
8e6249f135 Update rdkafka to v1.0.1 2019-06-20 16:02:41 +03:00
Ivan Remen
b0d0e82b29 h3 submodule 2019-06-20 14:39:53 +03:00
Ivan Remen
bd14069cd1 Fix cmake 2019-06-20 13:58:21 +03:00
Ivan Remen
b439769aa7 Merge remote-tracking branch 'main/master' into h3-integration-fix 2019-06-20 13:53:17 +03:00
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
favstovol
a82f4925ec Add stubs 2019-05-30 02:01:25 +03:00
favstovol
cec08ed148 Merge branch 'master' into add-ext-dict-cassandra
# Conflicts:
#	.gitmodules
#	contrib/CMakeLists.txt
#	dbms/src/Common/config.h.in
2019-05-22 21:43:13 +03: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
alexey-milovidov
d1219f1b43
Merge branch 'master' into add-ext-dict-cassandra 2019-04-22 22:23:11 +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
Oleg Favstov
95b812f518 Merge remote-tracking branch 'origin/master' into add-ext-dict-cassandra
# Conflicts:
#	dbms/tests/integration/image/Dockerfile
2019-04-11 11:21:12 +02: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
Oleg Favstov
60c9cc574f Merge branch 'master' into add-ext-dict-cassandra
# Conflicts:
#	.gitmodules
#	CMakeLists.txt
#	contrib/CMakeLists.txt
#	dbms/src/Common/config.h.in
2019-04-06 17:54:07 +03: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
Oleg Favstov
8e12eedbb3 Initial commit 2019-01-27 19:51:05 +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