Commit Graph

94261 Commits

Author SHA1 Message Date
Wangyang Guo
91e3e2f18b KeyCondition: optimize applyFunction in multi-thread scenario
Construct and deconstruct args (ColumnsWithTypeAndName) will inc/dec
ref_count (actually this is a atomic lock inc/dec operation) to share_ptr,
which may share the same DataTypePtr among different threads. This will
have a lock contention issue in large parallel situation.

The patch try to minimize `args` scope and reduce unnecessary
construct/destory of instances. It will improve the performance in
multi-thread cases.
2022-08-02 16:16:16 +08:00
Robert Schulze
b33fe26d8c
Merge pull request #39759 from ClickHouse/splitted-to-shared-renaming
Rename "splitted build" to "shared libraries build" in CI tools
2022-08-01 22:39:57 +02:00
Yuko Takagi
82e78a03e5
Add URL for release webinar (#39796)
Add URL for release webinar.
2022-08-01 22:09:28 +02:00
Alexander Tokmakov
6792c3211d
Merge pull request #39804 from ClickHouse/revert-39510-update-arrow
Revert "Update arrow to fix possible data race"
2022-08-01 22:18:43 +03:00
Alexander Tokmakov
55af8878a5
Revert "Update arrow to fix possible data race" 2022-08-01 22:18:34 +03:00
Nikolay Degterinsky
755a4c3ecf
Merge pull request #39794 from melvynator/patch-5
Update settings.md
2022-08-01 19:10:15 +02:00
Alexander Tokmakov
3a57634dbb
Merge pull request #39772 from ClickHouse/fix_distinct_in_order_test
Fix non-deterministic queries in distinct_in_order test
2022-08-01 20:09:31 +03:00
Alexander Tokmakov
c083abd40b
Merge pull request #39775 from ClickHouse/fix_subnets_integration_tests
Fix some flaky integration tests
2022-08-01 19:59:21 +03:00
Alexey Milovidov
3de747a6e2
Merge pull request #39746 from ClickHouse/cleanup-projection-setting
Cleanup usages of `allow_experimental_projection_optimization` setting, part 1
2022-08-01 19:21:30 +03:00
Maksim Kita
31891322a5
Merge pull request #39681 from pkit/pkit/executable_settings
add settings for executable table func
2022-08-01 17:59:52 +02:00
Igor Nikonov
d3cfa0a0c0
Merge branch 'master' into fix_distinct_in_order_test 2022-08-01 17:19:55 +02:00
Robert Schulze
bf574b9154
Merge pull request #39760 from ClickHouse/bit-fiddling
Use std::popcount, ::countl_zero, ::countr_zero functions
2022-08-01 17:04:51 +02:00
Mikhail f. Shiryaev
2fd7530880
Merge pull request #39780 from ClickHouse/ch-play-retry
Retry inserts with ClickHouseHelper
2022-08-01 16:34:23 +02:00
Peignon Melvyn
a63fb07f54
Update settings.md 2022-08-01 16:20:33 +02:00
Alexander Tokmakov
2150d0b9b0
Merge pull request #39788 from ClickHouse/revert-39124-fix-02232_dist_insert_send_logs_level_hung
Revert "tests: enable back 02232_dist_insert_send_logs_level_hung"
2022-08-01 16:32:34 +03:00
Alexander Tokmakov
63f9cf02cc
Revert "tests: enable back 02232_dist_insert_send_logs_level_hung" 2022-08-01 16:32:24 +03:00
robot-clickhouse
af2f1b4cc3 Automatic style fix 2022-08-01 13:22:53 +00:00
Mikhail f. Shiryaev
33b26dda05
Improve logging
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-08-01 15:15:48 +02:00
Mikhail f. Shiryaev
079db7f34b
Retry inserts with ClickHouseHelper 2022-08-01 14:59:13 +02:00
Anton Popov
8a3ec52b5e
Merge pull request #39752 from CurtizJ/fix-index-analysis
Fix index analysis with tuples and `IN`
2022-08-01 14:41:46 +02:00
Anton Popov
eeb9366010
Merge pull request #39731 from CurtizJ/fix-send-logs-level-test
Fix redirecting of logs to stdout in clickhouse-client
2022-08-01 14:22:49 +02:00
Ilya Yatsishin
c882bdc88e
Merge pull request #35968 from ClickHouse/interserver_listen_port 2022-08-01 13:57:17 +02:00
Robert Schulze
49a708ff29
Merge pull request #39596 from ClickHouse/move-woboq
Merge Woboq code browser page into "Getting Started" document
2022-08-01 13:44:33 +02:00
robot-clickhouse
65efc0ec98 Automatic style fix 2022-08-01 11:24:03 +00:00
Alexander Tokmakov
80f9ba9186
Merge pull request #39690 from ClickHouse/show-addresses-in-stack-traces
Configuration parameter to hide addresses in stack traces
2022-08-01 14:20:37 +03:00
Alexander Tokmakov
38e5e885c3 fix some flaky integration tests 2022-08-01 13:16:12 +02:00
Kruglov Pavel
dfdfabec94
Merge pull request #39218 from evillique/file_default_value
Add default argument to the function `file`
2022-08-01 13:04:19 +02:00
Kruglov Pavel
91c0b94768
Merge pull request #39510 from Avogar/update-arrow
Update arrow to fix possible data race
2022-08-01 12:54:02 +02:00
Kruglov Pavel
42136b7630
Merge pull request #39647 from Avogar/fix-arrow-strings
Fix strings in dictionary in Arrow format
2022-08-01 12:46:07 +02:00
Kruglov Pavel
6457c069a9
Merge pull request #39293 from kssenii/fix-positional-args-case
Fix positional arguments in case of unneeded columns pruning
2022-08-01 12:42:18 +02:00
Igor Nikonov
914cf8eb4d Fix non-deterministic queries 2022-08-01 10:40:18 +00:00
Antonio Andelic
9ec27c0ab4
Merge pull request #39757 from ClickHouse/fix-rocksdb-filter-with-params
Use params correctly for filtering by key in EmbeddedRocksDB
2022-08-01 12:17:10 +02:00
Nikita Mikhaylov
379d8c5c6a
Chown all directories for multidisk setup (#39121) 2022-08-01 12:08:32 +02:00
Alexander Tokmakov
3bb060336d
Merge pull request #39124 from azat/fix-02232_dist_insert_send_logs_level_hung
tests: enable back 02232_dist_insert_send_logs_level_hung
2022-08-01 12:42:51 +03:00
Robert Schulze
c9e1364cd0
Temporarily restore Woboq pages 2022-08-01 08:39:22 +00:00
Antonio Andelic
76f2ba3e98
Merge pull request #39738 from ClickHouse/fix-jepsen-total-queue
Use different root path for total-queue Jepsen test
2022-08-01 09:09:32 +02:00
Robert Schulze
0e154ed1df
More renamings 2022-08-01 07:05:39 +00:00
Dmitry Novik
ab5a147065
Merge pull request #38725 from azat/fix-order-by-projection
Fix ORDER BY that matches projections ORDER BY
2022-08-01 00:32:59 +02:00
Robert Schulze
d39259a4c0
More conversions 2022-07-31 22:06:02 +00:00
Alexey Milovidov
c5f7a3327b
Merge pull request #39085 from quickhouse/patch-3
Fixed regexp in `test_match_process_uid_against_data_owner`
2022-07-31 22:57:26 +03:00
Alexey Milovidov
ccef227494
Merge pull request #38185 from vdimir/analyze_stuck
Limit number of analyze for one query
2022-07-31 22:53:09 +03:00
Alexey Milovidov
6a2f7d0c8f
Merge branch 'master' into interserver_listen_port 2022-07-31 22:51:38 +03:00
Alexey Milovidov
567b57a627
Update a test. 2022-07-31 22:44:28 +03:00
Robert Schulze
a7734672b9
Use std::popcount, ::countl_zero, ::countr_zero functions
- Introduced with the C++20 <bit> header

- The problem with __builtin_c(l|t)z() is that 0 as input has an
  undefined result (*) and the code did not always check. The std::
  versions do not have this issue.

- In some cases, we continue to use buildin_c(l|t)z(), (e.g. in
  src/Common/BitHelpers.h) because the std:: versions only accept
  unsigned inputs (and they also check that) and the casting would be
  ugly.

(*) https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
2022-07-31 15:16:51 +00:00
Robert Schulze
63836749c6
Try to fix "Docs Check" error 2022-07-31 15:04:14 +00:00
Robert Schulze
dd030c6b48
Add anchor 2022-07-31 13:01:35 +00:00
Robert Schulze
fb622e4c4b
Remove IDE recommendation from Russian / Chinese translations of dev guide
- IDEs are already recommended at length earlier in the documents
2022-07-31 12:53:15 +00:00
Robert Schulze
729d19fa4f
Rename "splitted build" to "shared libraries build" in CI tools
- The old name made sense for (dev option) "-DUSE_STATIC_LIBRARIES=0
  -DSPLIT_SHARED_LIBRARIES=1 -DSPLIT_BINARY=1" but that was removed with
  #39520.

- What still exists is "-DUSE_STATIC_LIBRARIES=0
  -DSPLIT_SHARED_LIBRARIES=1" which does a shared library build
2022-07-31 12:26:51 +00:00
Robert Schulze
52d08d9db4
Merge pull request #39520 from ClickHouse/no-split-binary
Remove SPLIT_BINARY
2022-07-31 14:23:31 +02:00
Robert Schulze
0f2177127b
Merge pull request #39751 from ClickHouse/enable-getoskernelversion
Enable SQL function getOSKernelVersion() on all platforms
2022-07-31 14:09:46 +02:00