Commit Graph

79891 Commits

Author SHA1 Message Date
lehasm
e9ab9d5b59
Update docs/en/operations/server-configuration-parameters/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-12-20 08:25:42 +03:00
bharatnc
b9787f730e use prefix increment for rows 2021-12-19 20:32:52 -08:00
bharatnc
15c555c161 simplify looping in S2 functions
Previously replaced range based for loops in H3 functions with simple
for loops based on review. Similarly doing the same for the S2 functions
also.
2021-12-19 20:00:28 -08:00
alexey-milovidov
b24d57db1c
Merge pull request #32954 from den-crane/test/base64encode_trailing_bytes1
test for base64encode_trailing_bytes #31797
2021-12-20 04:42:56 +03:00
Denny Crane
393e99e899
Update 02113_base64encode_trailing_bytes_1.sql 2021-12-19 18:48:12 -04:00
alexey-milovidov
2e5a14a8de
Merge pull request #32945 from ClickHouse/revert-30292-trim_dev
Revert "fix replaceRegexpAll bug" + proper fix
2021-12-20 01:42:20 +03:00
alexey-milovidov
1141ae91d8
Merge pull request #32948 from amosbird/buildfix2
Fix build issue related to azure blob storage [another try]
2021-12-20 01:32:41 +03:00
Azat Khuzhin
1d25ec3e82 Merge ProfileEvents in case they were not printed
That way with --profile-events-delay-ms=-1 you will always get totals.

Plus, this will fix periodic failures, that can be reproduced by
limitting CPU (5% is enough in my setup), i.e.:

    $ systemd-run --collect --unit ch -p CPUQuota=5% --user clickhouse-server
    $ while clickhouse-client --print-profile-events --profile-events-delay-ms=-1 -q 'select * from numbers (1e5) format Null' |& tee /dev/stderr | fgrep 'SelectedRows: 131010 (increment)'; do :; done

And as a bonus it will make 02050_client_profile_events deterministic.
2021-12-19 23:43:05 +03:00
Azat Khuzhin
6aebc3e94c Do not loose ProfileEvents in case of thread destroyed before
v2: drop std::move and add copy ctor for ProfileEvents::Counter::Snapshot
v2: remove std::move
2021-12-19 23:43:05 +03:00
Azat Khuzhin
909ce68b5a Do not suppress exception in ThreadStatus::~ThreadStatus() 2021-12-19 23:43:05 +03:00
Azat Khuzhin
2461cc5f93 tests: add thread_id into 02050_client_profile_events 2021-12-19 23:43:05 +03:00
Azat Khuzhin
b7f18e2333 tests: add more information for 02050_client_profile_events in case of failure
Sometimes [1] the test fails like this:

    2021-12-10 03:41:19 --- /usr/share/clickhouse-test/queries/0_stateless/02050_client_profile_events.reference	2021-12-10 03:23:43.000000000 -0500
    2021-12-10 03:41:19 +++ /tmp/clickhouse-test/0_stateless/02050_client_profile_events.617.stdout	2021-12-10 03:41:19.509611205 -0500
    2021-12-10 03:41:19 @@ -1,4 +1,3 @@
    2021-12-10 03:41:19  0
    2021-12-10 03:41:19 -SelectedRows: 131010 (increment)
    2021-12-10 03:41:19  OK
    2021-12-10 03:41:19  OK
    2021-12-10 03:41:19
    2021-12-10 03:41:19
    2021-12-10 03:41:19 Database: test_73d5o0

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/32493/703213a6444f8014e3324df4b6e44d03fa351294/stateless_tests_flaky_check__address__actions_.html

