Commit Graph

1954 Commits

Author SHA1 Message Date
ByConityBot 1f4fccb6d5 Merge branch 'cherry-pick-e9c31d61' into 'cnch-ce-merge'
fix(clickhousech@m-13231495): [cp cnch-ce-merge] fix core dump of simdjson

See merge request dp/ClickHouse!15206
2023-09-07 16:21:34 +08:00
ByConityBot da8fd3e43c Merge branch 'bridge_branch-20230818' into bridge_branch-20230825
# Conflicts:
#	src/CloudServices/CnchServerResource.cpp
#	src/CloudServices/CnchServerResource.h
#	src/CloudServices/CnchWorkerClient.cpp
#	src/CloudServices/CnchWorkerClient.h
#	src/CloudServices/CnchWorkerServiceImpl.cpp
#	src/Interpreters/DistributedStages/PlanSegmentSplitter.cpp
#	src/Interpreters/InterpreterSelectQueryUseOptimizer.cpp
#	src/MergeTreeCommon/CnchStorageCommon.h
#	src/MergeTreeCommon/assignCnchParts.cpp
#	src/MergeTreeCommon/assignCnchParts.h
#	src/Optimizer/QueryUseOptimizerChecker.cpp
#	src/Protos/DataModelHelpers.cpp
#	src/Protos/DataModelHelpers.h
#	src/Protos/data_models.proto
#	src/QueryPlan/ReadFromCnchHive.h
#	src/Storages/DataPart_fwd.h
#	src/Storages/HDFS/HDFSCommon.h
#	src/Storages/Hive/HiveDataPart.h
#	src/Storages/Hive/HiveMetastore.cpp
#	src/Storages/Hive/HiveMetastore.h
#	src/Storages/Hive/HiveSchemaConverter.cpp
#	src/Storages/Hive/HiveSchemaConverter.h
#	src/Storages/Hive/HiveWhereOptimizer.cpp
#	src/Storages/MergeTree/RowGroupsInDataPart.h
#	src/Storages/StorageCloudHive.h
#	src/Storages/StorageCnchHive.cpp
#	src/Storages/StorageCnchHive.h
2023-08-29 10:10:17 +08:00
yaojun 20435acf85 fix some typo 2023-08-27 09:15:43 +08:00
ByConityBot 7fb9875f53 Merge branch 'pick-hive' into 'cnch-ce-merge'
fix(clickhousech@m-12601269): hive 2.0

