Commit Graph

149593 Commits

Author SHA1 Message Date
Sema Checherinda
244da49013 add max iteration 2024-08-06 13:22:53 +02:00
Sema Checherinda
523767c0c0 run 01171 test in parallel 2024-08-06 13:22:53 +02:00
Max K.
8cca8ecb34
Merge pull request #67101 from ClickHouse/ci_mergeable_check_fix
CI: CheckReadyForMerge fixes
2024-08-06 11:08:45 +00:00
Nikita Taranov
173f55989e
Merge pull request #67680 from ClickHouse/fix_02313_filesystem_cache_seeks
Avoid ddl queue timeout in 02313_filesystem_cache_seeks
2024-08-06 10:54:40 +00:00
Anton Popov
3656b9094a
Merge pull request #67846 from ClickHouse/revert-67392-revert-66099-better-index-calc
Revert "Revert "Slightly better calculation of primary index""
2024-08-06 10:36:01 +00:00
Anton Popov
7c15ad3966 do not try to create azure container if not needed 2024-08-06 10:27:15 +00:00
Nikolay Degterinsky
103ff7d2f9 Merge remote-tracking branch 'upstream/master' into fix-timeout-stateless-tests 2024-08-06 10:23:57 +00:00
maxvostrikov
50ed7da27d squash! fix for parallel execution 2024-08-06 12:02:53 +02:00
Nikita Mikhaylov
b4a6f249ab
Merge pull request #66438 from ClickHouse/analyzer-beta
Analyzer is finally Beta
2024-08-06 09:39:29 +00:00
Azat Khuzhin
27569815d5 Fix query cache randomization in stress tests
Right now it fails with [1]:

    2024.08.05 12:53:53.659422 [ 3559 ] {123237a2-5f08-47e4-996e-21e20bc4a51a} <Error> executeQuery: Code: 704. DB::Exception: The query result was not cached because the query contains a non-deterministic function. Use setting `query_cache_nondeterministic_function_handling = 'save'` or `= 'ignore'` to cache the query result regardless or to omit caching. (QUERY_CACHE_USED_WITH_NONDETERMINISTIC_FUNCTIONS) (version 24.8.1.1356) (from [::1]:42534) (in query: SELECT version(), arrayStringConcat(groupArray(value), ' ') FROM system.build_options WHERE name IN ('GIT_HASH', 'GIT_BRANCH') ), Stack trace (when copying this message, always include the lines below):

    Uexpected exception, will not retry:  HTTPError :  Code: 500. Code: 704. DB::Exception: The query result was not cached because the query contains a non-deterministic function. Use setting `query_cache_nondeterministic_function_handling = 'save'` or `= 'ignore'` to cache the query result regardless or to omit caching. (QUERY_CACHE_USED_WITH_NONDETERMINISTIC_FUNCTIONS) (version 24.8.1.1356)

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/67737/e68c9c8d16f37f6c25739076c9b071ed97952269/stress_test__asan_/stress_test_run_10.txt

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-06 11:38:55 +02:00
Robert Schulze
4d44682017
Merge pull request #66479 from rschu1ze/bump-rocksdb2
Bump RocksDB from v7.10.2 to v8.9.1
2024-08-06 09:31:20 +00:00
Robert Schulze
f9320b82d9
Merge pull request #67867 from rschu1ze/fuzz-and-fuss
Un-flake 02524_fuzz_and_fuss_2
2024-08-06 09:08:32 +00:00
Nikolai Kochetov
614b78495a
Merge pull request #67395 from ClickHouse/anoter-case-of-non-deterministic-func-in-group-by-key
Fix another one case of non-deterministic PK
2024-08-06 08:56:54 +00:00
Nikita Mikhaylov
22ac7ce11d Merge branch 'master' of github.com:ClickHouse/ClickHouse into pr-all-connection-failed 2024-08-06 10:31:12 +02:00
Michael Kolupaev
dc776af565
Merge pull request #67484 from ClickHouse/nojs
Revert #61750 "Improve JSONEachRow reading by ignoring the keys case"
2024-08-06 08:27:02 +00:00
Michael Kolupaev
f344d833fd
Merge pull request #65253 from ClickHouse/reg
attach_gdb.lib: print more information before all stacks
2024-08-06 08:18:46 +00:00
Michael Kolupaev
9e3bc9bc53
Merge pull request #66018 from ClickHouse/readyornot
Fix 'Not-ready Set is passed' in system tables
2024-08-06 08:13:03 +00:00
Antonio Andelic
8e6de03335 Remove unsupported files 2024-08-06 09:39:00 +02:00
János Benjamin Antal
45c4a71ccb
Merge pull request #67800 from ClickHouse/revert-66510
Revert "Merge pull request #66510 from canhld94/fix_trivial_count_non_deterministic_func"
2024-08-06 06:30:35 +00:00
Michael Kolupaev
bb71c1eea8
Merge pull request #67874 from ClickHouse/omnomsan
no-msan 00314_sample_factor_virtual_column
2024-08-06 05:02:29 +00:00
Alexey Katsman
913bc8ab3a
Merge pull request #67869 from alexkats/misc-fixes
Misc fixes
2024-08-06 04:10:41 +00:00
Michael Kolupaev
b1b5dd6fc5
Merge pull request #67418 from ClickHouse/curange
Make Dwarf::findAddress() fallback slow path less slow
2024-08-06 03:24:08 +00:00
Alexey Milovidov
15a4d13cda
Update 02968_full_sorting_join_fuzz.sql 2024-08-06 04:33:02 +02:00
Alexey Milovidov
c052c92ea9
Merge pull request #67829 from ClickHouse/update-tags-for-tests
Update tags for a few tests
2024-08-06 01:25:14 +00:00
Alexey Milovidov
087d014f2a
Revert "Revert "Add a test for #47892"" 2024-08-06 03:17:17 +02:00
Alexey Milovidov
3419b916a9
Merge pull request #66457 from AVMusorin/add-play-now-param
Allow run query instantly in play
2024-08-06 00:50:51 +00:00
Michael Kolupaev
8703941a0f Apply https://github.com/ClickHouse/zlib-ng/pull/18 2024-08-05 22:36:30 +00:00
Michael Kolupaev
93afcd16b0 Merge remote-tracking branch 'origin/master' into reg 2024-08-05 22:10:56 +00:00
Michael Kolupaev
4e8bd0654c Remove from history 2024-08-05 22:06:36 +00:00
Michael Kolupaev
a05ead3f77 Conflict 2024-08-05 22:04:53 +00:00
Michael Kolupaev
cfcd9fe096 Conflicts 2024-08-05 21:57:23 +00:00
Alexey Milovidov
61aff5efae Update 00002_log_and_exception_messages_formatting.sql 2024-08-05 23:39:43 +02:00
Alexey Milovidov
29f06e8037 Update 00002_log_and_exception_messages_formatting.sql 2024-08-05 23:39:42 +02:00
robot-clickhouse
5cdf12a927 Automatic style fix 2024-08-05 23:39:34 +02:00
Alexey Milovidov
8e19f46829
Merge pull request #67706 from ClickHouse/ci_minot_utils_refactoring
CI: Minor refactoring in ci_utils
2024-08-05 21:34:43 +00:00
Nikita Mikhaylov
4829ba31d3 Actually fix a test 2024-08-05 21:18:53 +00:00
Michael Kolupaev
3841179a24 Merge remote-tracking branch 'origin/master' into readyornot 2024-08-05 19:58:21 +00:00
Michael Kolupaev
ba47f63fae Merge remote-tracking branch 'origin/master' into bff 2024-08-05 19:56:05 +00:00
Michael Kolupaev
5b91865f58 Merge remote-tracking branch 'origin/master' into nojs 2024-08-05 19:53:53 +00:00
Michael Kolupaev
4d22cdf31f Merge remote-tracking branch 'origin/master' into curange 2024-08-05 19:52:10 +00:00
Michael Kolupaev
bf2e679a51 no-msan 00314_sample_factor_virtual_column 2024-08-05 19:40:57 +00:00
Nikolay Degterinsky
5d0c179ad1 Merge remote-tracking branch 'upstream/master' into fix-timeout-stateless-tests 2024-08-05 19:38:09 +00:00
Michael Kolupaev
9137551ddc
Merge pull request #67641 from ClickHouse/typechange
Fix crash in KeyCondition::cloneASTWithInversionPushDown() caused by type change
2024-08-05 19:12:53 +00:00
Max K
529f21c6b8 CI: CheckReadyForMerge fixes 2024-08-05 20:41:16 +02:00
Azat Khuzhin
618789d196 Do not pass logs for keeper explicitly in the image to allow overriding
Right now, if you will start keeper like this:

    $ cat /tmp/local.yaml
    ---
    logger:
        log:
            "@remove": remove
        errorlog:
            "@remove": remove
        console: 1
    $ docker run --name keeper -v /tmp/local.yaml:/etc/clickhouse-keeper/conf.d/local.yaml --rm -it clickhouse/clickhouse-keeper

