Commit Graph

79820 Commits

Author SHA1 Message Date
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
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
Vladimir C
778cd76987
Merge pull request #32914 from vdimir/issue_32487 2021-12-18 10:18:51 +03:00
Dao
e3f16cb73f fix intergration test 2021-12-18 14:42:42 +08:00
Dao
5500d0e439 fix intergration test 2021-12-18 13:35:36 +08:00
alexey-milovidov
5cd56b127f
Merge pull request #32912 from cmsxbc/fix-wrong-cases-in-gtest-parser
fix wrong testcase in gtest_Parser
2021-12-18 07:51:16 +03:00
alexey-milovidov
8571501cf7
Update AggregateFunctionTopK.cpp 2021-12-18 07:49:35 +03:00
alexey-milovidov
f5b6502dff
Merge pull request #32923 from azat/fasttest-jemalloc-replxx
[RFC] Add replxx/jemalloc into fasttest build of clickhouse
2021-12-18 07:42:55 +03:00
Dao
21b8a11907 fix intergration test 2021-12-18 12:27:31 +08:00