See merge request dp/ClickHouse!13096
# Conflicts:
#	contrib/arrow-cmake/CMakeLists.txt
#	contrib/hivemetastore-cmake/CMakeLists.txt
#	contrib/libhdfs3
#	src/CloudServices/CnchServerResource.cpp
#	src/CloudServices/CnchServerResource.h
#	src/CloudServices/CnchWorkerClient.cpp
#	src/CloudServices/CnchWorkerClient.h
#	src/CloudServices/CnchWorkerServiceImpl.cpp
#	src/CloudServices/CnchWorkerServiceImpl.h
#	src/Formats/FormatSettings.h
#	src/Interpreters/DistributedStages/PlanSegmentSplitter.cpp
#	src/Interpreters/InterpreterSelectQueryUseOptimizer.cpp
#	src/Interpreters/trySetVirtualWarehouse.cpp
#	src/MergeTreeCommon/CnchStorageCommon.h
#	src/MergeTreeCommon/assignCnchParts.h
#	src/Optimizer/QueryUseOptimizerChecker.cpp
#	src/Processors/Formats/Impl/ORCBlockInputFormat.cpp
#	src/Processors/Formats/Impl/ORCBlockInputFormat.h
#	src/Processors/Formats/Impl/ParquetBlockOutputFormat.cpp
#	src/Protos/DataModelHelpers.cpp
#	src/Protos/DataModelHelpers.h
#	src/Protos/data_models.proto
#	src/QueryPlan/ReadFromCnchHive.cpp
#	src/QueryPlan/ReadFromCnchHive.h
#	src/Storages/DataPart_fwd.h
#	src/Storages/HDFS/HDFSCommon.cpp
#	src/Storages/HDFS/HDFSCommon.h
#	src/Storages/Hive/CnchHiveSettings.h
#	src/Storages/Hive/HiveDataPart.cpp
#	src/Storages/Hive/HiveDataPart.h
#	src/Storages/Hive/HiveDataSelectExecutor.cpp
#	src/Storages/Hive/HiveDataSelectExecutor.h
#	src/Storages/Hive/HiveMetastore.cpp
#	src/Storages/Hive/HiveMetastore.h
#	src/Storages/Hive/HivePartition.cpp
#	src/Storages/Hive/HivePartition.h
#	src/Storages/Hive/HiveSchemaConverter.cpp
#	src/Storages/Hive/HiveSchemaConverter.h
#	src/Storages/Hive/HiveWhereOptimizer.cpp
#	src/Storages/Hive/HiveWhereOptimizer.h
#	src/Storages/Hive/ParquetBlockInputStream.h
#	src/Storages/MergeTree/CnchHiveReadPool.cpp
#	src/Storages/MergeTree/CnchHiveReadPool.h
#	src/Storages/MergeTree/CnchHiveThreadSelectBlockInputProcessor.cpp
#	src/Storages/MergeTree/CnchHiveThreadSelectBlockInputProcessor.h
#	src/Storages/MergeTree/RowGroupsInDataPart.h
#	src/Storages/StorageCloudHive.cpp
#	src/Storages/StorageCloudHive.h
#	src/Storages/StorageCnchHive.cpp
#	src/Storages/StorageCnchHive.h
#	tests/queries/4_cnch_stateless/00017_orc_test.sql.disabled
#	tests/queries/4_cnch_stateless/00020_join_case_use_part_schedule.sql.disabled
#	tests/queries/4_cnch_stateless/00021_join_case_use_row_group_schedule.sql.disabled
#	tests/queries/4_cnch_stateless/60008_map_array.sql.disabled
#	tests/queries/4_cnch_stateless/60010_decimal_type_test.sql.disabled
2023-08-18 16:26:41 +08:00
Feng Kaiyu 680a5f79ee
refactor: remove libnuma.
Remove the `libnuma` dependency as per licenses conflicts.
2023-07-25 15:33:46 +08:00
benyucong 92f6efc4ae fix: Fix stack buffer overflow issue when calling copy_to_cstr 2023-07-21 13:58:40 +08:00
benyucong 86d437193f fix: [cp]roaring_bitmap_contains bugs which may lead to core and wrong res 2023-07-21 13:24:54 +08:00
benyucong bb7db821cd update submodule 2023-07-19 11:10:19 +08:00
benyucong bd04b461e6 Merge branch 'dog-cnch-ce-dev-pick-optimizer' into 'cnch-ce-merge'
feat(optimizer@m-10511126): cherry-pick optimizer related code from ce-dev