And I did not find anything strange in server logs (and there was 0
exceptions).
2021-12-19 23:43:05 +03:00
Azat Khuzhin
a34c3511af tests: fix 02050_client_profile_events flakiness
CI: https://s3.amazonaws.com/clickhouse-test-reports/32303/24751e7d45d94541be854c86ce46d65c2e0f66da/stateless_tests__thread__actions_.html
2021-12-19 23:43:05 +03:00
Denny Crane
77c2180394 test for _base64encode_trailing_bytes #31797 2021-12-19 16:04:39 -04:00
kssenii
0411fd6565 Better test 2021-12-19 21:24:52 +03:00
kreuzerkrieg
f06c37d206 Stop reading incomplete stripes and skip rows. 2021-12-19 18:41:32 +02:00
Amos Bird
ffda16b5a4
Better build of azure blob 2021-12-19 21:34:24 +08:00
Vitaly Baranov
02d6cea857 Lz4DeflatingWriteBuffer now supports changes in the nested buffer between calls. 2021-12-19 16:29:57 +03:00
Vitaly Baranov
708439b036 Support customized compression for input/output data in gRPC protocol. 2021-12-19 16:29:44 +03:00
alexey-milovidov
13d1377ad7
Update src/Functions/ReplaceRegexpImpl.h
Co-authored-by: Vladimir C <vdimir@clickhouse.com>
2021-12-19 12:59:28 +03:00
Alexey Milovidov
c61885488d Return more tests 2021-12-19 12:46:19 +03:00
Alexey Milovidov
0d6e8e90eb Proper fix for #30245 2021-12-19 12:44:42 +03:00
Alexey Milovidov
0db88e3700 Add a test 2021-12-19 12:11:23 +03:00
alexey-milovidov
3b8978de36
Merge pull request #32894 from meoww-bot/patch-5
Update tables.md for zh translation
2021-12-19 11:37:01 +03:00
alexey-milovidov
3843038e38
Merge pull request #32944 from ClickHouse/update-adopters
Add new adopters
2021-12-19 11:36:13 +03:00
alexey-milovidov
cee850b3be
Revert "fix replaceRegexpAll bug" 2021-12-19 11:32:34 +03:00
alexey-milovidov
d1d872329c
Merge pull request #32940 from nkolotov/fix_segfault_object_used_after_move
Fixed segfault when smart pointer is dereferenced after move.
2021-12-19 09:36:43 +03:00
Alexey Milovidov
7df4d3f4f3 Add new adopters 2021-12-19 09:36:03 +03:00
alexey-milovidov
d3a1ffd05d
Merge pull request #32529 from dmthuc/fix_groupBitmapAnd_function_distributed_table
fix groupBitmapAnd function on distributed table
2021-12-19 08:28:26 +03:00
alexey-milovidov
74c2a38ea5
Merge pull request #32592 from ClickHouse/strange-code-tcphandler
Fix strange code in TCPHandler
2021-12-19 08:11:43 +03:00
alexey-milovidov
4a30a6924b
Merge pull request #32721 from ClickHouse/blinkov-patch-27
[docs] update development/tests.md according to recent changes
2021-12-19 08:05:17 +03:00
alexey-milovidov
851f5a11d5
Update tests.md 2021-12-19 08:04:55 +03:00
alexey-milovidov
492cc94c38
Update tests.md 2021-12-19 08:04:06 +03:00
alexey-milovidov
7f5ac732ef
Update tests.md 2021-12-19 08:03:14 +03:00
alexey-milovidov
9c04901117
Merge pull request #32801 from ClickHouse/better_gdb_script
More diagnostics in gdb script
2021-12-19 08:00:12 +03:00
mergify[bot]
45c0093813
Merge branch 'master' into patch-5 2021-12-19 04:55:15 +00:00
alexey-milovidov
d4f3823f0e
Merge pull request #32885 from arenadata/ADQM-414
warm up for test_kafka_json_as_string_no_kdc
2021-12-19 07:54:30 +03:00
alexey-milovidov
f5c66ab0ac
Merge pull request #32895 from meoww-bot/patch-6
Update merge_tree_settings.md
2021-12-19 07:53:30 +03:00
alexey-milovidov
a743d79980
Merge pull request #32931 from azat/integration-cleanup_environment-fix
tests/integration/cleanup_environment: fix obtaining PYTEST_CLEANUP_CONTAINERS
2021-12-19 07:51:28 +03:00
alexey-milovidov
c63a07f47e
Merge pull request #32936 from den-crane/patch-49
fix typo
2021-12-19 07:50:17 +03:00
mergify[bot]
4580af9f79
Merge branch 'master' into fix_segfault_object_used_after_move 2021-12-19 04:33:03 +00:00
N. Kolotov
b059154a81 Fixed segfault when smart pointer is dereferenced after move. 2021-12-18 23:13:42 +03:00
Denny Crane
293191247f
Update RemoteQueryExecutor.h 2021-12-18 15:50:16 -04:00
Denny Crane
aa52eff0ec
fix typo 2021-12-18 15:48:23 -04:00
Alexey
cfed9b9c59 updates 2021-12-18 19:00:32 +00:00
Alexey
f13c018c50 en updated 2021-12-18 18:25:42 +00:00
meoww-bot
4e4ed6e322
fix links 2021-12-18 20:52:34 +08:00
meoww-bot
59ac72cf90
fix some words 2021-12-18 20:41:09 +08:00
Azat Khuzhin
f93eb61946 tests/integration/cleanup_environment: fix obtaining PYTEST_CLEANUP_CONTAINERS 2021-12-18 13:21:18 +03:00
Alexey
305fa316fa en draft 2021-12-18 08:06:47 +00:00