Commit Graph

123790 Commits

Author SHA1 Message Date
serxa
2fe9a25954 Merge branch 'disks-and-io-sheduler' of github.com:ClickHouse/ClickHouse into disks-and-io-sheduler 2023-09-06 19:30:49 +00:00
serxa
77697211cd add docs for system.scheduler + small fix 2023-09-06 19:30:39 +00:00
robot-clickhouse
cd7c57f5d4 Automatic style fix 2023-09-06 19:00:05 +00:00
serxa
664efaf3fa add test 2023-09-06 18:35:40 +00:00
serxa
aa8e9c3cbc fix style 2023-09-04 14:18:54 +00:00
Sergei Trifonov
258da91b5f
Merge branch 'master' into disks-and-io-sheduler 2023-09-04 15:14:28 +02:00
serxa
b5233efc20 fix system table and scheduler config reloading 2023-09-04 12:35:17 +00:00
vdimir
fc7a8d0080
Merge pull request #54190 from azat/client/restart-pager 2023-09-04 13:47:07 +02:00
Alexander Tokmakov
973f4def70
Abort on std::logic_error in CI (#51907)
* Update Exception.cpp

* Update Exception.cpp

* Update Exception.cpp
2023-09-04 12:50:59 +02:00
Igor Nikonov
64f8d7bc85
Merge pull request #54213 from ClickHouse/revert-54189-revert-53904-fix-parallel-replicas-skip-shards
2R: Fix: respect skip_unavailable_shards with parallel replicas
2023-09-04 12:24:16 +02:00
Anton Popov
15cb333eba
Merge pull request #54212 from bharatnc/ncb/fix-ipv4-select
fix possible type mismatch with IPv4
2023-09-04 11:39:23 +02:00
Azat Khuzhin
a7cc4815e6 Fix pager in client/local interactive mode when not all data had been read
It is pretty general use case to use --pager=less and do not look
through all rows in the output.

Before this patch after first EPIPE the output of queries will not be
printed anymore, instead it will try to finalize the output format again
and again and obviously will fail:

    Code: 75. DB::ErrnoException: Cannot write to file (fd = 16), errno: 32, strerror: Broken pipe. (CANNOT_WRITE_TO_FILE_DESCRIPTOR), Stack trace (when copying this message, always include the lines below):

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-04 10:49:06 +02:00
Robert Schulze
2ca2bdd7c5
Merge pull request #53768 from ClickHouse/simplify-docs-date-units
Simply docs for possible values for date units
2023-09-04 09:11:19 +02:00
Alexey Milovidov
9612337681
Merge pull request #54237 from ClickHouse/fix-bad-code-filesystem-cache
Fix bad code in the `system.filesystem_cache`: catching exceptions
2023-09-04 08:20:33 +03:00
Alexey Milovidov
8bcd30988b
Merge pull request #54238 from ClickHouse/merge-54236
Merge #54236
2023-09-04 08:20:13 +03:00
Alexey Milovidov
0d4d31c031
Merge pull request #53709 from ClickHouse/reasonable-prefetches-by-default
Reasonable prefetches for remote FS by default
2023-09-04 08:08:49 +03:00
Alexey Milovidov
bdaf0d44f5
Merge branch 'master' into reasonable-prefetches-by-default 2023-09-04 08:08:28 +03:00
Alexey Milovidov
217bfa0e42
Merge pull request #53754 from ClickHouse/fix-interpolate-subselect
Fix: require columns participating in interpolate expression
2023-09-04 08:05:47 +03:00
robot-clickhouse-ci-1
ec628ee697
Merge pull request #54097 from bharatnc/ncb/decode-html-component
add function decodeHTMLComponent
2023-09-04 05:00:52 +02:00
Alexey Milovidov
864e66cbf7 Fix TOCTOU 2023-09-04 04:06:24 +02:00
Alexey Milovidov
b660ac9bf1 Merge #54236 2023-09-04 03:57:39 +02:00
Alexey Milovidov
476e15ce3d
Merge pull request #54236 from YinZheng-Sun/Fix
remove semicolon
2023-09-04 04:54:30 +03:00
Alexey Milovidov
e618dc993e Fix bad code in the system.filesystem_cache 2023-09-04 03:53:18 +02:00
robot-clickhouse-ci-2
43376f0037
Merge pull request #54221 from stigsb/upstream_profileevents_timer
Add ProfileEvents::Timer class
2023-09-04 03:11:37 +02:00
serxa
8fdd118e0c fix build 2023-09-03 22:40:00 +00:00
serxa
adcab639a4 add system.scheduler table for introspection 2023-09-03 21:48:33 +00:00
Igor Nikonov
82135cd847 Add test to analyzer_integration_broken_tests
distributed queries with sorting has issues with analyzer. Will be
addressed separately
2023-09-03 20:53:18 +00:00
Igor Nikonov
40efa989f3 Merge remote-tracking branch 'origin/master' into revert-54189-revert-53904-fix-parallel-replicas-skip-shards 2023-09-03 20:48:48 +00:00
Alexey Milovidov
86223699be
Merge pull request #54200 from ClickHouse/fix-ipv6-bloom
Fix: allow IPv6 for bloom filter
2023-09-03 23:08:51 +03:00
Alexey Milovidov
e3b5972fab
Merge pull request #54223 from ClickHouse/extend-cluster-all-replicas-test
Test: extend cluster_all_replicas integration test with skip_unavailable_shards
2023-09-03 23:04:12 +03:00
Alexey Milovidov
05dc336984
Merge pull request #54220 from xuzifu666/referance_improve
Improve vars with refernce in Settings cpps
2023-09-03 22:55:15 +03:00
xuzifu666
c83b014980 fix 2023-09-03 22:03:28 +08:00
robot-clickhouse
23091478d1 Automatic style fix 2023-09-03 14:03:18 +00:00
Yinzheng-Sun
74ec546052 remove semicolon 2023-09-03 21:52:39 +08:00
Kseniia Sumarokova
b3319f7908
Minor changes (#54171) 2023-09-03 15:47:52 +02:00
Igor Nikonov
4e6a2b38d3 Extend cluster_all_replicas intergration test
+ skip_unavailable_shards
2023-09-03 13:39:05 +00:00
Stig Bakken
3ae835895d Add ProfileEvents::Timer class
Example of use (assumes we have ProfileEvents::SomethingTimeMilliseconds):

```c++
using ProfileEvents::Timer::Resolution;

...

if (do_something)
{
    counters->timer<Resolution::Milliseconds>(SomethingTimeMilliseconds);
    /// do "something"
} /// timer increments when scope exits

```
2023-09-03 13:32:25 +02:00
xuzifu666
236e5d4f11 Improve vars with refernce in Settings 2023-09-03 19:24:03 +08:00
robot-ch-test-poll2
776f232ec0
Merge pull request #54215 from ClickHouse/remove-metadata-cache
Deprecate metadata cache, part 2
2023-09-03 07:17:26 +02:00
Alexey Milovidov
e7f674165a
Merge pull request #54210 from ClickHouse/fix-timezones-ci-logs
Fix timezones in the CI Logs database
2023-09-03 04:58:43 +03:00
Alexey Milovidov
7cb4d52d92 Deprecate metadata cache, part 2 2023-09-03 03:56:11 +02:00
robot-ch-test-poll1
a8983c0a68
Merge pull request #54214 from ClickHouse/s3queue-experimental
S3Queue is experimental
2023-09-03 03:52:17 +02:00
Han Fei
3f2848ea63
Merge pull request #53803 from ClickHouse/revert-53795-revert-53641-feat_53602
Revert "Revert "dateDiff: add support for plural units.""
2023-09-03 03:36:03 +02:00
Alexey Milovidov
061821d731 Update test 2023-09-03 00:03:15 +02:00
Alexey Milovidov
282636fd74 S3Queue is experimental 2023-09-03 00:00:37 +02:00
Igor Nikonov
d7076ab017
Revert "Revert "Fix: respect skip_unavailable_shards with parallel replicas"" 2023-09-02 23:52:56 +02:00
Bharat Nallan Chakravarthy
2c8fd5dbb1 fix possible type mismatch with IPv4 2023-09-02 14:48:46 -07:00
Michael Kolupaev
8505b3c940
Merge pull request #54134 from kssenii/refactor-reading-from-remote-fs
Small refactoring for read from object storage
2023-09-02 11:13:03 -07:00
Yakov Olkhovskiy
50965c02dc update test 2023-09-02 18:12:31 +00:00
Bharat Nallan Chakravarthy
8ecbdd2768 fix clang-tidy errors 2023-09-02 09:50:17 -07:00