See merge request dp/ClickHouse!13295
# Conflicts:
#	.codebase/pipelines/ci.yaml
#	src/Common/LinkedHashMap.h
#	src/Core/Settings.h
#	src/Interpreters/Context.h
#	src/Interpreters/InterpreterSelectQueryUseOptimizer.cpp
#	src/Optimizer/EqualityInference.cpp
#	src/Optimizer/ImplementSetOperation.cpp
#	src/Optimizer/JoinGraph.cpp
#	src/Optimizer/PlanOptimizer.cpp
#	src/Optimizer/Property/PropertyDeriver.cpp
#	src/Optimizer/Property/PropertyMatcher.cpp
#	src/Optimizer/QueryUseOptimizerChecker.cpp
#	src/Optimizer/Rewriter/ColumnPruning.cpp
#	src/Optimizer/Rewriter/PredicatePushdown.cpp
#	src/Optimizer/Rule/Implementation/SetJoinDistribution.cpp
#	src/Optimizer/Rule/Rewrite/PushAggThroughJoinRules.cpp
#	src/Optimizer/Rule/Rewrite/RemoveRedundantRules.cpp
#	src/Optimizer/Rule/Transformation/InlineCTE.cpp
#	src/Optimizer/tests/explains/tpcds/q14.explain
#	src/Optimizer/tests/explains/tpcds/q75-2.explain
#	src/Optimizer/tests/explains/tpcds/q75.explain
#	src/Optimizer/tests/explains/tpcds_no_statistics/q4.explain
#	src/Optimizer/tests/explains/tpcds_no_statistics/q74.explain
#	src/Parsers/tests/gtest_stats_query.cpp
#	src/QueryPlan/AggregatingStep.cpp
#	src/QueryPlan/ApplyStep.cpp
#	src/QueryPlan/ExchangeStep.cpp
#	src/QueryPlan/JoinStep.h
#	src/QueryPlan/QueryPlan.cpp
#	src/QueryPlan/QueryPlanner.cpp
#	src/QueryPlan/TableScanStep.cpp
#	src/Statistics/StatsNdvBucketsExtendImpl.h
#	tests/queries/0_ce_problematic_stateless/00051_any_inner_join.sql
#	tests/queries/0_ce_problematic_stateless/00098_l_union_all.sql
#	tests/queries/0_ce_problematic_stateless/00316_rounding_functions_and_empty_block.sql
#	tests/queries/0_ce_problematic_stateless/00353_join_by_tuple.sql
#	tests/queries/0_ce_problematic_stateless/00441_nulls_in.sql
#	tests/queries/0_ce_problematic_stateless/00444_join_use_nulls.sql
#	tests/queries/0_ce_problematic_stateless/00445_join_nullable_keys.sql
#	tests/queries/0_ce_problematic_stateless/00597_push_down_predicate_long.sql
#	tests/queries/0_ce_problematic_stateless/01009_global_array_join_names.sql
#	tests/queries/0_ce_problematic_stateless/01029_early_constant_folding.sql
#	tests/queries/0_ce_problematic_stateless/01056_predicate_optimizer_bugs.sql
#	tests/queries/0_ce_problematic_stateless/01611_constant_folding_subqueries.reference
#	tests/queries/0_ce_problematic_stateless/01611_constant_folding_subqueries.sql
#	tests/queries/0_ce_problematic_stateless/40014_set_operation_implicit_conversion_2.sql
#	tests/queries/0_ce_problematic_stateless/40019_name_resolution_in_order_by.sql
#	tests/queries/0_stateless/00982_materialized_view_match_rewrite_optimizer.reference
#	tests/queries/0_stateless/00982_materialized_view_match_rewrite_optimizer.sql
#	tests/queries/0_stateless/02210_processors_profile_log_with_optimizer.reference
#	tests/queries/0_stateless/02210_processors_profile_log_with_optimizer.sql
#	tests/queries/0_stateless/02210_processors_profile_log_without_optimizer.reference
#	tests/queries/0_stateless/02210_processors_profile_log_without_optimizer.sql
#	tests/queries/0_stateless/40003_bucket_table_join.reference
#	tests/queries/0_stateless/40023_reorder_adjacent_windows.reference
#	tests/queries/0_stateless/41833_distributed_ddl_ansi.sql
#	tests/queries/0_stateless/45007_date_stats.reference
#	tests/queries/0_stateless/45007_date_stats.sql
#	tests/queries/0_stateless/45007_ip_stats.reference
#	tests/queries/0_stateless/45007_ip_stats.sql
#	tests/queries/4_cnch_stateless/40022_topn_filtering_opt.reference
#	tests/queries/4_cnch_stateless/40022_topn_filtering_opt.sql
#	tests/queries/4_cnch_stateless/40034_subcolumn_opt_through_union.reference
#	tests/queries/4_cnch_stateless/46012_optimize_multi_distinct.reference
#	tests/queries/4_cnch_stateless/46012_optimize_multi_distinct.sql
#	tests/queries/4_cnch_stateless/48015_simplify_multiIf_function.reference
#	tests/queries/4_cnch_stateless/48017_not_push_filter_into_any_join.reference
#	tests/queries/4_cnch_stateless_no_tenant/40022_topn_filtering_opt.reference
#	tests/queries/4_cnch_stateless_no_tenant/40034_subcolumn_opt_through_union.reference
#	tests/queries/4_cnch_stateless_no_tenant/46012_optimize_multi_distinct.reference
#	tests/queries/4_cnch_stateless_no_tenant/48015_simplify_multiIf_function.reference
#	tests/queries/4_cnch_stateless_no_tenant/48017_not_push_filter_into_any_join.reference
2023-07-18 19:12:50 +08:00
hustnn 508c0ec6e2
Merge pull request #485 from ByConity/dao_fix_submodule
fix: fix submodule cassandra
2023-07-13 14:06:29 +08:00
Dao 6ebb52c60e fix submodule cassandra 2023-07-13 13:48:44 +08:00
benyucong 62a6cddb79 Update submodule parallel-hashmap to latest commit 2023-07-07 16:15:26 +08:00
benyucong 67b6aafec5 Merge branch 'refine_exchange_error_report_cnch_ce_merge' into 'cnch-ce-merge'
feat(clickhousech@m-7971328): refine mpp query mode error report

