Commit Graph

132946 Commits

Author SHA1 Message Date
Raúl Marín
44b621fb48 Revert "Merge pull request #58909 from ClickHouse/fix-test-custom-key-failover"
This reverts commit deeb09ff37, reversing
changes made to a4cab68a06.
2024-01-19 12:44:55 +00:00
Raúl Marín
9d6c88d41c
Merge pull request #58990 from ClickHouse/revert-58927-add-test-47892
Revert "Add a test for #47892"
2024-01-19 13:33:56 +01:00
Raúl Marín
3f53369883
Merge pull request #58989 from ClickHouse/revert-58922-realistic-norm_dist
Revert "Extend performance test norm_dist.xml"
2024-01-19 13:33:45 +01:00
Raúl Marín
76638fb7ba
Merge pull request #58942 from Algunenano/missing_digest
Add missing files to digests
2024-01-19 13:32:49 +01:00
Raúl Marín
098b9b2bc9
Revert "Add a test for #47892" 2024-01-19 13:27:51 +01:00
Raúl Marín
b92073ed7b
Revert "Extend performance test norm_dist.xml" 2024-01-19 13:21:03 +01:00
robot-ch-test-poll2
f16bfcad0b
Merge pull request #58984 from Wachynaky/patch-1
Fix script name in SQL example in executable.md
2024-01-19 15:56:00 +04:00
Lino Uruñuela
4a6c2d21ff
Update executable.md - Fix script name in SQL example
It uses 'generate_random.py' in 'The following Python script is named generate_random.py and is saved in the user_scripts folder....'

However, in the SQL example, it uses 'my_script.py'.

