Commit Graph

1651 Commits

Author SHA1 Message Date
philip.han
1e631e2c33 Fix stats-cmake/CMakeLists.txt 2020-07-10 12:52:49 +09:00
philip.han
6c814c9f9f Add bayesAB function for bayesian_ab_testing 2020-07-09 22:11:40 +09:00
Denis Glazachev
5a4762bb8a
Merge branch 'master' into ldap-per-user-authentication 2020-07-09 14:50:02 +04:00
Azat Khuzhin
0aa97af108 Update config.h for arrow
Yes ARROW_FULL_SO_VERSION/ARROW_SO_VERSION is empty right now, like
other version variables (ARROW_VERSION_*)

Refs: #12181
2020-07-09 10:19:44 +03:00
Azat Khuzhin
a645759a42 Set CMAKE_POLICY_DEFAULT_CMP0022/CMAKE_POLICY_DEFAULT_CMP0077 globally
This will fix CMAKE_POLICY_DEFAULT_CMP0077 for snappy:

    CMake Warning (dev) at contrib/snappy/CMakeLists.txt:11 (option):
      Policy CMP0077 is not set: option() honors normal variables.  Run
    "cmake
      --help-policy CMP0077" for policy details.  Use the cmake_policy
    command to
      set the policy and suppress this warning.

      For compatibility with older versions of CMake, option is clearing the
      normal variable 'BUILD_SHARED_LIBS'.
    This warning is for project developers.  Use -Wno-dev to suppress it.