This will still not work, because the --log-file/--errorlog-file passed
explicitly.

So this patch removes this in case config is valid, but, if keeper is
launched with embedded config, this had been left as-is, to keep
previous behavior.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:28:13 +02:00
Azat Khuzhin
0310f52d3a Fix 01811_storage_buffer_flush_parameters flakiness
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:27:01 +02:00
Azat Khuzhin
50aebcfc28 Rewrite 03002_part_log_rmt_fetch_*_error tests from sql to sh with retries
Except for this patch should fix the flakiness of this test it also
reduces the execution time from 15.4s to 3.3s (5x!)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:25:59 +02:00
Azat Khuzhin
3593f740a8 Revert "Remove bad tests @azat" (reverts #66823)
This reverts commit 0c2c027af6.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:25:59 +02:00
Azat Khuzhin
0dccc34a20 Fix cluster() for inter-server secret (preserve initial user as before)
The behaviour of cluster() with inter-server secret had been changed in #63013,
after it started to use "default" user, and this introduces a
regression.

The intention of that patch was to adjust only remote(), since it only
it accept custom user, which should be ignored.

Fixes: https://github.com/ClickHouse/ClickHouse/issues/66287
Fixes: https://github.com/ClickHouse/ClickHouse/issues/66352
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:24:24 +02:00
Azat Khuzhin
9d7710684b tests/test_distributed_inter_server_secret: get_query_user_info return list
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:24:24 +02:00