See merge request dp/ClickHouse!13185
# Conflicts:
#	.gitmodules
#	src/Core/Settings.h
#	src/DataStreams/BlockIO.h
#	src/Interpreters/DistributedStages/PlanSegmentExecutor.cpp
#	src/Interpreters/DistributedStages/PlanSegmentManagerRpcService.h
#	src/Interpreters/DistributedStages/executePlanSegment.cpp
#	src/Interpreters/SegmentScheduler.h
#	src/Processors/Exchange/ExchangeSource.cpp
2023-07-07 16:02:15 +08:00
Dao 096566e5c1 dao fix submodule 2023-07-05 17:04:36 +08:00
benyucong c30c05b3eb Merge branch 'cherry-pick-jemalloc-2.0' into 'cnch-ce-merge'
feat(clickhousech@m-12623283): Jemalloc and jeprof related features

See merge request dp/ClickHouse!13193
# Conflicts:
#	contrib/jemalloc-cmake/CMakeLists.txt
#	src/Parsers/ASTSystemQuery.cpp
#	src/Parsers/ASTSystemQuery.h
2023-07-03 17:21:04 +08:00
hustnn 8d38eea10f fix TaskGroup::current_task() returns task control in debug mode 2023-06-08 19:27:08 +08:00
justoy da7f487071
fix #298, support to read partition columns for hive external table in ORC format (#311)
* create orc table in hive sql

* update arrow orc

* update thrift and fix arrow issues

* fix comment

* fix lint
2023-05-31 14:44:20 +08:00
caichangheng e207d7a5dd fix hedge read 2023-05-19 20:08:51 +08:00
rmq 0c0e2c40e5 disable fast-switch read in libhdfs3 by default 2023-05-16 14:05:01 +08:00
Dao 0ff09affce fix dns service discovery mode 2023-04-20 20:07:54 +08:00
caichangheng 29169e88ce support krb5 for hdfs
add License

