Commit Graph

123778 Commits

Author SHA1 Message Date
avogar
e9456082c1 Fix using count from cache and improve progress bar for reading from archives 2023-09-04 17:33:59 +00:00
Raúl Marín
e192d4c624
Fix summary reporting with parallel replicas with LIMIT (#53050) 2023-09-04 15:53:06 +02:00
Alexander Tokmakov
a663f7e06a
Update ci-slack-bot.py (#54253) 2023-09-04 15:39:09 +02: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
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
Alexey Milovidov
b1be646fb1
Merge pull request #54198 from ClickHouse/system_tables_from_s3
Save system tables from s3_disk in the report
2023-09-02 19:10:20 +03:00
Alexey Milovidov
9763a4c2d4 Fix timezones in the CI Logs database 2023-09-02 17:49:51 +02:00
robot-clickhouse-ci-1
97061f6806
Merge pull request #54199 from ClickHouse/fix-parallel-replicas-distributed
Fix: parallel replicas over distributed don't read from all replicas
2023-09-02 15:38:51 +02:00
Alexey Milovidov
44bf743304
Merge pull request #54191 from arthurpassos/fix_flaky_test_s3_storage_conf_proxy
Fix flaky test_s3_storage_conf_proxy
2023-09-02 16:38:21 +03:00
Alexey Milovidov
12d2dddb47
Merge pull request #54195 from ClickHouse/fix-flaky-test-01099
Fix flaky test `01099_operators_date_and_timestamp`
2023-09-02 16:38:05 +03:00
kssenii
82948ac843 Review fixes 2023-09-02 14:00:07 +02:00