Commit Graph

124128 Commits

Author SHA1 Message Date
vdimir
470a29b7e8
fix cluster_discovery_faults 2023-09-04 10:54:59 +00: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
Tiakon
8a2ace2975
Update programs/copier/ClusterCopierApp.cpp
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-09-04 18:27:07 +08:00
Tiakon
1ceda6fbfa
Update docs/en/operations/utilities/clickhouse-copier.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-09-04 18:26:59 +08: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
zhanglistar
a2fd3a4de8 remove unnecessary check for HDFS load config 2023-09-04 17:52:43 +08:00
Tiakon
74dedf2a5d
Merge branch 'ClickHouse:master' into master 2023-09-04 17:42:16 +08: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
Bharat Nallan Chakravarthy
df885fdc11 regenerate tldLookup 2023-09-03 20:57:14 -07: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
JackyWoo
d065ac32e0 Merge branch 'master' into optimize_uniq_to_count 2023-09-04 10:06:36 +08: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
robot-clickhouse
f464effbea Automatic style fix 2023-09-03 22:15:53 +00:00
Yakov Olkhovskiy
11b7e1467f update build_check script 2023-09-03 21:51:12 +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
Yakov Olkhovskiy
7afe9ca620 update build script 2023-09-03 19:57:39 +00: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
Yakov Olkhovskiy
02a729f9c5 fix 2023-09-03 18:05:54 +00:00
robot-clickhouse
c8e0b8267d Automatic style fix 2023-09-03 17:49:25 +00:00
Yakov Olkhovskiy
ae6b5d46be fix 2023-09-03 17:38:36 +00:00
Artur Malchanau
04d0b0c09a
Fix system.data_skipping_indices for recreated indices
Fix secondary index size in system.data_skipping_indices table in the
case of dropped and added again index.
2023-09-03 20:36:55 +03:00
Yakov Olkhovskiy
97317a07f1 remove oss-fuzz build, add fuzzers build 2023-09-03 17:28:44 +00: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
seshWCS
cee0bc0bef deleted extra variable 2023-09-03 12:22:23 +00:00
Victor Krasnov
9c315490f7 Align test_backup_restore_new::test_backup_all[True] with backup_log 2023-09-03 15:04:23 +03: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