Commit Graph

133209 Commits

Author SHA1 Message Date
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
yariks5s
6ad6d6a121 fix due to review 2024-01-18 15:41:25 +00: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
Vitaly Baranov
4c6d3e7efa Add server settings "shutdown_wait_backups_and_restores" (default=true)
to set whether shutdown should wait for running backups to finish or just cancel them.
2024-01-18 13:27:14 +01:00
kssenii
255a52a8ff Fix tests with database replicated 2024-01-18 13:26:47 +01:00
Max Kainov
d387c84aa4 Jepsen job to reuse builds
#no-merge-commit
2024-01-18 11:58:41 +00:00
János Benjamin Antal
f34d1ae647 Use WithContext 2024-01-18 11:47:59 +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
kssenii
dd396b678a Fix data race 2024-01-18 12:23:40 +01:00
kssenii
9b674e640d Fxi 2024-01-18 12:20:40 +01:00
Alexey Milovidov
47c6f17aef
Merge pull request #58927 from ClickHouse/add-test-47892
Add a test for #47892
2024-01-18 12:12:04 +01:00
Jiebin Sun
206e1c87e0 revise the comments 2024-01-18 19:07:02 +08:00
Robert Schulze
316669b90f
Merge pull request #58396 from zenmiao7/u/zhengmiao/AddArrayFunctionShingles
Add function `arrayShingles()`
2024-01-18 11:38:56 +01:00
Kseniia Sumarokova
7092948d53
Update test.py 2024-01-18 11:02:13 +01:00
vdimir
1595dd8a3f
Merge pull request #56396 from ClickHouse/vdimir/disable_max_rows_in_set_to_optimize_join
Disable max_rows_in_set_to_optimize_join
2024-01-18 10:32:28 +01:00
vdimir
bb8986de5d
Revert "break tests/integration/test_merge_tree_s3/test.py"
This reverts commit 5dd231ede1.
2024-01-18 08:56:05 +00:00
vdimir
a39820e596
Revert "break 00001_select_1"
This reverts commit 033eb427b4.
2024-01-18 08:55:20 +00:00
vdimir
033eb427b4
break 00001_select_1 2024-01-18 08:54:32 +00:00
vdimir
c3788c2fa1
upd 2024-01-18 08:54:31 +00:00
vdimir
5dd231ede1
break tests/integration/test_merge_tree_s3/test.py 2024-01-18 08:54:31 +00:00
vdimir
a3b4b7e880
Print another message in Bugfix check if internal check had been failed 2024-01-18 08:54:27 +00:00
Duc Canh Le
b16a4cf361 add document
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-01-18 07:55:44 +00:00
Antonio Andelic
30a04471ac
Merge pull request #58806 from ClickHouse/fix-keeper-data-race
Fix data race in Keeper
2024-01-18 08:48:16 +01:00
robot-ch-test-poll
fba4d3f427
Merge pull request #58896 from ClickHouse/fix-data-race-aggregatetransform
Fix data race in `AggregatingTransform`
2024-01-18 07:46:49 +01:00
Duc Canh Le
22afcd46f4 add ALTER COLUMN MODIFY/RESET SETTING
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-01-18 05:17:07 +00:00
Srikanth Chekuri
c23c7e0b6f
feat: add DDSketch quantile (#56342)
* feat: add DDSketch quantile

* Fix StyleCheck

* Move quantileddsketch.md under right dir

* Update stateless test number and add stateful test

* Throw exception when relative accuracy is too low

* Update test number

* Fix undefined behaviour for empty store

* Fix quantileGK test

* Update test numbers

* Update src/AggregateFunctions/

* Throw exception on out of range values

* Update relative accuracy docs and add encoding details

* Address review comments and suggestions

* Remove unused function

* Address alexey review comments

* Remove unused function isFloat64FieldType

* Throw error on invalid relative accuracy

* Simplify mapping

* Address remaining review comments

* Add effective memory usage suggestions

* Fix Stylecheck

* Fix fast test

* Incorporate bins capacity suggestion

* Fix fuzzer

* Remove inheritance in Mapping, Store and DDSketch

* Add checks for bin resizing

* Add note about the binary compatible implementation
2024-01-17 19:51:32 -08:00
Yakov Olkhovskiy
490bb809c3
Merge pull request #58846 from ClickHouse/fix-compress-destructor
Fix HTTP compressors finalization
2024-01-17 17:49:12 -05:00
Anton Popov
94bb9a171d fix FunctionToSubcolumnsPass 2024-01-17 21:36:23 +00:00
Alexey Milovidov
67f74b5520
Merge pull request #58362 from ClickHouse/fix-suspended-workers
Fix suspended workers for AsyncLoader
2024-01-17 22:10:43 +01:00
slvrtrn
8658cd3263 Remove unnecessary comment from the test 2024-01-17 22:10:06 +01:00
Robert Schulze
33bfe9cc76
Merge pull request #58922 from rschu1ze/realistic-norm_dist
Extend performance test norm_dist.xml
2024-01-17 22:03:33 +01:00
slvrtrn
cb8372a3f9 Add SHOW WARNINGS support in MySQL interface 2024-01-17 22:00:48 +01:00
Alexey Milovidov
425e84a48b Add a test for #47892 2024-01-17 21:39:22 +01:00