'SELECT * FROM executable('generate_random.py', TabSeparated, 'id UInt32, random String', (SELECT 10))'
2024-01-19 12:17:22 +01:00
vdimir
4509af091a
Merge pull request #58091 from ClickHouse/vdimir/bugfix_validate_check_exceptions_msg
Print another message in Bugfix check if internal check had been failed
2024-01-19 11:57:14 +01:00
Kruglov Pavel
90057c6f39
Merge pull request #58907 from ClickHouse/Avogar-patch-1
Fix possible crash in clickhouse-local during loading suggestions
2024-01-19 11:20:25 +01:00
vdimir
97a38855c1
Merge pull request #57870 from ClickHouse/vdimir/test_show_whitespaces_in_diff
Add option `--show-whitespaces-in-diff` to clickhouse-test
2024-01-19 10:42:00 +01:00
vdimir
b8340afddf
Merge pull request #58943 from ClickHouse/vdimir/analyzer_column_not_found
Analyzer: fix join column not found with compound identifiers
2024-01-19 10:40:03 +01:00
Kseniia Sumarokova
25be226c05
Merge pull request #58951 from ClickHouse/fix-materialized-pg-test
Fix flaky test_postgresql_replica_database_engine_2/test.py::test_dependent_loading
2024-01-19 10:27:18 +01:00
Kseniia Sumarokova
1c74e7fa08
Merge pull request #58902 from ClickHouse/fs-cache-refactorings
fs cache: minor refactoring
2024-01-19 10:25:45 +01:00
alesapin
3dc8b2dbf7
Merge pull request #58955 from ClickHouse/more_safe_way_to_dump_Logs
More safe way to dump system logs in tests
2024-01-19 10:20:55 +01:00
Alexey Milovidov
e9acae7774
Merge pull request #58950 from ClickHouse/fix-data-race-in-slru-2
Fix data race in slru (2)
2024-01-19 09:31:25 +01:00
Alexey Milovidov
8a288055c9
Merge pull request #58949 from MikhailBurdukov/fix_s3_copy
Using the destination object for  paths generation in S3copy.
2024-01-19 09:28:13 +01:00
Alexey Milovidov
ff8e1d1595
Merge pull request #58930 from CurtizJ/fix-functions-to-subcolumns-pass
Fix `FunctionToSubcolumnsPass` in debug build
2024-01-19 08:40:55 +01:00
Alexey Milovidov
dcdbaf9150
Merge pull request #58900 from MikhailBurdukov/restriction_for_s3_access_key_id
Restriction for the access key id for s3.
2024-01-19 04:13:17 +01:00
Alexey Milovidov
370815803e
Update Client.cpp 2024-01-19 06:12:44 +03:00
Alexey Milovidov
bcff1bac47
Merge pull request #58874 from ClickHouse/disk-minor-improvement
DiskWeb minor improvement in loading
2024-01-19 03:52:05 +01:00
Alexey Milovidov
5a6a89897e
Merge pull request #58960 from ClickHouse/add_a_comment_about_sparse_checkout
Add a comment about sparse checkout
2024-01-19 00:39:26 +01:00
Nikita Taranov
9d36fe4a48
Merge pull request #58923 from nickitat/add_test
Add regression test for parallel replicas (follow up #58722, #58844)
2024-01-18 21:54:18 +01:00
Kseniia Sumarokova
7f92bf6f0b
Merge pull request #58921 from ClickHouse/add-a-test-for-azure
Fix and test for azure #58697
2024-01-18 21:41:54 +01:00
robot-clickhouse
5f1f27f8c7 Automatic style fix 2024-01-18 18:34:10 +00:00
Alexander Tokmakov
01d9b9a28a add a comment about sparse checkout 2024-01-18 19:22:20 +01:00
Alexander Sapin
ea6ca96c85 More safe way to dump system logs in tests 2024-01-18 17:51:48 +01:00
Mikhail f. Shiryaev
ab4d0d293a
Merge pull request #58717 from ClickHouse/improve-cherry-pick
Small fixes in different helpers
2024-01-18 17:31:09 +01:00
Anton Popov
d2142041cd Merge remote-tracking branch 'upstream/master' into HEAD 2024-01-18 16:03:54 +00:00
kssenii
10a47ef185 Fix 2024-01-18 16:56:17 +01:00
Kseniia Sumarokova
bfe8037653
Merge branch 'master' into fix-data-race-in-slru-2 2024-01-18 16:54:52 +01:00
kssenii
d20a33424f Fix race 2024-01-18 16:53:10 +01:00
MikhailBurdukov
b3d74fc907 style 2024-01-18 15:39:25 +00:00
Robert Schulze
cf115e696b
Merge pull request #58929 from slvrtrn/mysql-show-warnings
Add `SHOW WARNINGS` support in MySQL interface
2024-01-18 16:24:50 +01:00
MikhailBurdukov
eac310fcb2 Review 2024-01-18 15:19:11 +00:00
Mikhail f. Shiryaev
7a911997ae
Fix git_helper.Runner.__call__ typing 2024-01-18 16:11:01 +01:00
Mikhail f. Shiryaev
61a79bac53
Copy local cache archives when CI is not set 2024-01-18 15:53:04 +01:00
Mikhail f. Shiryaev
d70c72b89e
Name stash properly 2024-01-18 15:53:02 +01:00
Mikhail f. Shiryaev
15cfc9b0ef
Fix stash and clear_repo contexts
All the cleanup should be done in `finally` block:

```
In [3]: @contextmanager
   ...: def stash():
   ...:     try:
   ...:         print("inside")
   ...:         yield
   ...:     except (Exception, KeyboardInterrupt):
   ...:         print("catched")
   ...:         raise
   ...:     finally:
   ...:         print("always")
   ...:

In [4]: with stash():
   ...:     raise ValueError("something")
   ...:
inside
catched
always
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[4], line 2
      1 with stash():
----> 2     raise ValueError("something")

ValueError: something

In [5]: @contextmanager
   ...: def stash():
   ...:     try:
   ...:         print("inside")
   ...:         yield
   ...:     finally:
   ...:         print("always")
   ...:

In [6]: with stash():
   ...:     raise ValueError("something")
   ...:
inside
always
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[6], line 2
      1 with stash():
----> 2     raise ValueError("something")
```

And `except` block is unnecessary if it should just re-raise an error
2024-01-18 15:25:59 +01:00
Max K
4aeb504074
Merge pull request #58947 from ClickHouse/pr_info_for_scheule_and_dispatch_event
CI: pr_info to provide event_type for job scripts
2024-01-18 15:10:49 +01:00
Max Kainov
4eb7cda8fa Add pr_info event type so that jobs could know how they launched
#no_merge_commit #ci_set_reduced
2024-01-18 13:31:37 +00:00
Dmitry Novik
ba2dad98bb
Merge pull request #58913 from ClickHouse/fix-style
Style fix
2024-01-18 14:24:39 +01:00
Nikolai Kochetov
9db8b50753
Merge pull request #58838 from ClickHouse/allow-parallel-replicas-for-join-with-analyzer
Allow parallel replicas for JOIN with analyzer [part 1].
2024-01-18 14:01:08 +01:00
Igor Nikonov
deeb09ff37
Merge pull request #58909 from ClickHouse/fix-test-custom-key-failover
Fix flaky test_parallel_replicas_custom_key_failover
2024-01-18 13:57:01 +01:00
Max K
a4cab68a06
Merge pull request #58881 from ClickHouse/jepsen_to_reusable_builds
Jepsen job to reuse builds
2024-01-18 13:47:14 +01:00
Raúl Marín
cd4aefcddb Add missing files to digests 2024-01-18 13:36:05 +01:00
vdimir
f2e73c13a9
Analyzer: fix join column not found with compound identifiers 2024-01-18 12:30:28 +00:00
Max Kainov
d387c84aa4 Jepsen job to reuse builds
#no-merge-commit
2024-01-18 11:58:41 +00:00
MikhailBurdukov
7518241be4 Use dest object storage to native copy for path generation. 2024-01-18 11:46:16 +00:00
robot-ch-test-poll
2030d7f609
Merge pull request #58917 from azat/fix-fault-handler
Fix fault handler in case of thread (for fault handler) cannot be spawned
2024-01-18 12:46:03 +01:00