Commit Graph

2517 Commits

Author SHA1 Message Date
Raúl Marín
229b8658db s2 cleanup 2021-12-13 16:49:22 +01:00
Raúl Marín
fe9a2c7e04 Abseil: Use upstream lts_2021_11_02 branch 2021-12-13 16:49:22 +01:00
Raúl Marín
1c26033383 Update contrib/s2geometry-cmake/CMakeLists.txt 2021-12-13 16:49:22 +01:00
Raúl Marín
61d959df8f Fix arrow build 2021-12-13 16:49:22 +01:00
Raúl Marín
d9e4544239 Adapt to arrow 6 2021-12-13 16:49:21 +01:00
Kseniia Sumarokova
78ed383f15
Merge pull request #31505 from ContentSquare/azure_blob_storage_dependency
Azure Blob Storage Disks
2021-12-13 18:28:48 +03:00
李扬
8675086104
Merge branch 'master' into hive_table 2021-12-12 09:01:46 -06:00
Azat Khuzhin
4e4837758a Remove readline support
- it was not nested for a long time
- replxx is an upstream way for completion
2021-12-11 11:29:59 +03:00
Jakub Kuklis
26a6ef7138 Updating azure submodule with ClickHouse-Extras fork 2021-12-10 22:04:38 +01:00
Jakub Kuklis
0a3caa3020 Trying to solve compilation issue for a GCC build 2021-12-10 22:04:38 +01:00
Jakub Kuklis
e9f8859f01 Update azure submodule 2021-12-10 22:04:38 +01:00
Jakub Kuklis
b605894768 Removing spurious '/' character 2021-12-10 22:04:38 +01:00
Jakub Kuklis
6acbec4455 Rebased on master 2021-12-10 22:04:38 +01:00
Jakub Kuklis
0c65cfed1f Addressing first PR remarks 2021-12-10 22:04:37 +01:00
Jakub Kuklis
b3c4a92cc0 Code cleanup 2021-12-10 22:04:37 +01:00
Youenn Lebras
bf4fca0351 Fix compilation issues with Azure in order to follow the main git and not a patched one. 2021-12-10 22:04:37 +01:00
Jakub Kuklis
4ddc3abfe3 Patch for fixing warnings triggered by Azure SDK, cd to contrib/azure and use 'git apply ../azure-cmake/azure_patch 2021-12-10 22:04:37 +01:00
Jakub Kuklis
4f506c4fc6 Forgot about commiting this file 2021-12-10 22:04:37 +01:00
Jakub Kuklis
ec4d2a9e03 Removing unused file 2021-12-10 22:04:36 +01:00
Jakub Kuklis
4711be1ab7 Cleaning azure-cmake CMakeLists.txt 2021-12-10 22:04:36 +01:00
Jakub Kuklis
81361640b9 Using internal curl library 2021-12-10 22:04:36 +01:00
Jakub Kuklis
162e2b334b Initial working example of Azure Blob Storage manipulation from within ClickHouse 2021-12-10 22:04:36 +01:00
mergify[bot]
a07061ac84
Merge branch 'master' into update-mongo-contrb 2021-12-10 08:57:16 +00:00
Nikolay Degterinsky
2b2ffcc8ea Merge branch 'master' into classification 2021-12-09 11:22:01 +00:00
kssenii
68b7111694 Update poco 2021-12-08 18:17:39 +00:00
Azat Khuzhin
130be9a4f9 Bump libpqxx to fix assertion in jemalloc
Refs: https://github.com/ClickHouse-Extras/libpqxx/pull/5
2021-12-04 09:19:34 +03:00
Azat Khuzhin
4709ff9340 More generic check for CMAKE_BUILD_TYPE in jemalloc 2021-12-04 09:19:34 +03:00
mergify[bot]
a1b31018d9
Merge branch 'master' into fix-lz4 2021-12-02 12:00:43 +00:00
taiyang-li
2f4e7e1d4e merge master 2021-12-02 19:48:21 +08:00
Mikhail f. Shiryaev
78ed97ea60
Update contrib/sysroot: fix symlink 2021-12-01 17:10:28 +01:00
lgbo-ustc
9709356661 rollback submodule 2021-11-30 19:09:09 +08:00
lgbo-ustc
1014ca8c58 make two loops in clearing cached files into one 2021-11-30 17:57:58 +08:00
taiyang-li
ad6ba24efd fix ArrowColumnToCHColumn 2021-11-30 10:49:57 +08:00
alexey-milovidov
1cc9c92d0a
Merge pull request #31951 from Algunenano/libcxx13
Drop libc-headers
2021-11-30 05:23:23 +03:00
alexey-milovidov
a7de366741
Merge pull request #31957 from traceon/macos-fixes
Give some love to macOS platform
2021-11-30 04:15:32 +03:00
Raúl Marín
6a04dcb492 Remove libc-headers 2021-11-29 19:55:57 +01:00
Denis Glazachev
fd10077f3b Re-add the submodule
Bump the submodule
Change the tracking branch
2021-11-29 21:10:37 +03:00
Denis Glazachev
dc8ef13425 WIP: remove submodule 2021-11-29 21:06:54 +03:00
avogar
4fbd8ee38d Update lz4 contrib 2021-11-29 14:12:13 +03:00
Denis Glazachev
3fc3cd890c Fix Apple M1 GCC builds 2021-11-27 02:07:24 +03:00
taiyang-li
d35e2a1c83
Merge branch 'master' into hive_table 2021-11-26 11:44:50 +08:00
Alexey Milovidov
a9c2f38281 Even more reproducible builds 2021-11-26 05:49:51 +03:00
Denis Glazachev
a36f7abc56 Do not update FOLDER property on aliased targets 2021-11-26 02:04:11 +03:00
Denis Glazachev
e41ed7cc6e Fix GCC compilation in macOS 2021-11-26 02:03:04 +03:00
Nikita Mikhaylov
619ad46340
Fix oss-fuzz build (#31818) 2021-11-26 01:14:34 +03:00
taiyang-li
72f60cceb9
Merge branch 'master' into hive_table 2021-11-25 17:33:26 +08:00
Kseniia Sumarokova
d09e3f0885
Merge pull request #31703 from kssenii/hdfs-disable-logging
hdfs disable stderr logging
2021-11-25 09:52:02 +03:00
Alexey Milovidov
7a95d7f29d Remove annoying messages 2021-11-25 01:55:36 +03:00
Alexey Milovidov
05349ce7a6 Do not build protobuf twice 2021-11-25 01:50:54 +03:00
Alexey Milovidov
05b8f0b891 Update submodule 2021-11-25 01:34:51 +03:00
Alexey Milovidov
21f112b30e Merge branch 'better-crosscompiling-freebsd' into hermetic-builds 2021-11-24 22:43:30 +03:00
kssenii
157b0cd846 hdfs disable logging 2021-11-24 16:10:03 +03:00
Mikhail f. Shiryaev
240fb612c8
Merge pull request #31677 from ClickHouse/update-base64-2
Update base64 library
2021-11-24 12:52:46 +01:00
taiyang-li
89dcef69d5 merge master 2021-11-24 14:38:04 +08:00
Alexey Milovidov
6859be2b3d Update base64 library 2021-11-24 03:17:11 +03:00
Alexey Milovidov
1cfa52f921 Always re-render prompt while navigating history 2021-11-24 02:01:31 +03:00
Alexey Milovidov
51ee8fdbb0 More easy cross-compiling for FreeBSD 2021-11-24 00:32:04 +03:00
alexey-milovidov
341f705419
Merge pull request #30599 from ClickHouse/zlib-ng-own-cmake
Use our own CMakeLists for `zlib-ng`, `cassandra`, `mariadb-connector-c` and `xz`, `re2`, `sentry`, `gsasl`, `arrow`, `protobuf`.
2021-11-23 13:33:29 +03:00
lgbo
996d7125c0
Merge branch 'master' into hive_table 2021-11-23 10:19:02 +08:00
Alexey Milovidov
200913a5a5 Remove garbage 2021-11-23 02:23:52 +03:00
Alexey Milovidov
1e057d51c1 Fix error 2021-11-23 02:17:53 +03:00
Alexey Milovidov
a31abc2264 One step back 2021-11-23 02:11:38 +03:00
Alexey Milovidov
e288ff409a Fix error 2021-11-23 01:57:28 +03:00
Alexey Milovidov
67306ddb1c Fix error 2021-11-23 01:44:46 +03:00
Azat Khuzhin
5d6e5b60ab Add bindings for navigating through history (instead of lines/history)
Before this patch, replxx history_next/history_previous (which were
mapped to UP/DOWN) navigates through history lines first (in multi-line
mode, and after through history.

But it is not convenient, since in case of query contains lots of line
it can take awhile.

So now, after this update, replxx will change the meaning of
history_next/history_previous (which will be binded to M-UP/M-DOWN),
those actions will always navigates through history lines.

And new actions, line_next/line_previous (binded to UP/DOWN) will
navigate through lines of current item first, and when it reaches
begin/end it will go the previous/next history item.

Also note, that ClickHouse rebind of C-P/C-N is fine, since it is binded to
history_next/history_previous, and this is desired (like in readline).

Follow-up for: #30143 (cc: @amosbird)
2021-11-22 21:05:53 +03:00
taiyang-li
75bd6c6085 fix build 2021-11-22 12:29:40 +08:00
taiyang-li
d22854e82b add compile swiych USE_HIVE 2021-11-22 10:52:10 +08:00
Alexey Milovidov
6b49eb1362 Fix build 2021-11-22 01:09:20 +03:00
Alexey Milovidov
378709da90 Fix builds 2021-11-22 00:15:18 +03:00
Alexey Milovidov
f1ff1426f2 Fix build 2021-11-21 21:23:29 +03:00
Alexey Milovidov
9cf72e3d7b Our own CMakeFiles for protobuf 2021-11-21 19:58:50 +03:00
Alexey Milovidov
048a8b784b Our own CMakeFiles for gtest 2021-11-21 19:30:36 +03:00
Alexey Milovidov
3f4b6da6a8 Our own CMakeLists for arrow 2021-11-21 19:16:12 +03:00
Alexey Milovidov
1faefdf8ee Our own CMakeLists for gsasl 2021-11-21 19:00:01 +03:00
Alexey Milovidov
a87422f3a3 Our own CMakeFiles for sentry 2021-11-21 18:43:06 +03:00
Alexey Milovidov
9c86dcb09e Our own CMakeFiles for re2 2021-11-21 18:27:33 +03:00
Alexey Milovidov
818291aded Remove unneeded submodules 2021-11-21 18:13:58 +03:00
Alexey Milovidov
c5fcef03c3 Remove trash 2021-11-21 18:12:05 +03:00
Alexey Milovidov
a868dbb4c5 Add our own CMakeFiles for fast_float 2021-11-21 18:09:41 +03:00
Alexey Milovidov
5eba52cb02 Our own CMakeLists for xz 2021-11-21 18:00:41 +03:00
Alexey Milovidov
1f85bbed9b Fix build 2021-11-21 16:21:06 +03:00
Alexey Milovidov
99bb960ae3 Fix build 2021-11-21 14:40:46 +03:00
Alexey Milovidov
046af7295f Fix build on AArch64 2021-11-21 14:37:34 +03:00
Alexey Milovidov
6246cec409 Fix build on AArch64 2021-11-21 14:30:04 +03:00
Alexey Milovidov
258fcc917f Fix build 2021-11-21 14:09:05 +03:00
Alexey Milovidov
d604cf5573 Remove the infamous "unbundled" build 2021-11-21 13:58:26 +03:00
Alexey Milovidov
9a82c62685 Merge branch 'master' into zlib-ng-own-cmake 2021-11-21 11:38:29 +03:00
taiyang-li
e8644807fe merge master and solve conflict 2021-11-19 15:01:58 +08:00
Nikolay Degterinsky
f2060d48ac Merge branch 'master' 2021-11-17 22:23:41 +00:00
Nikolay Degterinsky
ddef6d86ca Minor fixes 2021-11-16 23:02:47 +00:00
Nikolay Degterinsky
2ae79233e4 Better 2021-11-16 23:02:47 +00:00
Nikolay Degterinsky
b3b061eeb9 Update Poco 2021-11-16 23:02:46 +00:00
Nikolay Degterinsky
eafd3ddfac Add lz4 stream compression 2021-11-16 22:30:29 +00:00
taiyang-li
f33ec0fd47 add submodule hive-metasotre 2021-11-16 11:38:24 +08:00
taiyang-li
11d3c99b98 remove local hive-metastore 2021-11-16 11:36:26 +08:00
taiyang-li
74aeb835c0 commit again 2021-11-15 23:34:48 +08:00
Vladimir Smirnov
48451182f8 Initial support for risc-v
Make ClickHouse compilable and runnable on risc-v 64

So far only basic functionality was tested (on real hw),
clickhouse server runs, exceptions works, client works,
simple tests works.

What doesn't work:
 1. traces - they are always empty
 2. system.stack_trace only have first frame
2021-11-11 19:23:34 +01:00
taiyang-li
26988ab757
Merge branch 'master' into hive_table 2021-11-10 11:01:03 +08:00
taiyang-li
68fc3e761d fix build error 2021-11-10 10:53:03 +08:00
taiyang-li
b9b6af104f fix build error 2021-11-09 12:18:37 +08:00
taiyang-li
875075f340 fix build error 2021-11-09 11:54:00 +08:00
taiyang-li
5a45bc9764 fix build error 2021-11-09 10:55:15 +08:00
taiyang-li
65c4c61e33 compile hive-metastore from pre-generated source files 2021-11-09 10:31:22 +08:00
taiyang-li
cd28324e1c add missing files 2021-11-08 18:41:30 +08:00
taiyang-li
cf47449e16 fix build errror 2021-11-08 18:21:49 +08:00
taiyang-li
dd78bbf35c fix build error 2021-11-06 16:34:05 +08:00
taiyang-li
1b9f0dd5e1 fix build error 2021-11-06 11:31:01 +08:00
taiyang-li
fa95571164 fix build error 2021-11-06 11:19:30 +08:00
taiyang-li
bdca69f354 add binary thrift-compiler to generate code from hive_metastore.thrift 2021-11-06 10:52:53 +08:00
taiyang-li
7b5d7a0f02 add missing source files 2021-11-06 10:31:15 +08:00
taiyang-li
3a566eeeeb fix typo 2021-11-05 20:27:37 +08:00
taiyang-li
36ca0b296b implement hive table engine 2021-11-05 19:55:30 +08:00
avogar
f2652051e3 Fix assert in hdfs, add test 2021-11-03 12:53:33 +03:00
taiyang-li
45676e4334 update version of snappy 2021-11-01 11:18:59 +08:00
alesapin
fc19a06a99
Merge pull request #30646 from ianton-ru/MDB-14537-2
Retry on Yandex.S3 throttle
2021-10-27 11:18:38 +03:00
Nikita Mikhaylov
aae30a9e37
Fix fuzzer build (#30344) 2021-10-26 20:30:34 +03:00
mergify[bot]
1843f6504a
Merge branch 'master' into MDB-14537-2 2021-10-26 10:47:39 +00:00
alesapin
0e4925584b Revert "Fix style regressions on benchmark page (#30506)"
This reverts commit 5ddccabef0.
2021-10-25 20:02:35 +03:00
Cody Baker
5ddccabef0
Fix style regressions on benchmark page (#30506)
* Update styles on benchmark page

* Update h3 -> h2
2021-10-25 17:53:13 +03:00
Anton Ivashkin
55e887728e Retry on Yandex.S3 throttle 2021-10-25 17:34:59 +03:00
alesapin
aca3166a7c
Merge pull request #30550 from ClickHouse/fix_typo_update_nuraft
Fix typo and update NuRaft
2021-10-25 10:36:06 +03:00
Alexey Milovidov
de7919555e Cut away some trash 2021-10-25 02:33:08 +03:00
Alexey Milovidov
a06a54e411 Fix build 2021-10-25 01:05:12 +03:00
Alexey Milovidov
de9accff4c Fix build 2021-10-24 23:44:35 +03:00
Alexey Milovidov
9180329850 Fix build 2021-10-24 12:06:59 +03:00
Alexey Milovidov
4af0c08b02 Fix build 2021-10-24 11:28:09 +03:00
Alexey Milovidov
70f2b976f2 Fix build 2021-10-24 10:10:34 +03:00
Alexey Milovidov
f6e7be8601 Fix build 2021-10-24 09:05:30 +03:00
Alexey Milovidov
f9635840ea Fix build 2021-10-24 07:35:19 +03:00
Alexey Milovidov
ed09496593 Our own CMakeLists for Cassandra (half-baked) 2021-10-24 06:35:01 +03:00
Alexey Milovidov
34f63a37a4 Our own CMakeLists for MariaDB (half-baked) 2021-10-24 04:36:30 +03:00
Alexey Milovidov
c4859ef409 Use our own CMakeLists for zlib-ng 2021-10-24 01:51:05 +03:00
alesapin
d849f56cd4 Fix typo and update NuRaft 2021-10-22 11:24:18 +03:00
feng lv
6565e1d4b2 fix conflict 2021-10-20 15:22:16 +00:00
mergify[bot]
506c05a520
Merge branch 'master' into reorganiza-contrib-ide-folders 2021-10-19 15:32:57 +00:00
Maksim Kita
0b3926950d
Merge pull request #30143 from amosbird/useupstreamreplxx
Use upstream replxx
2021-10-19 17:50:43 +03:00
feng lv
05fd6f7caf fix comflict 2021-10-19 12:50:22 +00:00
Kruglov Pavel
1e2ceeb2e7
Merge pull request #29291 from Avogar/capnproto
Add CapnProto output format, refactor CapnProto input format
2021-10-19 11:54:55 +03:00
feng lv
1e3df5780c Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into filelog-engine 2021-10-18 07:33:11 +00:00
Denis Glazachev
9de534f96c Revert special contribs and set folder manually for them until fixed 2021-10-17 23:10:01 +03:00
Denis Glazachev
68a08ffed9
Merge branch 'master' into reorganiza-contrib-ide-folders 2021-10-17 22:13:11 +04:00
Amos Bird
b034c913db
update 2021-10-17 10:41:51 +08:00
Alexey Milovidov
5fc2279adf Add RISC-V build 2021-10-17 01:23:55 +03:00
alexey-milovidov
e9af03ef52
Merge pull request #30248 from ClickHouse/musl-4
Preparation to build with Musl
2021-10-16 18:44:35 +03:00
Nikita Mikhaylov
6b22fdc55a
Merge pull request #30012 from PaulCher/codegen_select_fuzzer_v1
Codegen select fuzzer v1
2021-10-16 14:08:08 +03:00
feng lv
8b7721ae6f Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into filelog-engine 2021-10-16 05:14:11 +00:00
Alexey Milovidov
e7d99c3e54 Update submodule 2021-10-16 03:09:38 +03:00
Alexey Milovidov
438d04795e Update toolchain 2021-10-16 03:03:46 +03:00
Alexey Milovidov
41acc52458 Preparation to build with Musl 2021-10-16 00:17:34 +03:00
mergify[bot]
6bf8c4a2b1
Merge branch 'master' into reorganiza-contrib-ide-folders 2021-10-15 19:59:08 +00:00
Nikita Mikhaylov
e9bf496d42 Added an ability to generate data in build time 2021-10-15 14:35:50 +00:00
Artur Filatenkov
f69daace7b attemp to fix build 2021-10-15 16:01:28 +03:00
Artur Filatenkov
74e3978110 commit assert to fix build 2021-10-14 22:55:17 +03:00
Kruglov Pavel
dd4421d4b1 Fix build 2021-10-14 16:43:23 +03:00
avogar
5d16dc7f9a Try to fix tests, update capnp lib to eliminate problem with UB sanitizer 2021-10-14 16:43:23 +03:00
feng lv
21f7ecbd9f Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into filelog-engine 2021-10-14 02:09:51 +00:00
Artur Filatenkov
3c82fb756c Merge branch 'Check' of https://github.com/FArthur-cmd/ClickHouse into Check 2021-10-13 20:19:16 +03:00
Artur Filatenkov
91084895ce attemp to fix build 2021-10-13 20:18:51 +03:00
Amos Bird
8851cb8459
Use upstream replxx 2021-10-14 00:52:53 +08:00
Filatenkov Artur
5348cd5bd4
Merge branch 'ClickHouse:master' into Check 2021-10-13 16:15:56 +03:00
Nikita Mikhaylov
57a623aba0
Merge branch 'master' into codegen_select_fuzzer_v1 2021-10-13 16:01:40 +03:00
Artur Filatenkov
7cef607cb9 move on merge branch 2021-10-13 15:01:07 +03:00
Alexey Milovidov
4d5b793f2b Update submodule 2021-10-12 22:22:49 +03:00
feng lv
b2a17cb320 fix build and conflict 2021-10-12 16:50:50 +00:00
alexey-milovidov
e63506fde7
Merge branch 'master' into protobuf-host-build 2021-10-12 16:19:15 +03:00
Alexey Milovidov
3a8e65f01e Another try 2021-10-12 06:28:05 +03:00
Alexey Milovidov
5ba876cad2 Build protoc for host architecture during cross-compilation 2021-10-12 05:46:19 +03:00
Pavel Cheremushkin
7b9358a597 adding codegen fuzzer + code generation script. new contrib added: libprotobuf-mutator 2021-10-12 03:21:31 +03:00
Alexey Milovidov
fa14dbdf42 Update submodules 2021-10-12 02:03:00 +03:00
Alexey Milovidov
0c6c716bdd Update submodule 2021-10-12 01:49:29 +03:00
Alexey Milovidov
d4e496c314 Add support for PowerPC build 2021-10-12 01:47:57 +03:00
alexey-milovidov
f1b550cdaf
Merge pull request #29974 from ClickHouse/minimized-toolchain
Experiment with minimized toolchain (2)
2021-10-11 22:04:01 +03:00
Artur Filatenkov
0d1fcdf9fc add submodule update 2021-10-11 15:08:40 +03:00
Artur Filatenkov
351f2a3a84 Update BorinSSL 2021-10-11 14:53:26 +03:00
alexey-milovidov
3b8d7a5030
Merge pull request #29952 from MikaelUrankar/freebsd-aarch64
Add support for FreeBSD aarch64
2021-10-11 14:43:23 +03:00
Alexey Milovidov
e24be8dfb0 Update submodule 2021-10-11 14:41:49 +03:00
Alexey Milovidov
e0a4fb31a9 Update submodules to simplify cross build 2021-10-11 14:34:05 +03:00
feng lv
a57e97d2e0 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into filelog-engine 2021-10-11 06:09:43 +00:00
Alexey Milovidov
e7d3ead754 Fix error 2021-10-11 08:52:41 +03:00
Alexey Milovidov
264b278e1e Fix error 2021-10-11 08:29:50 +03:00
Alexey Milovidov
31e9214e43 Fix error 2021-10-11 07:52:05 +03:00
Alexey Milovidov
0ec1f3bd3f Fix error 2021-10-11 07:48:41 +03:00
Alexey Milovidov
c581a40a36 Update sysroot 2021-10-11 07:46:08 +03:00
Alexey Milovidov
1338f3daf8 Add missing files to libc-headers. 2021-10-11 07:44:12 +03:00
feng lv
e5857618d8 update poco 2021-10-11 04:12:04 +00:00
Alexey Milovidov
778793267b Add toolchain for linux-x86_64 2021-10-11 07:02:48 +03:00
Alexey Milovidov
8196f89481 Remove trash from CMake 2021-10-11 06:58:08 +03:00
Alexey Milovidov
fa3c13cf81 Experiment with minimized toolchain 2021-10-11 04:37:04 +03:00
mikael
5bd2fd0ba3 Add the missing bits for FreeBSD aarch64 2021-10-10 14:52:42 +02:00
mikael
714ac8efc4 FreeBSD aarch64 doesn't implement sbrk 2021-10-10 14:52:42 +02:00
alexey-milovidov
fbbc515a2f
Merge pull request #29925 from ClickHouse/update-cctz-2
Update CCTZ
2021-10-10 02:17:09 +03:00
Alexey Milovidov
f25fbe3740 Update CCTZ 2021-10-09 18:37:38 +03:00
feng lv
764b17787b update poco 2021-10-09 14:25:04 +00:00
feng lv
0e8d2f33d7 update poco 2021-10-09 10:51:10 +00:00
feng lv
aae07e1947 run test again 2021-10-09 10:34:57 +00:00
feng lv
ddf9e524cc test poco 2021-10-09 05:14:33 +00:00
Nikolai Kochetov
21bdc12b9c Pull libcxx 2021-10-08 21:38:12 +03:00
feng lv
1ea2323084 update poco 2021-10-05 06:40:00 +00:00
feng lv
873805d4da update poco
update

fix unbundled build
2021-10-04 13:55:49 +00:00
Denis Glazachev
7be521b024
Do not manipulate FOLDER property on INTERFACE library targets 2021-10-03 21:07:44 +04:00
Denis Glazachev
365a6b469e
Remove debug message 2021-10-03 20:30:20 +04:00
Denis Glazachev
ece880184b Reorganiza contrib IDE folders 2021-10-03 20:26:48 +04:00
Azat Khuzhin
42af45b2ba rocksdb: fix race condition during multiple DB opening
This should fix the following SIGSEGV, that was found on CI [1]:

    <Fatal> BaseDaemon: Address: NULL pointer. Access: read. Unknown si_code.
    <Fatal> BaseDaemon: 4.4. inlined from ../contrib/rocksdb/utilities/object_registry.cc:19: rocksdb::ObjectLibrary::FindEntry() const
    ...
    <Fatal> BaseDaemon: 7.3. inlined from ../contrib/rocksdb/options/cf_options.cc:678: rocksdb::$_7::operator()()

  [1]: https://clickhouse-test-reports.s3.yandex.net/29341/2b2bec3679df7965af908ce3f1e8e17e39bd12fe/integration_tests_flaky_check_(asan).html#fail1

And also I checked manually with TSan binary, and here is a data race
reported by TSan:

    WARNING: ThreadSanitizer: data race (pid=3356)
      Read of size 8 at 0x7b0c0008cca8 by thread T40:
        2 rocksdb::ObjectLibrary::FindEntry() const obj-x86_64-linux-gnu/../contrib/rocksdb/utilities/object_registry.cc:18:27 (clickhouse-tsan+0x1b839a6c)
        ...
        6 rocksdb::$_7::operator()() const obj-x86_64-linux-gnu/../contrib/rocksdb/options/cf_options.cc:676:32 (clickhouse-tsan+0x1b6bfa63)
        ...
        28 rocksdb::GetColumnFamilyOptionsFromMap() obj-x86_64-linux-gnu/../contrib/rocksdb/options/options_helper.cc:727:10 (clickhouse-tsan+0x1b6fffd2)
        29 DB::StorageEmbeddedRocksDB::initDb() obj-x86_64-linux-gnu/../src/Storages/RocksDB/StorageEmbeddedRocksDB.cpp:359:26 (clickhouse-tsan+0x14195e31)
        ...

      Previous write of size 8 at 0x7b0c0008cca8 by thread T41:
        ...
        9 rocksdb::ObjectLibrary::AddEntry() obj-x86_64-linux-gnu/../contrib/rocksdb/utilities/object_registry.cc:31:19 (clickhouse-tsan+0x1b8392fc)
        ...
        11 rocksdb::RegisterTableFactories()::$_0::operator()() const obj-x86_64-linux-gnu/../contrib/rocksdb/table/table_factory.cc:23:14 (clickhouse-tsan+0x1b7ea94c)
        ...
        43 rocksdb::GetColumnFamilyOptionsFromMap() obj-x86_64-linux-gnu/../contrib/rocksdb/options/options_helper.cc:727:10 (clickhouse-tsan+0x1b6fffd2)
        44 DB::StorageEmbeddedRocksDB::initDb() obj-x86_64-linux-gnu/../src/Storages/RocksDB/StorageEmbeddedRocksDB.cpp:359:26 (clickhouse-tsan+0x14195e31)

Refs: https://github.com/ClickHouse-Extras/rocksdb/pull/13
Fixes: #29341
2021-09-26 23:41:43 +03:00
Alexey Milovidov
6f65029daf Update libhdfs3 2021-09-25 02:54:18 +03:00
alexey-milovidov
60f76d9254
Merge pull request #28759 from nikitamikhaylov/enable-gcc-11
Switch CI to GCC-11
2021-09-12 15:56:57 +03:00
alexey-milovidov
ea13a8b562
Merge pull request #28659 from myrrc/improvement/tostring_to_magic_enum
Improving CH type system with concepts
2021-09-12 15:26:29 +03:00
Mike Kot
c4385a2c40 Simplifying exception messages 2021-09-11 00:40:18 +02:00
Nikita Mikhaylov
d7dafd6d2f Switch performance and merge contrib 2021-09-10 11:10:45 +00:00
mergify[bot]
937eeb9fed
Merge branch 'master' into enable-gcc-11 2021-09-09 22:44:10 +00:00
Maksim Kita
31766575e0
Merge pull request #28820 from azat/llvm-shared
Fix shared build with ENABLE_EMBEDDED_COMPILER
2021-09-10 00:49:18 +03:00
Nikita Mikhaylov
a796b9f039 Fix build 2021-09-09 21:17:22 +00:00
Azat Khuzhin
0d0c19c617 Fix RPATH for llvm in shared build
Before this patch:

    $ readelf -d contrib/llvm/llvm/bin/llvm-tblgen  | fgrep -i runpath
     0x000000000000001d (RUNPATH)            Library runpath: [$ORIGIN/../lib]

After:

    $ readelf -d contrib/llvm/llvm/bin/llvm-tblgen  | fgrep -i runpath
     0x000000000000001d (RUNPATH)            Library runpath: [/src/ch/clickhouse/.cmake/contrib/llvm/llvm/lib:/src/ch/clickhouse/.cmake/contrib/libcxx-cmake:/src/ch/clickhouse/.cmake/contrib/libcxxabi-cmake:/src/ch/clickhouse/.cmake/contrib/libunwind-cmake]
2021-09-09 22:41:27 +03:00
Azat Khuzhin
784d468f4b Include llvm from function to guard CMAKE_CXX_STANDARD scope 2021-09-09 22:41:26 +03:00
Nikita Mikhaylov
dcf7cb4a5c Done 2021-09-08 17:33:40 +00:00
Nikita Mikhaylov
474f34e78c Move back 2021-09-06 16:41:49 +00:00
Nikita Mikhaylov
a327144d40 Better 2021-09-06 16:39:46 +00:00
Nikita Mikhaylov
29a18d8d10 Try to fix unbundled 2021-09-06 15:58:08 +00:00
Nikita Mikhaylov
7c39f84a5e Merge upstream/master into global-merge-executor (using imerge) 2021-09-06 15:37:18 +00:00
Mike Kot
8e9aacadd1 Initial: replacing hardcoded toString for enums with magic_enum 2021-09-06 16:24:03 +02:00
Nikita Mikhaylov
0249015515 added priority queue 2021-09-06 11:37:51 +00:00
alesapin
36a11af351 Merge branch 'master' into add_test_logs_level 2021-09-04 15:48:47 +03:00
Nikita Mikhaylov
3eec8a3c2f Use boost::circular_buffer 2021-09-03 22:15:20 +00:00
Maksim Kita
5112b6e00d
Merge pull request #28537 from azat/bump-poco-remove-getpid
Bump poco to remove getpid() calls
2021-09-03 22:03:12 +03:00
Kseniia Sumarokova
8c5acc371a
Merge pull request #28365 from kssenii/rabbitmq-ssl
Allow ssl connection for rabbitmq
2021-09-03 16:53:28 +03:00
alesapin
497c225203 Test log level for CI 2021-09-03 13:07:40 +03:00
Azat Khuzhin
5bab06ed90 Bump poco to remove getpid() calls
Refs: https://github.com/ClickHouse-Extras/poco/pull/46
2021-09-03 07:45:58 +03:00
Nikita Mikhaylov
7e936c248f contrib/aws/ 2021-08-31 12:54:45 +00:00
kssenii
335b6f12fd Fix 2021-08-30 20:59:03 +03:00
Kseniia Sumarokova
31afd7d09c
Merge pull request #28081 from kssenii/pg-conflict
Support `on conflict` for postgres engine
2021-08-26 16:30:30 +03:00
mergify[bot]
9520ceba7e
Merge branch 'master' into update-libunwind-protect-from-wrong-cfa-expressions 2021-08-24 20:45:38 +00:00
Maksim Kita
0486d1bd37
Merge pull request #28084 from kssenii/nanodbc-update
Update nanodbc
2021-08-24 21:39:10 +03:00
Maksim Kita
027728a7a5 Updated libunwind to protect from wrong CFA expressions 2021-08-24 21:36:45 +03:00
kssenii
c467178a93 Update nanodbc 2021-08-24 12:50:07 +00:00
kssenii
0ec716292c Postgres ON CONFLICT 2021-08-24 12:37:32 +00:00
Azat Khuzhin
67a3ce1891 Bump replxx
Refs: https://github.com/ClickHouse-Extras/replxx/pull/17
2021-08-23 22:27:54 +03:00
alexey-milovidov
fa2a2817c9
Merge pull request #27883 from azat/bump-librdkafka-to-fix-TSan
Bump librdkafka (fixes use of an invalid/destroyed mutex)
2021-08-20 09:03:02 +03:00
Azat Khuzhin
941eba908c Bump librdkafka (to fix metadata cache destroying)
This should fix CI under TSan [1].

  [1]: https://clickhouse-test-reports.s3.yandex.net/0/9292869c4f92664a28b8c9ddef1e62ddfd13b285/integration_tests_(thread).html

Refs: edenhill/librdkafka#3279
2021-08-19 21:38:06 +03:00
Azat Khuzhin
6a600e5f6f jemalloc: fix under osx (zone_register() had been optimized out again)
v2: use ld -u
v3: move -u to executable
2021-08-18 09:47:59 +03:00
Azat Khuzhin
342c3fae3a Revert "Disable jemalloc under OSX" (only jemalloc hunk)
This reverts commit f062aa8574.
2021-08-18 09:47:59 +03:00
alexey-milovidov
67b2f49c8a
Merge pull request #27751 from Algunenano/osx_jemalloc
Disable jemalloc under OSX
2021-08-17 04:45:43 +03:00
Raúl Marín
f062aa8574 Disable jemalloc under OSX 2021-08-16 18:04:46 +02:00
taiyang-li
d417bd3247 remove duplicated source files in arrow-cmake 2021-08-16 18:56:14 +08:00
alexey-milovidov
135a5a2453
Merge pull request #27683 from ClickHouse/unbundled-sse2
Use only SSE2 in "unbundled" build
2021-08-15 13:25:44 +03:00
Alexey Milovidov
ba0ba988ba Fix build 2021-08-15 11:21:46 +03:00
Alexey Milovidov
cf87dacd4e Disable memory tracking for roaring bitmaps on Mac OS 2021-08-15 09:01:04 +03:00
Raúl Marín
61c4d94f1e Add explicit dependency between roaring and clickhouse_common_io
Fixes roaring memory tracker for split builds
2021-08-11 11:21:39 +02:00
Alexey Milovidov
3449e611fd Allow to build with AVX2 2021-08-10 03:46:03 +03:00
mergify[bot]
8d05b7c5e5
Merge branch 'master' into roaring-memory-tracker 2021-08-08 15:19:57 +00:00
alexey-milovidov
e6e9a27d8f
Merge pull request #27377 from evillique/bz2
Add support for bzip2 compression method
2021-08-08 04:40:13 +03:00
Alexey Milovidov
e7afb7e159 Merge branch 'master' into roaring-memory-tracker 2021-08-08 04:33:33 +03:00
alexey-milovidov
b8f4d480a3
Merge pull request #27081 from ClickHouse/fix_logs_in_nuraft
Fix excessive logging in NuRaft on server shutdown
2021-08-07 19:48:53 +03:00
Alexey Milovidov
161aa40206 Fix build; add comments 2021-08-07 19:30:59 +03:00
Alexey Milovidov
c9d66defa0 Merge branch 'master' into roaring-memory-tracker 2021-08-07 19:01:31 +03:00
Nikolay Degterinsky
c6a6bc8b1a Add submodule bzip2 2021-08-07 06:18:14 +00:00
Nikolay Degterinsky
9a45458faf Add bzip2 file compression 2021-08-07 00:25:52 +00:00
Yatsishin Ilya
2742128429 Try update contrib/zlib-ng 2021-08-06 18:03:05 +03:00
Alexey Milovidov
bd776e432f Advancements 2021-08-05 23:36:46 +03:00
Alexey Milovidov
7fa700de00 Merge branch 'master' into roaring-memory-tracker 2021-08-05 22:17:10 +03:00
Ilya Yatsishin
553fed9ad5
Merge pull request #27095 from qoega/amqp-cpp-update 2021-08-04 19:48:52 +03:00
Yatsishin Ilya
019a221550 fix unbundled build 2021-08-03 17:29:59 +03:00
Yatsishin Ilya
06903485d7 Fix build on freebsd 2021-08-03 14:38:29 +03:00
Yatsishin Ilya
7ad4a42003 upadte CMakeLists 2021-08-03 11:27:23 +03:00
Yatsishin Ilya
d6844facaf one more fix 2021-08-03 11:01:01 +03:00
Yatsishin Ilya
31d027b8d0 Try update arrow 2021-08-02 19:33:15 +03:00
Yatsishin Ilya
c645dc9d7d fix 2021-08-02 19:23:13 +03:00
Yatsishin Ilya
7a2e711765 Try update AMQP-CPP 2021-08-02 17:48:53 +03:00
alesapin
f3e0f648d0 Fixup 2021-08-02 15:00:05 +03:00
alesapin
53c3a4fbc6 Fix excessive logging in NuRaft on server shutdown 2021-08-02 14:57:51 +03:00
alesapin
181f93c60a
Merge pull request #24997 from evillique/nlp
NLP functions
2021-08-02 10:50:40 +03:00
mergify[bot]
534b117ee1
Merge branch 'master' into protobuf-3.17.3 2021-07-30 14:11:32 +00:00
alesapin
4746002776 Add an ability to build ClickHouse without NLP functions 2021-07-30 16:30:30 +03:00
alesapin
916594fe23 Merge branch 'master' into evillique-nlp 2021-07-30 13:03:10 +03:00
alesapin
6472ac8a26 Followup 2021-07-29 14:18:44 +03:00
alesapin
3654627cb9 Fix build 2021-07-29 14:12:46 +03:00
alesapin
32012eea6a Update NuRaft 2021-07-28 19:07:55 +03:00
Yatsishin Ilya
1af7650622 Try update protobuf to 3.17.3 2021-07-26 09:49:00 +00:00
Alexey Milovidov
bd364aeea1 Fix double unlock in RocksDB 2021-07-25 22:52:46 +03:00
Alexey Milovidov
2df3e14559 Attempt to add memory tracking to RoaringBitmaps 2021-07-22 02:56:17 +03:00
Nikita Mikhaylov
234b03304f done 2021-07-19 17:47:24 +03:00
Alexey Milovidov
73bed2f078 Update RocksDB to master 2021-07-16 15:38:16 +03:00
Azat Khuzhin
61d6e30ffa Make socket poll() 7x faster (by replacing epoll() with poll()) 2021-07-14 21:22:23 +03:00
Azat Khuzhin
c481142720 Bump poco (now poco fork has CI via github actions) 2021-07-13 23:34:52 +03:00
Nikita Mikhaylov
625576796c final fix 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
1d079eb745 fix submodule 2021-07-13 10:50:38 +00:00
Nikita Mikhaylov
926380e7a7 fix fast test build 2021-07-13 10:50:38 +00:00
Nikita Mikhaylov
3d97f91c1b fix build 2021-07-13 10:50:12 +00:00
Nikita Mikhaylov
6cdac2a56f link error 2021-07-13 10:50:12 +00:00
Nikita Mikhaylov
3f36a93656 better 2021-07-13 10:50:12 +00:00
Andr0901
f78480507e some fixes 2021-07-13 10:50:12 +00:00
Andr0901
4d75450e54 add tests 2021-07-13 10:49:55 +00:00
Andr0901
12219391d6 Initial commit 2021-07-13 10:49:54 +00:00
kssenii
aecb344baa Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support 2021-07-12 07:55:39 +00:00
kssenii
1bf9a9f29f Add .cmake 2021-07-09 10:27:53 +00:00
mergify[bot]
5814742656
Merge branch 'master' into update-h3 2021-07-09 03:13:19 +00:00
kssenii
255e20aad8 Add library as submodule 2021-07-07 20:06:35 +00:00
kssenii
ff56f1787c Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support 2021-07-07 15:19:12 +00:00
alesapin
f0fc12d0dd Merge branch 'master' into evillique-nlp 2021-07-07 12:14:49 +03:00
Maksim Kita
fde1d4136e
Merge pull request #25970 from kitaisreal/libunwind-lock-free-stack-fix
Fix libunwind lock free stack
2021-07-04 22:05:54 +03:00
Maksim Kita
15b43e1e45 Fix libunwind lock free stack 2021-07-04 21:09:55 +03:00
Alexey Milovidov
127455f15f Remove experimental ANTLR parser 2021-07-03 18:48:03 +03:00
kssenii
23dd754492 Update libpq 2021-07-02 22:26:33 +03:00
kssenii
012f67e6f8 Update libpq 2021-07-02 00:07:23 +03:00
Maksim Kita
caf5e85e41 ARM fix startup crash 2021-06-30 12:27:20 +03:00
Ivan
14e43cfafa
Add CI check for darwin-aarch64 (#25560)
* Add support for darwin-aarch64

* Fix PVS warnings

* Add build configuration

* Fix packager args
2021-06-25 18:21:56 +03:00
alexey-milovidov
6adf0955c2
Merge pull request #25400 from georgthegreat/murmurhash
Rename & reimport murmurhash sources from smhasher repo
2021-06-23 22:48:29 +03:00
Yatsishin Ilya
2b1f3d4681 Merge remote-tracking branch 'origin' into update-h3 2021-06-22 17:38:59 +03:00
tavplubix
a6a43ce3ee
Revert "Implement h3ToGeo function" 2021-06-22 17:25:21 +03:00
Nikita Mikhaylov
19b3659517
Merge pull request #24867 from bharatnc/ncb/h3-indexing-funcs
Implement h3ToGeo function
2021-06-22 15:59:09 +03:00
Yuriy Chernyshov
babe87d5a5 Make -Wreserved-id-macro happy 2021-06-22 14:13:19 +03:00
Yuriy Chernyshov
3c76c34d60 Mark functions as extern "C" to allow CGO bindings 2021-06-22 13:00:46 +03:00
Yuriy Chernyshov
1f1c61ce94 Fix undefined behavior due to unaligned read 2021-06-22 13:00:05 +03:00
Yuriy Chernyshov
23486ff86c Make block length size_t 2021-06-22 12:59:44 +03:00
Yatsishin Ilya
6a79fef8bd submodule 2021-06-22 12:35:56 +03:00
Yatsishin Ilya
8a70a9ba7c update cmake 2021-06-22 10:39:27 +03:00
Yatsishin Ilya
fdd3481c2f Merge remote-tracking branch 'origin' into update-h3 2021-06-22 09:53:16 +03:00
alesapin
2f24ad6165 Merge branch 'fix_some_tests' into update_buffer_size_in_nuraft 2021-06-21 13:20:27 +03:00
Kruglov Pavel
a54cbef5b7
Merge pull request #24341 from Avogar/arrow
Support complex types in Arrow/Parquet/ORC
2021-06-21 11:05:57 +03:00
Nikolay Degterinsky
00154d3163 Minor fixes 2021-06-20 12:31:07 +00:00
Nikolay Degterinsky
844f5fc62b Updated submodules to include new READMEs 2021-06-19 23:15:16 +00:00
Azat Khuzhin
efb6433a39 Fix container-overflow in replxx during incremental search (Ctrl-R)
ASAN report:

    =================================================================
    ==7686==ERROR: AddressSanitizer: container-overflow on address 0x6200000bf080 at pc 0x00002a787e79 bp 0x7fffffffa2f0 sp 0x7fffffffa2e8
    READ of size 4 at 0x6200000bf080 thread T0
        0 0x2a787e78 in replxx::calculate_displayed_length(char32_t const*, int) obj-x86_64-linux-gnu/../contrib/replxx/src/util.cxx:66:15
        1 0x2a75786c in replxx::Replxx::ReplxxImpl::dynamicRefresh(replxx::Prompt&, char32_t*, int, int) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:2201:3
        2 0x2a7453f0 in replxx::Replxx::ReplxxImpl::incremental_history_search(char32_t) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:2008:3
        3 0x2a73eecc in replxx::Replxx::ReplxxImpl::action(unsigned long long, replxx::Replxx::ACTION_RESULT (replxx::Replxx::ReplxxImpl::* const&)(char32_t), char32_t) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:1246:29
        4 0x2a73eecc in replxx::Replxx::ReplxxImpl::invoke(replxx::Replxx::ACTION, char32_t) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:318:70
        5 0x2a74ed29 in std::__1::__function::__policy_func<replxx::Replxx::ACTION_RESULT (char32_t)>::operator()(char32_t&&) const obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:2221:16
        6 0x2a74ed29 in std::__1::function<replxx::Replxx::ACTION_RESULT (char32_t)>::operator()(char32_t) const obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:2560:12
        7 0x2a74ed29 in replxx::Replxx::ReplxxImpl::get_input_line() obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx🔢11
        8 0x2a74dd3c in replxx::Replxx::ReplxxImpl::input(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:580:8
        9 0x2a2a4075 in ReplxxLineReader::readOneLine(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) obj-x86_64-linux-gnu/../base/common/ReplxxLineReader.cpp:112:29
        10 0x2a29b499 in LineReader::readLine(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) obj-x86_64-linux-gnu/../base/common/LineReader.cpp:81:26
        11 0xb580f02 in DB::Client::mainImpl() obj-x86_64-linux-gnu/../programs/client/Client.cpp:665:33
        12 0xb575825 in DB::Client::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) obj-x86_64-linux-gnu/../programs/client/Client.cpp:300:20
        13 0x2a3aff25 in Poco::Util::Application::run() obj-x86_64-linux-gnu/../contrib/poco/Util/src/Application.cpp:334:8
        14 0xb54c810 in mainEntryClickHouseClient(int, char**) obj-x86_64-linux-gnu/../programs/client/Client.cpp:2702:23
        15 0xb326d8a in main obj-x86_64-linux-gnu/../programs/main.cpp:360:12
        16 0x7ffff7dcbb24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)
        17 0xb2794ad in _start (/src/ch/tmp/upstream/clickhouse-asan+0xb2794ad)

    0x6200000bf080 is located 0 bytes inside of 3672-byte region [0x6200000bf080,0x6200000bfed8)
    allocated by thread T0 here:
        0 0xb3231dd in operator new(unsigned long) (/src/ch/tmp/upstream/clickhouse-asan+0xb3231dd)
        1 0x2a75fb15 in void* std::__1::__libcpp_operator_new<unsigned long>(unsigned long) obj-x86_64-linux-gnu/../contrib/libcxx/include/new:235:10
        2 0x2a75fb15 in std::__1::__libcpp_allocate(unsigned long, unsigned long) obj-x86_64-linux-gnu/../contrib/libcxx/include/new:261:10
        3 0x2a75fb15 in std::__1::allocator<char32_t>::allocate(unsigned long) obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:840:38
        4 0x2a75fb15 in std::__1::allocator_traits<std::__1::allocator<char32_t> >::allocate(std::__1::allocator<char32_t>&, unsigned long) obj-x86_64-linux-gnu/../contrib/libcxx/include/__memory/allocator_traits.h:468:21
        5 0x2a75fb15 in std::__1::vector<char32_t, std::__1::allocator<char32_t> >::__vallocate(unsigned long) obj-x86_64-linux-gnu/../contrib/libcxx/include/vector:993:37
        6 0x2a75fb15 in std::__1::enable_if<(__is_cpp17_forward_iterator<char32_t*>::value) && (is_constructible<char32_t, std::__1::iterator_traits<char32_t*>::reference>::value), void>::type std::__1::vector<char32_t, std::__1::allocator<char32_t> >::assign<char32_t*>(char32_t*, char32_t*) obj-x86_64-linux-gnu/../contrib/libcxx/include/vector:1460:9
        7 0x2a745242 in std::__1::vector<char32_t, std::__1::allocator<char32_t> >::operator=(std::__1::vector<char32_t, std::__1::allocator<char32_t> > const&) obj-x86_64-linux-gnu/../contrib/libcxx/include/vector:1405:9
        8 0x2a745242 in replxx::UnicodeString::assign(replxx::UnicodeString const&) obj-x86_64-linux-gnu/../contrib/replxx/src/unicodestring.hxx:83:9
        9 0x2a745242 in replxx::Replxx::ReplxxImpl::incremental_history_search(char32_t) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:1993:24
        10 0x2a73eecc in replxx::Replxx::ReplxxImpl::action(unsigned long long, replxx::Replxx::ACTION_RESULT (replxx::Replxx::ReplxxImpl::* const&)(char32_t), char32_t) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:1246:29
        11 0x2a73eecc in replxx::Replxx::ReplxxImpl::invoke(replxx::Replxx::ACTION, char32_t) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:318:70
        12 0x2a74ed29 in std::__1::__function::__policy_func<replxx::Replxx::ACTION_RESULT (char32_t)>::operator()(char32_t&&) const obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:2221:16
        13 0x2a74ed29 in std::__1::function<replxx::Replxx::ACTION_RESULT (char32_t)>::operator()(char32_t) const obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:2560:12
        14 0x2a74ed29 in replxx::Replxx::ReplxxImpl::get_input_line() obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx🔢11
        15 0x2a74dd3c in replxx::Replxx::ReplxxImpl::input(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:580:8
        16 0x2a2a4075 in ReplxxLineReader::readOneLine(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) obj-x86_64-linux-gnu/../base/common/ReplxxLineReader.cpp:112:29
        17 0x2a29b499 in LineReader::readLine(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) obj-x86_64-linux-gnu/../base/common/LineReader.cpp:81:26
        18 0xb580f02 in DB::Client::mainImpl() obj-x86_64-linux-gnu/../programs/client/Client.cpp:665:33
        19 0xb575825 in DB::Client::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) obj-x86_64-linux-gnu/../programs/client/Client.cpp:300:20
        20 0x2a3aff25 in Poco::Util::Application::run() obj-x86_64-linux-gnu/../contrib/poco/Util/src/Application.cpp:334:8
        21 0xb54c810 in mainEntryClickHouseClient(int, char**) obj-x86_64-linux-gnu/../programs/client/Client.cpp:2702:23
        22 0xb326d8a in main obj-x86_64-linux-gnu/../programs/main.cpp:360:12
        23 0x7ffff7dcbb24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)

    HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0.
    If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow.
    SUMMARY: AddressSanitizer: container-overflow obj-x86_64-linux-gnu/../contrib/replxx/src/util.cxx:66:15 in replxx::calculate_displayed_length(char32_t const*, int)
    Shadow bytes around the buggy address:
      0x0c408000fdc0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
      0x0c408000fdd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
      0x0c408000fde0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
      0x0c408000fdf0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
      0x0c408000fe00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
    =>0x0c408000fe10:[fc]fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
      0x0c408000fe20: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
      0x0c408000fe30: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
      0x0c408000fe40: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
      0x0c408000fe50: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
      0x0c408000fe60: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
    Shadow byte legend (one shadow byte represents 8 application bytes):
      Addressable:           00
      Partially addressable: 01 02 03 04 05 06 07
      Heap left redzone:       fa
      Freed heap region:       fd
      Stack left redzone:      f1
      Stack mid redzone:       f2
      Stack right redzone:     f3
      Stack after return:      f5
      Stack use after scope:   f8
      Global redzone:          f9
      Global init order:       f6
      Poisoned by user:        f7
      Container overflow:      fc
      Array cookie:            ac
      Intra object redzone:    bb
      ASan internal:           fe
      Left alloca redzone:     ca
      Right alloca redzone:    cb
      Shadow gap:              cc
    ==7686==ABORTING

Refs: https://github.com/ClickHouse-Extras/replxx/pull/16

v2: fix test, do not use /dev/null since it client will lock it
2021-06-19 18:41:33 +03:00
Yatsishin Ilya
a1e3a3f2c1 update h3 2021-06-18 17:21:53 +03:00
mergify[bot]
c723dd7d40
Merge branch 'master' into arrow 2021-06-18 12:18:57 +00:00
Yatsishin Ilya
b47ce8de89 update 2021-06-18 13:34:15 +03:00
alesapin
9e77ca7182
Merge branch 'master' into nlp 2021-06-17 21:47:41 +03:00
alesapin
dc893f9644 Update NuRaft buffer to 64 bit size 2021-06-17 19:37:08 +03:00
Yuriy Chernyshov
2bb1c75fb5 Rename & reimport murmurhash sources from smhasher repo 2021-06-17 10:58:42 +03:00
Kseniia Sumarokova
60d220bd14
Merge pull request #24413 from kssenii/postgres-fixes-schema
postgres non-default schema for insert query
2021-06-16 22:18:23 +03:00
Pavel Kruglov
83919363ea Fix broken contrib 2021-06-16 16:55:34 +03:00
Pavel Kruglov
81998a5c6f Fix 2021-06-16 16:12:23 +03:00
Pavel Kruglov
5c6bda6294 Remove useless srcs 2021-06-16 15:57:36 +03:00
kssenii
8a7af3bc23 Update libpqxx 2021-06-16 09:38:33 +03:00
kssenii
fb1c3d0360 Update libpqxx 2021-06-15 18:47:50 +03:00
Pavel Kruglov
83c843a20b Fix tests and build 2021-06-15 16:15:27 +03:00
Pavel Kruglov
02e68655b4 Update orc and arrow 2021-06-15 16:15:27 +03:00
kssenii
7c81b37748 Update libpqxx 2021-06-15 15:25:34 +03:00
bharatnc
b17c335074 h3 - update submodule 2021-06-14 11:38:38 -07:00
alexey-milovidov
77721734ed
Merge pull request #21267 from filimonov/kafka-failover
Kafka failover issue fix
2021-06-14 01:42:42 +03:00
alexey-milovidov
a2c6b98b94
Merge pull request #25146 from oxidecomputer/master
Adds a better way to include binary resources
2021-06-13 16:13:34 +03:00
kssenii
8cbd9ec733 Fixes 2021-06-10 16:23:04 +00:00
Alexey Milovidov
2dd871077e Update roaring just in case 2021-06-10 02:36:36 +03:00
Benjamin Naecker
c3506bf16d Adds a better way to include binary resources
- Uses a small assembly file to include binary resources, rather than
  objcopy
- Updates `base/common/getResource.cpp` for this new method of inclusion
- Removes linux-only guards in CMake files, as this solution is
  cross-platform.

The resulting binary resources are available in the ClickHouse server
binary on Linux, macOS, and illumos platforms. FreeBSD has not been
tested, but will likely work as well.
2021-06-09 14:03:30 -07:00
Mikhail Filimonov
3627ab7cbe
Fix kafka failover issue (#21118).
Distringuish lack of assignment vs lack of partitions. Bit better / clearer logging.
2021-06-09 16:02:56 +02:00
kssenii
0521851afa Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into postgres-fixes-schema 2021-06-08 17:20:23 +00:00
Nikolay Degterinsky
71fa39cfc3 Updated lemmagen-c 2021-06-07 22:19:45 +00:00
Nikolay Degterinsky
1f69c33a98 Updated boost 2021-06-07 21:39:49 +00:00
Maksim Kita
23bf4cf09f
Merge pull request #25034 from sdk2/patch-1
fix jemalloc build on OS_DARWIN
2021-06-07 21:08:28 +03:00
Ivan
71f1a101c1
More pytest fixes (#23538) 2021-06-07 20:29:19 +03:00
sdk2
717f7ed01b
Update contrib/jemalloc-cmake/CMakeLists.txt 2021-06-07 16:38:24 +08:00
Alexey Milovidov
8d85145725 Remove experimental compression codecs 2021-06-06 02:26:52 +03:00
Alexey Milovidov
17962459f5 Merge branch 'master' into issue-16775 2021-06-06 02:18:28 +03:00