2020-07-09 10:16:39 +03:00
alexey-milovidov
36205e3ddf
Merge pull request #12181 from azat/bump-arrow-to-0.17
Bump arrow to 0.17 (and flatbuffers to v1.12, required by arrow)
2020-07-09 04:24:47 +03:00
Azat Khuzhin
fd5e08884a Bump arrow to 0.17 (and flatbuffers to v1.12, required by arrow)
MOTIVATION:
- remove double-conversion external dependency
- remove flatc (but flatbuffers is still required, arrow just shipped
  with generated files and that's it)

CHANGED:
- remove pre-generated headers, it is shipped with the arrow
- remove flatc (see above)

NOTES (see tests changes):
- and snappy error is reported as unsupported compression.
2020-07-07 23:54:32 +03:00
Denis Glazachev
9effacfbc1 Merge branch 'master' into ldap-per-user-authentication
* master: (1102 commits)
  Update README.md
  Update README.md
  Update README.md
  Update index.md
  [docs] add intrdocution for statements page (#12189)
  Revert "Run perf tests with memory sampling (for allocations >1M)"
  Sanitize LINK_LIBRARIES property for the directories (#12160)
  [docs] refactor Domains overview (#12186)
  DOCS-647: toStartOfSecond (#12190)
  [docs] add intrdocution for commercial page (#12187)
  DOCSUP-1348 Russian translation for new functions (#133) (#12194)
  changelog fixes
  Update index.md (#12191)
  Update zh kafka.md title (#12192)
  Added test for #3767
  style fix for #12152
  Tests for fixed issues #10846 and #7347
  changelog fixes
  [docs] introduction for special table engines (#12170)
  [docs] introduction for third-party interfaces (#12175)
  ...

# Conflicts:
#	src/Access/ya.make
#	src/Common/ErrorCodes.cpp
2020-07-08 00:42:09 +04:00
Azat Khuzhin
32227b9c38 AMQP requires libuv
Otherwise fails:

    FAILED: src/CMakeFiles/dbms.dir/Storages/RabbitMQ/RabbitMQBlockInputStream.cpp.o
    ...
    In file included from ../src/Storages/RabbitMQ/RabbitMQHandler.h:9,
                     from ../src/Storages/RabbitMQ/StorageRabbitMQ.h:11,
                     from ../src/Storages/RabbitMQ/RabbitMQBlockInputStream.h:5,
                     from ../src/Storages/RabbitMQ/RabbitMQBlockInputStream.cpp:3:
    ../contrib/AMQP-CPP/include/amqpcpp/libuv.h:22:10: fatal error: uv.h: No such file or directory
2020-07-07 21:44:24 +03:00
Azat Khuzhin
0a3c1ef450 Set CMP0077 for re2
cmake reports:

    CMake Warning (dev) at contrib/re2/CMakeLists.txt:15 (option):
      Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
      --help-policy CMP0077" for policy details.  Use the cmake_policy command to
      set the policy and suppress this warning.

      For compatibility with older versions of CMake, option is clearing the
      normal variable 'BUILD_SHARED_LIBS'.
    This warning is for project developers.  Use -Wno-dev to suppress it.
2020-07-06 23:34:40 +03:00
Azat Khuzhin
3b75856fca Force CMP0022 for googletest (to avoid using LINK_INTERFACE_LIBRARIES(_<CONFIG>)?)
Othewise cmake reports:

    -- Configuring done
    CMake Warning (dev) in contrib/googletest/googletest/CMakeLists.txt:
      Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
      interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
      cmake_policy command to set the policy and suppress this warning.

      Target "gtest" has an INTERFACE_LINK_LIBRARIES property which differs from
      its LINK_INTERFACE_LIBRARIES_DEBUG properties.

      INTERFACE_LINK_LIBRARIES:

        global-group;Threads::Threads

      LINK_INTERFACE_LIBRARIES_DEBUG:

        Threads::Threads

    This warning is for project developers.  Use -Wno-dev to suppress it.

    -- Generating done
    -- Build files have been written to: /src/ch/clickhouse/.cmake-tmp
2020-07-06 23:34:40 +03:00
Azat Khuzhin
b173385431 Bump googletest to master (to fix gcc10 builds)
gcc10 reports:

    FAILED: src/CMakeFiles/unit_tests_dbms.dir/Columns/tests/gtest_column_unique.cpp.o
    <snip>
    ../contrib/googletest/googletest/include/gtest/gtest-printers.h:287:7: error: use of deleted function ‘std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char8_t) [with _Traits = std::char_traits<char>]’
      287 |   *os << value;
          |   ~~~~^~~~~~~~
    In file included from ../base/common/../common/StringRef.h:6,
                     from ../src/Columns/IColumn.h:7,
                     from ../src/Columns/IColumnUnique.h:2,
                     from ../src/Columns/ColumnUnique.h:2,
                     from ../src/Columns/tests/gtest_column_unique.cpp:1:
    /usr/include/c++/10.1.0/ostream:544:5: note: declared here
      544 |     operator<<(basic_ostream<char, _Traits>&, char8_t) = delete;
          |
2020-07-06 23:34:40 +03:00
Azat Khuzhin
a0f257b237 Set GOOGLETEST_VERSION for googletest
Otherwise cmake reports:

    CMake Warning at contrib/googletest/googletest/CMakeLists.txt:54 (project):
      VERSION keyword not followed by a value or was followed by a value that
      expanded to nothing.

(since GOOGLETEST_VERSION is set in contrib/googletest/CMakeLists.txt)
2020-07-06 23:34:40 +03:00
Nikita Mikhaylov
53522c728b
Merge pull request #11662 from Avogar/orc_output_format
Add ORCBlockOutputFormat
2020-07-06 18:51:35 +04:00
Nikita Mikhaylov
dac7a39256 fix ubsan final 2020-07-06 12:29:22 +03:00
alexey-milovidov
1719ab1ec5
Merge pull request #12041 from azat/curl-proper-cmake
Rewrite curl dependency in a more ch compatible way
2020-07-06 06:31:51 +03:00
Alexey Milovidov
351eda5d8a Replace exit to abort in libdivide 2020-07-05 03:02:50 +03:00
Alexey Milovidov
c5cf7199d8 Update libdivide to the latest master 2020-07-05 02:58:10 +03:00
alexey-milovidov
6ae9bfe3b3
Merge pull request #12131 from matwey/fix/cmake_unixodbc
Minor cmake fixes for UNBUNDLED build
2020-07-04 22:29:28 +03:00
Azat Khuzhin
9258368de2 Fail if curl library was enabled and was not found in case of unbundled build 2020-07-04 16:48:25 +03:00
Matwey V. Kornilov
20c8e22942 poco-cmake: Fix Poco::Data::ODBC target when UNBUNDLED
By default IMPORTED target has a scope in the directory in which it is created
and below. This leads to the following issues when building UNBUNDLED:

Target "clickhouse" links to target "Poco::Data::ODBC" but the target was not
found.  Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
2020-07-04 13:58:53 +03:00
Matwey V. Kornilov
338e772393 contrib/unixodbc-cmake: Fix build when UNBUNDLED
target_compile_definitions may only set INTERFACE properties on IMPORTED targets
2020-07-04 10:21:56 +03:00
Azat Khuzhin
0700a705bc Rewrite curl dependency in a more ch compatible way
- add support of unbundled curl
- add CURL::libcurl libraries
- avoid explicit linkage of daemon with curl (added with sentry)
- set CACHE variables for non-direct users:
  - mariadb-connector-c
  - aws-s3-cmake
  - sentry-native

Cc: @alexey-milovidov
Cc: @alesapin (requires docker image update)
Cc: @abyss7

Refs: #11300
Refs: #8011
Refs: #8905

v2: replace cmake/find/curl.cmake with proper contrib/curl-cmake (as
pointed by @abyss7, cmake/find/*.cmake is deprecated)
2020-07-03 00:57:08 +03:00
alesapin
64583ceb22 Merge branch 'master' into add-storage-rabbitmq-read-only 2020-07-02 16:08:29 +03:00
Alexander Kuzmenkov
baec4093dd
Merge pull request #11993 from ClickHouse/aku/more-jemalloc-tweaks
jemalloc: set muzzy_decay_ms = 10s
2020-06-30 22:51:21 +03:00
Alexander Kazakov
8b2a5d81df
Update contrib/poco to ClickHouse-Extras/poco #22 (#12037)
* Updated ClickHouse-Extras/poco #22
2020-06-30 14:27:40 +03:00
kssenii
3d2cc9d4b2 Remove libevent library 2020-06-29 12:11:17 +00:00
Alexander Kuzmenkov
8c0177b216
Update contrib/jemalloc-cmake/CMakeLists.txt 2020-06-29 15:01:29 +03:00
alexey-milovidov
77c4861430
Merge pull request #11975 from oandrew/fix-word-breaks
Extend word break config to all non-alphanumeric chars
2020-06-27 19:13:44 +03:00
Alexander Kuzmenkov
8b82ff215f muzzy decay 10 ms 2020-06-27 04:08:21 +03:00
Andrew Onyshchuk
c985dddd45 Update replxx submodule 2020-06-26 13:14:31 -05:00
alexey-milovidov
751d36f7c7
Merge pull request #11954 from oandrew/avro-uuid
Avro UUID support
2020-06-26 14:09:54 +03:00
Andrew Onyshchuk
fc1ae85600 Avro UUID support 2020-06-25 14:25:45 -05:00
alexey-milovidov
a34032cace
Merge pull request #11300 from blinkov/sentry
Opt-in support for sending crash reports
2020-06-25 17:20:50 +03:00
Azat Khuzhin
236cac3d52 Fix jemalloc under OSX (by registering it as default zone explicitly)
In case of OSX jemalloc register itself as a default zone allocator.

But when you link statically then zone_register() will not be called,
and even will be optimized out:

  $ nm clickhouse.patched  | grep -c zone_register
  0

Fix this, by manually calling it.

v2: extern C
2020-06-24 21:05:35 +03:00
alesapin
3fc65b3269 Merge branch 'master' into kssenii-rabbit-mq 2020-06-24 20:14:28 +03:00
Ivan Blinkov
45d1ca2567 merge master 2020-06-24 00:18:16 +03:00
Azat Khuzhin
f76511668f jemalloc: disable it for darwin
Right now it aborts (Abort trap: 6) on osx, the issue does not looks
like [1], but should be investigated, so disable for now.

What is interesting that it works under debugger, so I guess it is
indeed the order of symbol replacements...

  [1]: https://github.com/jemalloc/jemalloc/issues/420
2020-06-23 11:40:34 +03:00
Azat Khuzhin
c230d76cb9 jemalloc: disable percpu_arena on non-linux (not supported anyway)
And since it does not supported it produces the following warning:
  <jemalloc>: No getcpu support: percpu_arena:percpu
  <jemalloc>: perCPU arena getcpu() not available. Setting narenas to 8.

However it is uses narenas=ncpu instead of default narenas=ncpu*4
2020-06-23 11:14:22 +03:00
Azat Khuzhin
5b5ba93523 jemalloc: explicitly disable pthread_setname_np on freebsd (requires 12.1) 2020-06-23 05:45:56 +03:00
Azat Khuzhin
8b6e2e6c67 jemalloc: drop superfluous include directory 2020-06-23 01:47:56 +03:00
Azat Khuzhin
77a3f606f4 jemalloc: enable by default for freebsd/darwin 2020-06-23 01:47:56 +03:00
Azat Khuzhin
1354a103ab jemalloc: add darwin pregenerated header 2020-06-23 01:47:56 +03:00
Azat Khuzhin
637f2cefeb jemalloc: add freebsd pregenerated header 2020-06-23 01:47:56 +03:00
Azat Khuzhin
f0bb511468 jemalloc: fix JEMALLOC_NOTHROW/JEMALLOC_CXX_THROW for freebsd/darwin 2020-06-23 01:47:56 +03:00
Azat Khuzhin
1becc6ca02 jemalloc: jemalloc_preamble.h is common 2020-06-23 01:47:56 +03:00
Azat Khuzhin
6704c42a9e jemalloc: fix HAVE_CPU_SPINWAIT for linux aarch64
Fixes: #11163
2020-06-22 23:24:43 +03:00
Ivan Blinkov
2c0ff29c48 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-22 10:06:36 +03:00
Denis Glazachev
6c1b2a4831 Merge branch 'master' into ldap-per-user-authentication
* master: (114 commits)
  Update alter.md (#11823)
  Update PODArray.h
  Added a test for #6549
  Update create.md
  Update create.md
  replacingmergetree translate into "替换合并树“ better (#11814)
  Whitespace
  Fix style
  Added a test
  Fix another 10% of bad code #11529
  Update join.md (#11798)
  Update memory.md (#11800)
  Whitespace
  Check for tests with "fail" in their names
  Fix 10% of bad code #11756
  Update PODArray.h
  avoid duplicate short system name
  adapt recent result as well
  [website] tune benchmark pages styling + add extra checks
  Added MSan suppression for Hyperscan
  ...

# Conflicts:
#	src/Common/ErrorCodes.cpp
2020-06-20 22:01:12 +04:00
Alexey Milovidov
abb59a2621 Give up on UBSan for Hyperscan 2020-06-19 21:45:09 +03:00
Alexey Milovidov
e85227ce2e Remove one compile option 2020-06-19 16:44:30 +03:00
Alexey Milovidov
cebec2115b Added missing compile options from original Hyperscan 2020-06-19 14:57:31 +03:00
Denis Glazachev
5db60202b6 Merge branch 'master' into ldap-per-user-authentication 2020-06-19 00:11:08 +04:00
Alexey Milovidov
39562b4711 Update submodule 2020-06-17 10:12:24 +03:00
Alexey Milovidov
e070c0fa8f Update submodule 2020-06-17 10:10:36 +03:00
Ivan Blinkov
e98a91e9f7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-12 16:53:00 +03:00
alesapin
29311f71bf
Merge pull request #11585 from azat/unbundled-boost
Add unbundled boost support
2020-06-11 23:43:28 +03:00
Ivan Blinkov
b70ed921ea Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-11 12:22:13 +03:00
Ivan Blinkov
3e5d735871 back to upstream 2020-06-11 12:21:23 +03:00
kssenii
18820814f5 Merge 2020-06-10 23:25:33 +00:00
Denis Glazachev
9e3a28a6b8 Merge branch 'master' into ldap-per-user-authentication
* master: (414 commits)
  Update file.md
  Update merge.md
  Update dictionary.md
  Update external-data.md
  Update distributed.md
  Update null.md
  Update set.md
  Update join.md
  Update url.md
  Update view.md
  Update materializedview.md
  Update memory.md
  Update buffer.md
  Update generate.md
  removed a sentence about global lock during rename (#11577)
  greatCircleAngle en translation (#11584)
  Update configuration-files.md
  try fix flacky test
  Update why.html
  Update rich.html
  ...

# Conflicts:
#	src/Common/ErrorCodes.cpp
#	utils/ci/jobs/quick-build/run.sh
2020-06-11 03:06:17 +04:00
Azat Khuzhin
8ec3ab9c9f Require less recent boost - 1.67 2020-06-10 23:57:54 +03:00
Azat Khuzhin
8418612e09 Add unbundled boost support
Follow-up-for: #11390
Cc: @@abyss7
2020-06-10 20:56:47 +03:00
Ivan
2de9ddce53
Update CMakeLists.txt (#11560)
Update CMakeLists.txt (#11560)
2020-06-10 20:30:34 +03:00
Nikita Mikhaylov
9df693ced5
Merge pull request #11561 from Jokser/s3-http-client-memory-optimization
Avoid copying whole response stream into memory in S3 HTTP client.
2020-06-10 16:53:33 +04:00
Ivan Blinkov
90ee4d52f4 merge master 2020-06-10 13:18:41 +03:00
Ivan Blinkov
f872c639ed Try to disable linker options from sentry 2020-06-09 20:44:56 +03:00
Alexander Tokmakov
6bb68329f8 Merge branch 'master' into merging_external_source_cassandra 2020-06-09 19:51:14 +03:00
Ivan Blinkov
6f7064928f Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-09 19:07:57 +03:00
Ivan Blinkov
d91f0bd580 Switch back to sentry upstream 2020-06-09 19:07:40 +03:00
Pavel Kovalenko
f623ef635b Avoid copying whole response stream into memory in S3 HTTP client. 2020-06-09 18:26:51 +03:00
Ivan
47ad338cb2
Refactor CMake build files (#11390)
* Get rid of lib_name.cmake
* Refactor Boost and HyperScan libraries
* Refactor lz4
* Fix build with xxHash
2020-06-09 13:54:49 +03:00
Ivan Blinkov
5b3fef526e Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-09 11:51:29 +03:00
alexey-milovidov
44b20eee96
Revert "S3 HTTP client - Avoid copying response stream into memory" 2020-06-09 10:23:35 +03:00
Pavel Kovalenko
8b8beb26d3 S3 Poco HTTP Client (do not copy response stream body into memory). 2020-06-09 05:03:22 +03:00
Alexey Milovidov
d03b1b165b Fix build on gcc 2020-06-07 23:12:24 +03:00
Alexey Milovidov
d5f38274b3 Fix build on gcc 2020-06-07 19:33:31 +03:00
Alexey Milovidov
9eacaf648b Make syntax highlight to work ok on white background 2020-06-07 00:20:17 +03:00
Ivan Blinkov
653a9afda0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-05 22:51:28 +03:00
Ivan Blinkov
6f0e754f1e try to fix the glibc compatibility 2020-06-04 11:57:01 +03:00
Alexander Tokmakov
e67837bc4a cleenup 2020-06-04 00:11:17 +03:00
Pervakov Grigorii
bc9381406f Add default credentials and custom headers for s3 table functions. 2020-06-02 20:48:49 +03:00
Ivan Blinkov
862693d78d change sentry-native commit 2020-06-02 16:59:45 +03:00
Ivan Blinkov
5036ad7c6a back to upstream 2020-06-02 13:13:29 +03:00
Denis Glazachev
c61cbe8e98 Merge branch 'master' into ldap-per-user-authentication
* master: (114 commits)
  Update PushingToViewsBlockOutputStream.cpp
  Update PushingToViewsBlockOutputStream.cpp
  make clang-10 happy
  Fix sync_async test (remove timeout)
  CLICKHOUSEDOCS-631: temporary_files_codec, join_on_disk_max_files_to_merge settings. (#11242)
  Suppress output of cancelled queries in clickhouse-client #9473
  Better log messages in ConfigReloader
  fix select from StorageJoin
  Fix unit tests under MSan
  Added test.
  Fix build.
  Fix arguments for AggregateFunctionQuantile/
  Update style.md
  Add a guide on error messages.
  Report dictionary name on dictionary load errors.
  more types in ASOF JOIN (#11301)
  Fix part_log test
  Update test.
  Add perftest.
  Parallel processing for PushingToViewsBlockOutputStream::writeSuffix
  ...
2020-06-02 12:42:29 +04:00
Ivan Blinkov
9c1ac2f1c1 experiment 2020-06-02 09:46:36 +03:00
Ivan Blinkov
965204dfb1 Try to fix the msan build 2020-06-01 21:48:34 +03:00
kssenii
d3b069e37b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-storage-rabbitmq-read-only 2020-06-01 18:25:36 +00:00
Alexander Tokmakov
62761eddcc Merge branch 'master' into merging_external_source_cassandra 2020-06-01 14:44:46 +03:00
Ivan Blinkov
fcc7ff0ef9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-01 08:42:03 +03:00
kssenii
e80b405359 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-storage-rabbitmq-read-only 2020-05-31 10:30:53 +00:00
Ivan Blinkov
b6e4a2ec61 one more merge issue 2020-05-29 23:21:53 +03:00
Ivan Blinkov
d033941399 try to fix merge issues 2020-05-29 23:20:28 +03:00
Ivan Blinkov
95ee742ee7 merge master 2020-05-29 22:56:10 +03:00
Alexander Tokmakov
8921041706 Merge branch 'master' into merging_external_source_cassandra 2020-05-29 18:20:39 +03:00
Denis Glazachev
d9ca9cd9b2 Compilation fix
Typo fix
2020-05-29 14:00:12 +04:00
Mikhail Filimonov
34a93197f7 Update librdkafka to version 1.4.2 2020-05-28 16:52:03 +02:00
alexey-milovidov
cbac07f5eb
Merge pull request #11163 from azat/bump-jemalloc
[WIP] Bump jemalloc to 5.2.1
2020-05-28 01:17:26 +03:00
Alexander Tokmakov
905bce4aeb fix 2020-05-27 23:53:35 +03:00
Ivan Blinkov
709b4f42c8 Prototype sending crash reports on segfaults 2020-05-27 22:11:04 +03:00
alesapin
abc6dbcf7a
Merge pull request #11213 from ClickHouse/make_cmake_worse
Fix cctz linking with dirty hack
2020-05-27 18:26:46 +03:00
Alexander Tokmakov
415c8469a3 comaptibility with glibc 2.4 2020-05-27 16:51:23 +03:00
alesapin
9355240965 Better path detection 2020-05-27 15:43:25 +03:00
alesapin
d04962808e Actually it's INTERFACE linking 2020-05-27 12:14:40 +03:00
alesapin
f452c50d86 Replace private with public 2020-05-27 12:00:33 +03:00
alesapin
f29d3b8cc9 Fix cmake one more time 2020-05-27 11:58:11 +03:00
Azat Khuzhin
210e67d831 jemalloc: allow changing default malloc_conf without purging cmake cache 2020-05-27 02:19:13 +03:00
Azat Khuzhin
b694d6ed8c jemalloc: disable oversize_threshold (slower) 2020-05-27 02:19:13 +03:00
Azat Khuzhin
a8749c5d5c jemalloc: aarch64 does not have pause 2020-05-27 02:19:13 +03:00
Azat Khuzhin
bc572dc5f2 jemalloc: sync common (non per-arch) pre-generated headers
$ for f in include/jemalloc/jemalloc_*.h; do cp /src/oss/jemalloc/$f $f; done
2020-05-27 02:19:13 +03:00
Azat Khuzhin
5cd31dbf0d jemalloc: add _GNU_SOURCE for RTLD_NEXT 2020-05-27 02:19:13 +03:00
Azat Khuzhin
9f1cefd8df jemalloc: disable secure_getenv() 2020-05-27 02:19:13 +03:00
Azat Khuzhin
82f2b1a986 jemalloc: merge jemalloc_internal_defs.h.in for aarch64
- keep LG_PAGE/LG_HUGEPAGE
- use upstream JEMALLOC_PURGE_MADVISE_FREE
2020-05-27 02:19:13 +03:00
Azat Khuzhin
2f256b0d2d jemalloc: merge jemalloc_internal_defs.h.in for x86_64
- Use upstream JEMALLOC_PURGE_MADVISE_FREE
2020-05-27 02:19:13 +03:00
Azat Khuzhin
2590ee64d9 jemalloc: merge jemalloc_preamble.h for aarch64 2020-05-27 02:19:13 +03:00
Azat Khuzhin
b2ff1b3f20 jemalloc: merge jemalloc_preamble.h for x86_64 2020-05-27 02:19:13 +03:00
Azat Khuzhin
bbb38664c1 jemalloc: add missing safety_check.c 2020-05-27 02:19:13 +03:00
Azat Khuzhin
b53c6ddfd9 jemalloc: bump to 5.2.1 2020-05-27 02:19:13 +03:00
Azat Khuzhin
734cc78e58 jemalloc: make include_linux_*/jemalloc/*.h common for aarch64 and x86_64
This patch can go upstream, regardless of the jemalloc update
eventually.

Also I noticed that header with jemalloc version differs (someone forgot
to update?)
2020-05-27 02:19:13 +03:00
Alexander Tokmakov
940132adc4 Merge branch 'master' into merging_external_source_cassandra 2020-05-27 00:13:57 +03:00
Alexander Tokmakov
310d522528 minimal implementation 2020-05-26 22:21:18 +03:00
alesapin
15e7c618bb Fix cctz linking with dirty hack 2020-05-26 22:21:07 +03:00
kssenii
ad1c0de8db Merge 2020-05-26 17:45:39 +00:00
Vitaly Baranov
e27ded8798
Merge pull request #11172 from vitlibar/grpc-improve-build-scripts
Improve build scripts for protobuf & gRPC
2020-05-26 13:27:54 +03:00
filimonov
73a0ef6c0e
Fix for the hang during deletion of engine=Kafka (one more time) (#11145)
* Added flag for safer rdkafka destruction, but more testing detected another hang case, which has no straigt solutions and can be workarounded currenly only by draining the consumer queue, so destructor is back

* After review fixes

* After review fixes2

* After review fixes3
2020-05-26 00:13:10 +03:00
Vitaly Baranov
58a2172154 Improve build scripts related to protobuf and gRPC. 2020-05-25 18:46:57 +03:00
Vitaly Baranov
aac48e0274 Update grpc to a new version. 2020-05-25 09:09:15 +03:00
Alexey Milovidov
35d79e1252 fmt-style logging, part 1 2020-05-23 19:33:07 +03:00
Alexander Tokmakov
ac54d470da Merge branch 'master' into merging_external_source_cassandra 2020-05-22 17:27:40 +03:00
Alexander Tokmakov
e6ca09e134 fix build 2020-05-22 17:19:33 +03:00
Alexey Milovidov
14b61cfa9e Fix JEMalloc conf after #11084 2020-05-22 16:08:08 +03:00
Azat Khuzhin
111fa49df5 Add comment for enabling jemalloc percpu_arena 2020-05-21 11:43:29 +03:00
Azat Khuzhin
5da41d5cd6 Configure jemalloc options via cmake 2020-05-21 11:43:29 +03:00
Azat Khuzhin
58ffa4c59c Enable percpu_arena:percpu for jemalloc
This will reduce memory fragmentation due to thread pool.
2020-05-21 01:01:28 +03:00
Alexander Tokmakov
4b30b3168c try fix build 2020-05-20 23:26:39 +03:00
kssenii
fe8d285e11 Fix libevent build 2020-05-20 12:52:16 +00:00
kssenii
a055e33087 Add libevent & AMQP-CPP libraries 2020-05-20 09:08:27 +03:00
Alexander Tokmakov
175b7aedf3 Merge branch 'master' into merging_external_source_cassandra 2020-05-19 05:21:27 +03:00
alexey-milovidov
5898f611da Merge pull request #10861 from traceon/contrib-openldap
Add OpenLDAP third-party library integration (system or contrib/build)
2020-05-15 23:13:23 +03:00
Denis Glazachev
bad61a659c Allow Linux aarch64 2020-05-15 15:15:13 +04:00
Denis Glazachev
b68664d332 Normalize CMAKE_SYSTEM_NAME and platform dependent folder names 2020-05-15 00:40:27 +04:00
Denis Glazachev
38320e6444 Normalize CMAKE_SYSTEM_PROCESSOR and platform dependent folder names 2020-05-15 00:25:27 +04:00
Denis Glazachev
3586fb1dc0 Clean and adjust the generated files
Add FreeBSD amd64 generated files/support
2020-05-14 23:53:11 +04:00
Nikolai Kochetov
757b0ecabb Update boost submodule. 2020-05-14 12:26:40 +03:00
alexey-milovidov
f8195a577c
Merge pull request #10744 from Jokser/s3-proxy-resolver
S3 with proxy resolver
2020-05-14 02:19:10 +03:00
Denis Glazachev
7b1399795d Merge commit '1a4ce6b3c806f77e548dacf4207e06542231fa19' into contrib-openldap
* commit '1a4ce6b3c806f77e548dacf4207e06542231fa19':
  DOCS-628: Stable versions of statistical functions (#10848)
  Allow expected number of failures in performance test
  Fix test
  Fix LIVE VIEW tests
  Fix bad test
  Fix exception message after server shutdown (#10841)
  Preparation for MSan UBSan stress tests
  Improve tests for ALTER MOVE
  Fix bad tests
  Fix data rot @blinkov
  Documentation: fix broken link
  Fix infinite loop in test
2020-05-14 01:39:12 +04:00
alesapin
612385d703 Revert "DOCS-628: Stable versions of statistical functions (#10848)"
This reverts commit 1a4ce6b3c8.
2020-05-13 16:32:36 +03:00
Denis Glazachev
1db8f3367a Link ldap[_r] with lber 2020-05-13 15:16:59 +04:00
BayoNet
1a4ce6b3c8
DOCS-628: Stable versions of statistical functions (#10848)
* CLICKHOUSEDOCS-628: Mentioned Stable versions of staticsical functions.

* CLICKHOUSEDOCS-628: Sync from EN to RU.

* Update docs/ru/sql-reference/aggregate-functions/reference.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/sql-reference/aggregate-functions/reference.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* CLICKHOUSEDOCS-628: Updated formatting.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-13 09:08:35 +03:00
Denis Glazachev
36cb24377b Merge branch 'master' into contrib-openldap
* master: (204 commits)
  DOCS-289: randConstant (#10838)
  Update performance_comparison.md
  fix docs build
  Adjust ld+json images, remove feather icons (#10843)
  [docs] faster local/debug build (#10840)
  CLICKHOUSE-4862: some markdown fixes @ ru mergetree.md (#10835)
  CLICKHOUSE-4862: fix link (#10836)
  Some fixes at ru merge-tree-settings.md (#10837)
  Fix MSan failure in cache dictionary
  Fix double whitespace
  Additional assert in ColumnVector
  Fix paths in compiler error messages #10434
  Fix "Arcadia" build
  Fix style check in Block::sortColumns() (sigh)
  Sort iterators to avoid extra std::string creation in Block::sortColumns()
  Optimize Block::sortColumns()
  Better DNS exception message
  Fix logical error in convertFieldToType
  Make order of columns strict in Block::sortColumns()
  Add a test for INSERT into Buffer() with different order of columns (via MV)
  ...
2020-05-13 00:29:09 +04:00
Denis Glazachev
acd8cfc5d2 Added contrib/openldap submodule
Added OpenLDAP find/detection cmake scripts
Added integration for OpenLDAP Linux and Darwin x86_64 platforms (following OpenSSL integration approach)
2020-05-12 23:19:15 +04:00
Alexey Milovidov
b56e62ddf6 Better DNS exception message 2020-05-12 03:11:58 +03:00
alexey-milovidov
caced89773
Merge pull request #10794 from mnkonkova/grpc-cmake
grpc protobuf
2020-05-11 20:44:04 +03:00
mnkonkova
41d2e9d52d test 2020-05-11 12:12:54 +00:00
Alexey Milovidov
222f15a35a Update CPUID after changes were integrated to upstream 2020-05-11 09:21:26 +03:00
alexey-milovidov
aa70cc1d80
Merge pull request #10663 from ClickHouse/update-zstd
Update zstd to 1.4.4
2020-05-11 06:12:40 +03:00
mnkonkova
da004fba02 grpc protobuf 2020-05-11 01:38:46 +00:00
Alexey Milovidov
e8c646ebf5 Fix style 2020-05-10 03:49:05 +03:00
alexey-milovidov
4353d19e87
Merge pull request #10776 from ClickHouse/remove-unnecessarily-warning-suppressions
Remove unnecessary warning suppressions
2020-05-10 03:44:28 +03:00
Alexey Milovidov
c0e68df0ff Fix build 2020-05-10 02:06:03 +03:00
Alexey Milovidov
f0c517e4d1 Fix build 2020-05-10 02:05:35 +03:00
Alexey Milovidov
a576a4fbcd Enable extra warnings for base, utils, programs 2020-05-10 01:59:34 +03:00
Alexey Milovidov
99ceb12b19 Remove unnecessary warning suppressions #10396 2020-05-09 23:30:28 +03:00
Alexey Milovidov
f884306dbc Update zstd to 1.4.4 2020-05-09 21:31:01 +03:00
Alexey Milovidov
91ab871c11 Fix TSan report in CPUID 2020-05-09 21:10:50 +03:00
Amos Bird
e33fb54686
Fix libunwind 2020-05-09 05:44:57 +08:00
Ivan
85d783c247
Poco contrib refactoring (#10396)
* Remove config_common.h
* Refactor libcpuid contrib
* Remove support for libcpuinfo
* Define USE_CPUID in Arcadia
* Refactor Poco libraries
2020-05-08 17:11:19 +03:00
Pavel Kovalenko
215c9c617d Update AWS module. 2020-05-07 17:01:58 +03:00
Andrew Onyshchuk
5e0cccab15 Update contrib/poco 2020-05-05 20:41:04 -05:00
alexey-milovidov
443c64abc0
Merge pull request #10638 from ClickHouse/fix-ubsan-hashtable
Fix UBSan report in HashTable
2020-05-04 04:50:25 +03:00
Alexey Milovidov
80d5db2b8f Avoid UBSan reports from zstd 2020-05-03 22:27:12 +03:00
alexey-milovidov
add569364b
Merge branch 'master' into get_rid_of_external_linker 2020-05-03 18:49:43 +03:00
alexey-milovidov
8af997f3df
Merge pull request #10632 from ClickHouse/use-cmake-linker-for-blobs
Allow to use lld to link blobs
2020-05-03 18:34:02 +03:00
alesapin
6866601e2d Get rid of external linker call 2020-05-03 16:57:18 +03:00
alexey-milovidov
410f77dfce
Merge pull request #10631 from ClickHouse/fix-ubsan-report-lz4
Fix UBSan report in LZ4 library
2020-05-03 14:45:18 +03:00
alexey-milovidov
aeb5487261
Merge branch 'master' into xcode-build-fix 2020-05-03 05:03:49 +03:00
Alexey Milovidov
5bfadc6e90 Allow to use lld to link blobs 2020-05-03 05:01:57 +03:00
Alexey Milovidov
a1f55729be Fix UBSan report in LZ4 library 2020-05-03 04:37:30 +03:00
alexey-milovidov
071ccaaa62
Merge pull request #10630 from ClickHouse/update-lz4
Update LZ4 to the latest dev
2020-05-03 03:40:21 +03:00
alexey-milovidov
a235533d5f
Merge pull request #10576 from Jokser/s3-with-dynamic-proxies
S3 with dynamic proxy configuration
2020-05-03 01:25:13 +03:00
Alexey Milovidov
68f94e4ae7 Update LZ4 to the latest dev 2020-05-03 00:07:18 +03:00
Alexey Milovidov
81adcc9058 Remove obsolete records from system.build_options 2020-05-02 17:00:03 +03:00
Denis Glazachev
66adf60e1b Proper handling of CMAKE_BUILD_TYPE vs CMAKE_BUILD_TYPE_UC 2020-04-30 18:41:22 +04:00
Pavel Kovalenko
bd9a0792b5 Update AWS module 2020-04-29 11:40:29 +03:00
Denis Glazachev
f5600bb8ab Add comments for USE_FOLDERS and CMAKE_FOLDER 2020-04-27 22:34:36 +04:00
Denis Glazachev
22a00bd5a3 Enable organazing targets into folders for GUI-based IDEs
Put all targets of contrib/ into contib/ folder in GUI IDE
2020-04-27 21:50:26 +04:00
Denis Glazachev
bc11e05260 Link an empty dummy.c into base64 target, for Xcode to generate a library 2020-04-27 21:48:01 +04:00
Denis Glazachev
6b02bfadaf Use deduced paths to target executables 2020-04-27 21:46:41 +04:00
Alexey Milovidov
b46cb9be52 Update CCTZ 2020-04-26 19:27:34 +03:00
Alexey Milovidov
340ae71a41 Added missing modification for tzdata library 2020-04-23 03:42:49 +03:00
Alexey Milovidov
91f966610e Do not embed timezones on alien platforms 2020-04-22 20:11:36 +03:00
Alexey Milovidov
04cdb1a4b9 Remove duplicate symbols 2020-04-22 11:59:49 +03:00
Alexey Milovidov
5cf94cd7b9 Merge branch 'master' into embedded-time-zones 2020-04-22 11:52:24 +03:00
Alexey Milovidov
b205d7cdb2 Remove accidential dependency on Z3 2020-04-22 06:54:11 +03:00
Alexey Milovidov
45b5afa131 Avoid dependency on system tzdata 2020-04-22 06:17:29 +03:00
Amos Bird
2d08c8e4ab
clang-10 fix 2020-04-20 15:45:37 +08:00
Vitaly Baranov
d62345bbaa Show information about not loaded dictionaries in system.columns, system.tables
and in "SHOW TABLES" executed in any database with the "Dictionary" engine.
2020-04-18 12:50:54 +03:00
alexey-milovidov
17e7d4d88a
Merge pull request #10307 from abyss7/arcadia-4
Changes for auto-sync with Arcadia
2020-04-17 05:08:34 +03:00
Alexey Milovidov
f3fe13a794 Update submodule 2020-04-15 01:53:12 +03:00
Ivan Lezhankin
871d3f2aa0 Move contrib/widecharwidth → base/widechar_width 2020-04-13 18:55:48 +03:00
Ivan Lezhankin
910ab8a265 Move contrib/libpcg-random → base/pcg-random 2020-04-13 18:42:58 +03:00
Alexey Milovidov
ceb5c1964a Update cctz just in case #10211 2020-04-12 23:48:51 +03:00
Ivan
19bb2976b9
Update pdqsort to recent version (#10171) 2020-04-11 14:16:14 +03:00
Ivan
67235834b3
Update libdivide to v3.0 (#10169) 2020-04-11 14:14:01 +03:00
Vitaly Baranov
9208847a85 Update submodule libc-headers to a new version. 2020-04-11 00:07:08 +03:00
Avogar
7a96984dd8 Merge branch 'master' of github.com:ClickHouse/ClickHouse into msgpack_format 2020-04-04 16:44:44 +03:00
Alexander Tokmakov
cb933a3d19 fix races in 01108_restart_replicas_rename_deadlock 2020-04-03 03:08:51 +03:00
Ivan Lezhankin
26e81a2bbf Add dl library dependency 2020-03-31 21:58:00 +03:00
Ivan Lezhankin
db6e374d39 Fix build for ancient CMake 2020-03-30 15:06:30 +03:00
Kruglov Pavel
18daaf6de5
Merge branch 'master' into msgpack_format 2020-03-26 20:11:49 +03:00
Avogar
b02636f916 Add MsgPackRowInputFormat, msgpack-c contrib and tests. 2020-03-26 19:46:13 +03:00
Ivan Lezhankin
03d3332d43 Fix cmake for unbundled build 2020-03-22 13:51:58 +03:00
Ivan Lezhankin
362aca365f Merge branch 'master' into jemalloc 2020-03-21 22:50:48 +03:00
Ivan Lezhankin
86cb4811b5 Build shared jemalloc in splitted mode 2020-03-21 22:49:26 +03:00
Amos Bird
cf9ca33c88
using double width space to display newline ch 2020-03-21 21:46:32 +08:00
alexey-milovidov
5645c202e6
Merge pull request #9790 from amosbird/cg
Better cli client
2020-03-21 16:05:20 +03:00
Amos Bird
6fe1839f9e
Better cli client 2020-03-21 13:17:12 +08:00
Alexey Milovidov
e4192a0937 Update submodule 2020-03-21 05:02:19 +03:00
Alexey Milovidov
b8a66ec59d Update Poco 2020-03-20 21:55:03 +03:00
Alexander Kuzmenkov
d5822e7ebe
Merge pull request #6892 from ClickHouse/aku/poco-1.9.3
Update Poco to 1.9.3.
2020-03-20 06:03:48 +03:00
alexey-milovidov
fd81507a9b
Merge pull request #9753 from amosbird/ce
correct highlighting for completion prefix
2020-03-19 21:57:52 +03:00
Alexander Kuzmenkov
b3a4e4e58f Update Poco to 1.9.3 2020-03-19 19:05:41 +03:00
Amos Bird
412c9b6de0
correct highlighting for completion prefix 2020-03-19 19:16:05 +08:00
Ivan
571d0d541c
Improve CCTZ contrib (#9687)
* common/Types.h → common/types.h
  Also split Core/Defines.h and merge with common/likely.h
* Improve cctz contrib
* Fix ALWAYS_INLINE and unbundled build
* Update Dockerfile from master
* Fix test for unbundled library
2020-03-19 13:38:34 +03:00
Alexey Milovidov
c0f7e5c908 Revert "Removed always built target"
This reverts commit 5983cf03a6.
2020-03-19 01:22:04 +03:00
Alexey Milovidov
5983cf03a6 Removed always built target 2020-03-18 21:27:33 +03:00
Ivan Lezhankin
5a2e829489 Some fixes 2020-03-18 15:29:51 +03:00
Ivan Lezhankin
528e42bc4c Improve jemalloc contrib 2020-03-18 15:29:51 +03:00
Artem Zuikov
d7d9078183 fix build with dynamic libs 2020-03-13 20:19:28 +03:00
Ivan
b7ef5a699c
Move FastMemcpy to contribs (#9219)
* Get rid of non-existent vectorclass
* Move FastMemcpy to contribs
* Restore comments
* Disable FastMemcpy on non-Linux
* Fix cmake file
* Don't build FastMemcpy for ARM64
* Replace FastMemcpy submodule with its contents
* Fix cmake file
* Move widechar_width to contrib/
* Move sumbur to contrib/
* Move consistent-hashing to contrib/
* Fix UBSan tests
2020-03-13 01:26:16 +03:00
alexey-milovidov
beed841441
Merge branch 'master' into clang-tidy 2020-03-11 10:16:13 +03:00
alexey-milovidov
fe1c2ee9ac
Merge pull request #9588 from amosbird/cb
clean up grpc module
2020-03-11 03:23:11 +03:00
Alexey Milovidov
6107a53ece Workaround for clang-tidy 2020-03-11 03:16:47 +03:00
alexey-milovidov
8a313e9f31
Revert "Update JEMalloc just in case" 2020-03-10 20:28:14 +03:00
Amos Bird
f9ff7714f8
clean up grpc module 2020-03-11 00:05:07 +08:00
Alexey Milovidov
06e00b2018 Fixed build 2020-03-09 07:08:19 +03:00
Alexey Milovidov
386151a3d7 Merge branch 'master' into update-jemalloc 2020-03-09 07:05:53 +03:00
Alexey Milovidov
49894c7bf2 Update libunwind for WSL 2020-03-08 20:00:08 +03:00
tavplubix
3b770d8b1b
Fix stateless tests with msan (#9531)
* try run tests

* try fix build

* try enable other libraries

* suppress some msan warnings

* Update msan_suppressions.txt

* Update msan_suppressions.txt

* use function names in suppressions list

* update submodule
2020-03-08 12:32:22 +03:00
Alexey Milovidov
b75927e4ed Update JEMalloc just in case 2020-03-08 01:59:56 +03:00
Alexey Milovidov
66d033a1ae Update base64 2020-03-04 01:51:57 +03:00
CurtizJ
0f45c5fc59 fix data race at destruction of Poco::HTTPServer 2020-03-02 19:21:53 +03:00
alexey-milovidov
a9a757dc7c
Merge pull request #9433 from amosbird/cleanbuild
cleaning duplicate linker flags
2020-02-28 23:59:55 +03:00
Amos Bird
615c6bba91
cleaning duplicate linker flags 2020-02-28 18:56:33 +08:00
proller
6b2d6e9392
Build fixes (#9381)
* Revert "Revert "Build fixes""

This reverts commit 355ff00c2e.

* zlib link fix
2020-02-28 03:07:42 +03:00
Alexey Milovidov
6e37d765e6 Fix submodules 2020-02-27 16:13:20 +03:00
alexey-milovidov
86a4ccafc1
Merge pull request #8956 from ClickHouse/update-openssl
Update OpenSSL
2020-02-27 15:07:46 +03:00
Alexey Milovidov
ef9e9dba58 Update OpenSSL 2020-02-26 21:02:58 +03:00
Alexey Milovidov
2378018006 Update configuration of OpenSSL, enable getrandom 2020-02-26 18:15:00 +03:00
Alexey Milovidov
1e3e4615a9 Merge branch 'master' into update-openssl 2020-02-26 18:13:01 +03:00
Amos Bird
ce28d2eb82
Better cmdline client 2020-02-26 02:40:52 +08:00
Alexey Milovidov
5086fd0c98 Update SIMDJSON to master #9209 2020-02-24 21:14:37 +03:00
alexey-milovidov
16fa46a65c
Update CMakeLists.txt 2020-02-24 03:07:32 +03:00
alexey-milovidov
d12433a45b
Update CMakeLists.txt 2020-02-24 01:12:00 +03:00
Alexey Milovidov
b4d3ed8340 Fixed build for AArch64 2020-02-23 23:07:54 +03:00
Alexey Milovidov
953c6efc4d Update CMake for AArch64 2020-02-23 03:40:30 +03:00
Alexey Milovidov
8edfd1fca8 Merge branch 'master' into update-openssl 2020-02-23 03:34:57 +03:00
Alexey Milovidov
e392e9723e Update libcxx 2020-02-23 01:47:04 +03:00
Alexey Milovidov
0bc2debb44 Merge branch 'master' into correct-werror 2020-02-22 23:07:07 +03:00
Alexey Milovidov
ce073e0752 Fixed strange code 2020-02-22 23:05:33 +03:00
Alexey Milovidov
8ac86b4eb8 Update submodule 2020-02-22 23:05:03 +03:00
Alexey Milovidov
f9b4ec2578 Fixed bad code 2020-02-22 22:49:05 +03:00
Alexey Milovidov
d1deba0f78 Fixed bad code 2020-02-22 22:47:32 +03:00
Alexey Milovidov
3098fbbdc8 Fixed bad code 2020-02-22 22:46:41 +03:00
Alexey Milovidov
fd523fa796 Fixed bad code 2020-02-22 22:45:53 +03:00
Alexey Milovidov
1ba67b1bb4 Fixed bad code 2020-02-22 22:44:31 +03:00
Alexey Milovidov
8fc858ac48 Add std::hash implementation for char8_t 2020-02-22 18:06:42 +03:00
Alexey Milovidov
38e33833be Update libcxx and libcxxabi 2020-02-22 17:53:21 +03:00
alexey-milovidov
355ff00c2e
Revert "Build fixes" 2020-02-16 11:48:01 +03:00
alexey-milovidov
ace75296df
Merge pull request #8435 from levysh/add-grpc-contrib
Add grpc contrib
2020-02-16 09:27:34 +03:00
proller
cf39e9d64a Merge remote-tracking branch 'upstream/master' into fix27 2020-02-14 21:28:09 +03:00
alexey-milovidov
6d97f3a008
Merge pull request #9066 from oandrew/avro-bugfix
Avoid throwing from destructor (Avro)
2020-02-13 16:58:07 +03:00
proller
4c3b8649e3 Merge remote-tracking branch 'upstream/master' into fix27 2020-02-12 13:59:14 +03:00
Alexander Kuzmenkov
badbdf3e48
Merge pull request #9000 from oandrew/upgrade-rdkafka
Upgrade librdkafka to v1.3.0
2020-02-11 21:20:52 +03:00
Andrew Onyshchuk
b4eea18309 Avoid throwing from destructor (Avro) 2020-02-10 13:43:08 -06:00
Ivan
9251fb803a
Enable OpenSSL support in Curl (#9039)
* Enable OpenSSL support in Curl
* Define macro CURL_CA_BUNDLE
2020-02-10 15:41:13 +03:00
Alexander Tokmakov
5fba5f97dd update submodule 2020-02-07 16:35:15 +03:00
proller
ae78c9b6bc Fix zlib includes 2020-02-07 02:26:45 +03:00
proller
487d1ff491 Fix system zlib headers usage 2020-02-07 00:31:53 +03:00
Alexander Tokmakov
acef7fc5bd add test 2020-02-06 20:23:05 +03:00
Alexander Tokmakov
180b5d409d fix poco secure sockets timeouts 2020-02-05 23:45:16 +03:00
Andrew Onyshchuk
bf23e3918a trigger build 2020-02-05 09:02:39 -06:00
Andrew Onyshchuk
c76e5a470a update contrib/libgsasl 2020-02-05 08:12:35 -06:00
Aleksei Levushkin
2723057e80 added zlib-ng instead zlib 2020-02-05 14:48:59 +03:00
Andrew Onyshchuk
9de5dffb5c Upgrade librdkafka to v1.3.0
Allow bundled librdkafka on Mac
2020-02-04 16:12:24 -06:00
proller
bce3ec2a29 Revert "Revert "Build fixes""
This reverts commit 9e0b40bf09.
2020-02-03 19:46:17 +03:00
Alexey Milovidov
9664476479 Update OpenSSL 2020-02-03 02:52:27 +03:00
alexey-milovidov
9e0b40bf09
Revert "Build fixes" 2020-02-02 23:21:49 +03:00
Aleksei Levushkin
439ef6af9a turn off protobuf tests 2020-02-02 16:36:59 +03:00
proller
9937af92bf Fix 2020-02-02 15:23:13 +03:00
levysh
9928b0bbb2
Merge branch 'master' into add-grpc-contrib 2020-02-02 14:47:16 +03:00
proller
e6ec39bf20 Fix gcc8 2020-01-30 19:46:36 +03:00
proller
cd0e9217da Merge remote-tracking branch 'upstream/master' into fix27 2020-01-30 18:11:22 +03:00
Ivan
ec5c513faa
Implement separate CMake build file for curl library (#8905) 2020-01-30 12:51:04 +03:00
proller
936c357e05 Merge remote-tracking branch 'upstream/master' into fix27 2020-01-27 17:54:43 +03:00
Alexey Milovidov
205f798491 Update Avro submodule to prevent UBSan failure 2020-01-23 23:04:53 +03:00
Alexey Milovidov
680da3d7ed Merge remote-tracking branch 'origin/master' into oandrew-avro 2020-01-23 22:08:08 +03:00
Alexey Milovidov
64984cf061 Update Avro submodule to prevent UBSan failure 2020-01-23 22:06:53 +03:00
Gregory
814c431674
Add extern "C" for cgo in arcadia to link [STRM-1049]
See https://a.yandex-team.ru/review/1018931/files/
2020-01-23 12:22:00 +03:00
Ivan
b80e3dcd46
Refactoring of replxx (#8748) 2020-01-23 11:18:19 +03:00
Alexey Milovidov
2a6b9fbeb4 Merge branch 'master' into oandrew-avro 2020-01-22 22:37:07 +03:00
proller
4ba97e97e1 zlib fixes 2020-01-21 01:15:56 +03:00
Alexey Milovidov
7eb35a61ac Minor changes in CMakeLists 2020-01-19 20:09:58 +03:00
alexey-milovidov
901009d9b0
Merge branch 'master' into oandrew-avro 2020-01-19 03:37:29 +03:00
Alexey Milovidov
4dd7bb7c50 Fixed configuration of replxx 2020-01-19 03:18:25 +03:00
Alexey Milovidov
47f6156ad8 Correct configuration of replxx 2020-01-19 03:01:49 +03:00
Alexey Milovidov
76e04b9843 Merge branch 'avro' of https://github.com/oandrew/ClickHouse into oandrew-avro 2020-01-18 21:23:55 +03:00
alexey-milovidov
86a062110d
Merge pull request #8704 from kreuzerkrieg/MoreGCCWarnings
Enable -Wmissing-include-dirs for GCC
2020-01-18 20:12:56 +03:00
Alexey Milovidov
f7efa5e2c7 Merge branch 'replxx' of https://github.com/abyss7/ClickHouse into abyss7-replxx 2020-01-18 17:00:59 +03:00
kreuzerkrieg
0bf3ea4247 Enable -Wmissing-include-dirs for GCC 2020-01-18 10:46:27 +02:00
proller
2804feb941 Merge remote-tracking branch 'upstream/master' into fix27 2020-01-13 12:29:55 +03:00
Alexey Milovidov
8b67083200 Update base64 2020-01-12 17:39:20 +03:00
Alexey Milovidov
ffadcef514 Added checks 2020-01-12 16:47:12 +03:00
Alexey Milovidov
69d4e775bd Update base64 2020-01-11 20:49:27 +03:00
alexey-milovidov
f051844eb7
Merge branch 'master' into replxx 2020-01-11 19:59:33 +03:00
Alexey Milovidov
d3bbfa357e base64 library is not ready for -Weverything 2020-01-11 16:17:10 +03:00
Alexey Milovidov
6ee0a28524 Merge branch 'base64-update' of github.com:yandex/ClickHouse into base64-update 2020-01-11 14:03:49 +03:00
Alexey Milovidov
83869b78ca Merge branch 'master' into base64-update 2020-01-11 14:03:18 +03:00
alexey-milovidov
0a3a9a61e4
Merge pull request #8604 from abyss7/add-warning-macro
Add CMake macro add_warning to check if compiler supports warning
2020-01-10 19:22:25 +03:00
Alexander Kuzmenkov
10ba9d38c0 Revert "Performance comparison improvements."
This reverts commit 52dff20d91.
2020-01-10 17:08:40 +03:00
Alexander Kuzmenkov
52dff20d91 Performance comparison improvements. 2020-01-10 17:08:08 +03:00
Ivan Lezhankin
8eb0cd82fe Add CMake macro add_warning to check if compiler supports warning 2020-01-10 13:25:14 +03:00
Andrew Onyshchuk
e96b3059c0 Refactor Avro CMake 2020-01-10 00:03:32 -06:00
levysh
0b0fff8dc4
Merge branch 'master' into add-grpc-contrib 2020-01-09 20:11:23 +03:00
Ivan Lezhankin
5950f6c081 Merge remote-tracking branch 'upstream/master' into replxx 2020-01-09 19:21:04 +03:00
Alexander Burmak
4a9e2399a7 Updated contrib/googletest to v1.10.0 2020-01-09 13:03:24 +03:00
proller
674d34e93e Merge remote-tracking branch 'upstream/master' into fix27 2020-01-08 18:43:54 +03:00
Andrew Onyshchuk
7320447f92 Add Avro formats
Add Avro file input/output formats
Add AvroConfluent input format (for Kafka)
2020-01-08 03:18:00 -06:00
Alexey Milovidov
828e43cf94 Slightly more compatible 2020-01-06 16:41:08 +03:00
Alexey Milovidov
cc369d97ff Make Ryu "to shortest" mode compatible with double-conversion 2020-01-06 14:33:30 +03:00
Alexey Milovidov
6f5e74cade Make Ryu "to shortest" mode compatible with double-conversion 2020-01-06 13:38:00 +03:00
Alexey Milovidov
e14f5bef39 Make Ryu "to shortest" mode compatible with double-conversion 2020-01-06 13:34:33 +03:00
Alexey Milovidov
2d47572603 Using "ryu" library to format floats 2020-01-06 06:22:11 +03:00
alexey-milovidov
e894015acd
Merge pull request #8526 from ClickHouse/general-compression-rework
Removed bad code around general compression methods
2020-01-06 01:25:58 +03:00
Alexey Milovidov
33bba81f47 Update zlib-ng just in case 2020-01-05 08:45:28 +03:00
Vladimir Chebotarev
9cf2827dc0 Fixed build without crypto. 2020-01-04 16:04:40 +03:00
Vladimir Chebotarev
e5b0be289c
Improved extracting of GCC version. 2020-01-03 16:25:00 +03:00
Alexey Milovidov
e2525186cb Update submodule "libc-headers" 2020-01-03 00:43:33 +03:00
alexey-milovidov
03be29eddb
Merge pull request #8501 from ClickHouse/stack-trace-in-std-exception
Calculate stack trace for std::exception (experimental)
2020-01-03 00:22:12 +03:00
Alexey Milovidov
628ab6849f Fixed build 2020-01-02 19:38:09 +03:00
proller
4bb320627c Merge remote-tracking branch 'upstream/master' into fix27 2020-01-02 14:29:48 +03:00
proller
5b9c12ba3b Merge remote-tracking branch 'upstream/master' into fix27 2020-01-02 14:29:22 +03:00
Alexey Milovidov
2889d3541c Fixed comment 2020-01-02 11:02:33 +03:00
Alexey Milovidov
67afaa9d93 Stack trace for every exception (experimental) 2020-01-02 09:56:53 +03:00
Ivan
835be7d47c
Proper ASM files generation for darwin (#8297) 2020-01-02 03:28:40 +03:00
Alexey Milovidov
f13e52a505 Updated submodule 2020-01-02 01:57:05 +03:00
Alexey Milovidov
42f34aa3b4 Attempt to fix AArch64 build 2020-01-02 01:55:59 +03:00
Alexey Milovidov
0af3ee20e1 Merge branch 'master' into base64-update 2020-01-02 01:03:48 +03:00
alexey-milovidov
14563da602
Merge pull request #8447 from amosbird/c++20
C++20
2019-12-31 21:06:41 +03:00
Alexey Milovidov
aa979eb438 Fixed build on AArch64 2019-12-31 06:14:57 +03:00
Alexey Milovidov
625e318b10 Update base64 and remove the obsolete check 2019-12-31 04:16:08 +03:00
Alexey Milovidov
33490e2517 Merge branch 'master' into base64-update 2019-12-31 04:13:33 +03:00
Alexey Milovidov
ea0df54c0f Remove -fPIC from some libraries 2019-12-29 23:06:44 +03:00
Alexey Milovidov
3d8703e81b Minor cleanups 2019-12-29 16:20:41 +03:00
Alexey Milovidov
d635441090 Removed all harmful libraries 2019-12-29 16:04:11 +03:00
Aleksei Levushkin
13643d825b added PROTOBUF_GENERATE_GRPC_CPP for generating grpc proto 2019-12-29 14:40:55 +03:00
Amos Bird
bbc736f2d9
c++20! 2019-12-29 03:08:25 +08:00
Alexey Milovidov
3b6181afd5 Switched back to TurboBase64 2019-12-28 03:18:08 +03:00
Alexey Milovidov
b04586ef55 Merge remote-tracking branch 'origin/master' into base64-update 2019-12-28 02:27:32 +03:00
Aleksei Levushkin
bbd368cdac added grpc-cmake 2019-12-27 16:33:42 +03:00
Aleksei Levushkin
145f0702e5 added grpc as submodule 2019-12-27 16:33:08 +03:00
Ivan Lezhankin
bf22e12e4e Initial replacement readline → replxx 2019-12-27 16:17:36 +03:00
Ivan Lezhankin
61c73d04f0 Improve CMakeLists.txt 2019-12-27 16:17:36 +03:00
Ivan Lezhankin
66517796ee Import replxx into contrib 2019-12-27 16:17:36 +03:00
proller
0f46f6d74e Merge remote-tracking branch 'upstream/master' into fix27 2019-12-27 14:52:19 +03:00
Maxim Ulanovskiy
cc13466baa arrow headers generated by flatc are moved from src to binary 2019-12-26 20:26:22 +03:00
proller
b96d3509df Merge remote-tracking branch 'upstream/master' into fix27 2019-12-26 15:18:53 +00:00
alexey-milovidov
af3c52d5fc
Merge pull request #8334 from maxulan/parquet_list_reading_fix
Parquet list reading fix
2019-12-26 17:33:30 +03:00
proller
c8301b69cc Merge remote-tracking branch 'upstream/master' into fix27 2019-12-26 16:59:34 +03:00
Alexey Milovidov
66e2bd06ba Update base64 library just in case 2019-12-26 04:43:18 +03:00
Alexey Milovidov
063682ef9c Changed one base64 library to another 2019-12-25 22:44:00 +03:00
proller
c3ea8783ef Build fixes 2019-12-25 15:31:49 +00:00
Maxim Ulanovskiy
dbaf470541 disabled building of unused arrow ipc cmd utils 2019-12-25 11:37:21 +03:00
Maxim Ulanovskiy
8222cbccbd added arrow dependency on flatbuffers generated files 2019-12-25 04:59:34 +03:00
Maxim Ulanovskiy
b43ea04548 Merge branch 'master' into parquet_list_reading_fix 2019-12-25 04:09:39 +03:00
Maxim Ulanovskiy
fc9f548ee0 arrow-cmake: targeted FLATBUFFERS_INCLUDE_DIR for Darwin 2019-12-24 19:59:22 +03:00
Alexey Milovidov
2befa5aec5 Fixed build on old systems 2019-12-24 19:51:37 +03:00
Maxim Ulanovskiy
55af29ab0c arrow lib: excluded compression_bz2 2019-12-24 19:41:41 +03:00
Maxim Ulanovskiy
0f1347d0b2 added pre-generated arrow headers 2019-12-24 18:17:15 +03:00
maxulan
031dbe465d
Merge branch 'master' into parquet_list_reading_fix 2019-12-23 10:01:41 +03:00
Maxim Ulanovskiy
e9021f6377 flatbuffers lib downloading replaced with contrib/flatbuffers 2019-12-23 09:51:35 +03:00
Maxim Ulanovskiy
5d12b7e24b added submodule flatbuffers v1.11.0 2019-12-22 15:24:23 +03:00
maxim
558324e773 fixed reading of parquet files containing columns of type list 2019-12-22 10:15:51 +03:00
maxim
76869bb695 arrow version updated to apache-arrow-0.15.1 2019-12-21 07:30:55 +03:00
Alexey Milovidov
dbbc13213b Added missing translation units 2019-12-20 21:36:13 +03:00
Alexey Milovidov
46372c9520 Updated libc++ 2019-12-20 21:25:19 +03:00
alexey-milovidov
1b528ab2f1
Merge pull request #5773 from ClickHouse/libc-headers
Imported libc headers to contrib.
2019-12-20 18:14:19 +03:00
alexey-milovidov
b864bc49b9
Merge pull request #8310 from ClickHouse/remove-tcmalloc
Remove support for tcmalloc
2019-12-20 05:04:19 +03:00
Alexey Milovidov
69083eee7a Fixed warning while building libunwind 2019-12-20 05:02:11 +03:00
Alexey Milovidov
9a27ed559b Fixed warning while building libunwind 2019-12-20 04:59:24 +03:00
Alexey Milovidov
6b25f8991d Fixed warning while building libunwind 2019-12-20 04:56:20 +03:00
Alexey Milovidov
efe0492bee Replaced libc-headers with submodule 2019-12-20 04:50:20 +03:00
alexey-milovidov
c6a286c3ee
Merge branch 'master' into libc-headers 2019-12-20 04:15:15 +03:00
Alexey Milovidov
cea2903e72 Fixed build: set compile flags only when appropriate 2019-12-20 03:35:35 +03:00
Alexey Milovidov
fe604cf3e7 Remove support for tcmalloc 2019-12-20 02:59:55 +03:00
Alexey Milovidov
0d089700fa Remove support for tcmalloc 2019-12-20 02:56:40 +03:00
Vitaly Baranov
3ba66dd704
Merge pull request #8292 from vitlibar/update-simdjson
Fix memory leak in simdjson.
2019-12-20 00:36:54 +03:00
alexey-milovidov
e83eeef731
Merge pull request #8258 from ClickHouse/update-llvm-bisect
Update LLVM in contrib
2019-12-19 22:22:32 +03:00
Alexey Milovidov
814690e26f Fixed selection of targets 2019-12-19 19:49:32 +03:00
Vitaly Baranov
dcb0d530e6 Fix our CMakeLists for simdjson. 2019-12-19 17:03:27 +03:00
Vitaly Baranov
5a8ad1ba76 Update simdjson. This fixes memory leak in json_parse_implementation<T>. 2019-12-19 13:31:05 +03:00
Alexey Milovidov
042f39fe1f Fixed build 2019-12-19 02:30:10 +03:00
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