Commit Graph

132919 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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