fix license
2023-04-17 21:41:44 +08:00
lzydmxy 37ee46faa4 old kernel hdfs support 2023-04-07 20:00:16 +08:00
Dao ae95dbf803 build fdb from source 2023-02-19 22:04:52 +08:00
minh.dao 5b1b4f57c0 fix_hdfs 2023-01-13 16:51:31 +08:00
ducle.canh 27964cae1b remove empty line 2023-01-06 18:41:25 +08:00
ducle.canh 4e7dd0798d update copyright and license 2023-01-06 18:32:51 +08:00
ducle.canh 88ce20eba8 Merge branch 'master' of https://github.com/ByConity/ByConity 2023-01-06 18:28:21 +08:00
ducle.canh 1bcc5a03ed update copyright and license 2023-01-06 18:27:24 +08:00
ducle.canh 528629d9f9 update cassandra and libhdfs 2023-01-06 17:56:50 +08:00
hustnn 78d66db111 add minizip original license 2023-01-06 16:58:11 +08:00
ducle.canh 2e4bf94a21 strip all trailing spaces 2023-01-06 14:28:46 +08:00
ducle.canh eb398d63ac update submodule 2023-01-06 14:01:06 +08:00
ducle.canh 2e549a3c4f update copyright and license 2023-01-06 12:03:41 +08:00
ducle.canh 84a618d80e update brpc 2023-01-05 17:45:07 +08:00
ducle.canh b8c76c1aab initial commit 2023-01-05 14:19:18 +08:00
robot-clickhouse ce83fc6374 Backport #27736 to 21.8: remove duplicated source files in arrow-cmake 2021-08-16 16:36:50 +03:00
Maksim Kita 3098fe2ef1 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 9e2d74ed32 Fix libunwind lock free stack 2021-07-04 21:09:55 +03:00
Alexey Milovidov 46e4835303 Remove experimental ANTLR parser 2021-07-03 18:48:03 +03:00
kssenii d1cd59d8e2 Update libpq 2021-07-02 22:26:33 +03:00
kssenii 20c7bedc70 Update libpq 2021-07-02 00:07:23 +03:00
Maksim Kita 9720e66e2d ARM fix startup crash 2021-06-30 12:27:20 +03:00
Ivan 227722d7a7 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 d15c754c1c Merge pull request #25400 from georgthegreat/murmurhash
Rename & reimport murmurhash sources from smhasher repo
2021-06-23 22:48:29 +03:00
tavplubix d37163a5a1 Revert "Implement h3ToGeo function" 2021-06-22 17:25:21 +03:00
Nikita Mikhaylov c8e6da3945 Merge pull request #24867 from bharatnc/ncb/h3-indexing-funcs
Implement h3ToGeo function
2021-06-22 15:59:09 +03:00
Yuriy Chernyshov 64485ba672 Make -Wreserved-id-macro happy 2021-06-22 14:13:19 +03:00
Yuriy Chernyshov b1bb361327 Mark functions as extern "C" to allow CGO bindings 2021-06-22 13:00:46 +03:00
Yuriy Chernyshov 3c1e260055 Fix undefined behavior due to unaligned read 2021-06-22 13:00:05 +03:00
Yuriy Chernyshov 481f16b339 Make block length size_t 2021-06-22 12:59:44 +03:00
alesapin c051fb136b Merge branch 'fix_some_tests' into update_buffer_size_in_nuraft 2021-06-21 13:20:27 +03:00
Kruglov Pavel 304bb4367b Merge pull request #24341 from Avogar/arrow
Support complex types in Arrow/Parquet/ORC
2021-06-21 11:05:57 +03:00
Azat Khuzhin 3b7dd14f41 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
mergify[bot] c048157e32 Merge branch 'master' into arrow 2021-06-18 12:18:57 +00:00
Yatsishin Ilya 78df9f52c0 update 2021-06-18 13:34:15 +03:00
alesapin bc71f045a9 Update NuRaft buffer to 64 bit size 2021-06-17 19:37:08 +03:00
Yuriy Chernyshov 966ca2cba0 Rename & reimport murmurhash sources from smhasher repo 2021-06-17 10:58:42 +03:00
Kseniia Sumarokova 59a19c83cf 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 a57fb913fe Fix broken contrib 2021-06-16 16:55:34 +03:00
Pavel Kruglov 00f2316794 Fix 2021-06-16 16:12:23 +03:00
Pavel Kruglov 0c9ab4471e Remove useless srcs 2021-06-16 15:57:36 +03:00
kssenii 478b9f383b Update libpqxx 2021-06-16 09:38:33 +03:00
kssenii 69f1e63c9f Update libpqxx 2021-06-15 18:47:50 +03:00
Pavel Kruglov 1657a7169f Fix tests and build 2021-06-15 16:15:27 +03:00
Pavel Kruglov 405d61bdcb Update orc and arrow 2021-06-15 16:15:27 +03:00
kssenii 8f0c828bfb Update libpqxx 2021-06-15 15:25:34 +03:00
bharatnc 4656aee67f h3 - update submodule 2021-06-14 11:38:38 -07:00
alexey-milovidov e9d4550774 Merge pull request #21267 from filimonov/kafka-failover
Kafka failover issue fix
2021-06-14 01:42:42 +03:00
alexey-milovidov 2f4e4e1119 Merge pull request #25146 from oxidecomputer/master
Adds a better way to include binary resources
2021-06-13 16:13:34 +03:00
kssenii c522668550 Fixes 2021-06-10 16:23:04 +00:00
Alexey Milovidov 2d12e62441 Update roaring just in case 2021-06-10 02:36:36 +03:00
Benjamin Naecker 0f2b93ee40 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 b6b69ad7f2 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 1e99e7529f Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into postgres-fixes-schema 2021-06-08 17:20:23 +00:00
Maksim Kita 0027f11130 Merge pull request #25034 from sdk2/patch-1
fix jemalloc build on OS_DARWIN
2021-06-07 21:08:28 +03:00
Ivan 815a257928 More pytest fixes (#23538) 2021-06-07 20:29:19 +03:00
sdk2 1252d764e4 Update contrib/jemalloc-cmake/CMakeLists.txt 2021-06-07 16:38:24 +08:00
Alexey Milovidov 6b2e6786c6 Remove experimental compression codecs 2021-06-06 02:26:52 +03:00
Alexey Milovidov 7542dc4e42 Merge branch 'master' into issue-16775 2021-06-06 02:18:28 +03:00
mergify[bot] d8f49ad255 Merge branch 'master' into update_nuraft 2021-06-01 20:34:53 +00:00
Maksim Kita 49bcf76b0c Reverted libunwind from upstream 2021-06-01 21:09:41 +03:00
Nikita Mikhaylov 5d07639120 Merge pull request #24691 from nikitamikhaylov/debug_host_ip_change
Fix flaky integration tests
2021-06-01 15:55:51 +03:00
alesapin 84da86dba2 Fix build 2021-06-01 10:58:53 +03:00
Maksim Kita 30189ee123 Updated libunwind 2021-06-01 01:46:46 +03:00
alesapin 6581111caf Update NuRaft 2021-05-30 22:28:35 +03:00
Nikita Mikhaylov ab0bc4278a suppress msan cassandra 2021-05-28 16:22:50 +03:00
Yatsishin Ilya fe21bbf29e Fix avro 2021-05-27 16:11:46 +03:00
Alexey Milovidov cac5ed6183 Merge branch 'master' into issue-16775 2021-05-26 03:46:43 +03:00
Maksim Kita 427aa7e278 Revent libunwind 2021-05-25 13:40:45 +03:00
Maksim Kita 67feed6209 Merge pull request #24460 from kitaisreal/manually-disable-llvm-parts-submodule-update
Manually disable LLVM parts submodule update
2021-05-24 22:51:01 +03:00
Maksim Kita 3f45890d09 Manually disable LLVM parts submodule update 2021-05-24 20:52:12 +03:00
alexey-milovidov 3e13ba962c Merge pull request #24419 from kitaisreal/libunwind-update-version
Libunwind update version
2021-05-24 17:32:20 +03:00
Alexey Milovidov cc6a07a50c Use entropy coders from zstd 2021-05-24 06:18:57 +03:00
Alexey Milovidov c5148fd42d Merge branch 'master' into issue-16775 2021-05-24 05:56:57 +03:00
Alexey Milovidov 00c84e58cb Allow to build without experimental compression libraries and remove from fasttest 2021-05-24 01:18:12 +03:00
Maksim Kita 81e0c7cb54 Updated submodule version 2021-05-23 17:36:10 +03:00
Alexey Milovidov 38c939b4ae Remove Lizard framing format because we do not need it 2021-05-23 03:23:11 +03:00
Alexey Milovidov 4f3c7e9805 Fix warning in LZSSE 2021-05-23 03:04:25 +03:00
kssenii 948e5bb01e Update CmakeLists.txt 2021-05-22 17:26:12 +00:00
Maksim Kita 94575d9bc7 Libunwing update version 2021-05-22 16:04:00 +00:00