Commit Graph

111651 Commits

Author SHA1 Message Date
Alexander Tokmakov
48b23dd012
Fix race between DROP MatView and RESTART REPLICAS (#47863)
* fix race between drop mv and restart replicas

* unrelated: fix bad exception messages

* fix test

* fix

* fix

* fix

* fix

* fix test

* fix

* fix test

* Update 02437_drop_mv_restart_replicas.sh

* fix tests
2023-04-01 15:26:00 +03:00
Alexander Gololobov
bf02068702
Merge pull request #48303 from ClickHouse/grouping-sets-repeated-keys
Do not remove inputs from maybe compiled DAG.
2023-04-01 11:39:34 +02:00
Rich Raposa
0e3a88e078
Merge pull request #48306 from ClickHouse/youtube-fixes-3
Changed schema in Youtube dataset
2023-03-31 21:33:24 -06:00
rfraposa
3b6c599237 Update youtube-dislikes.md 2023-03-31 16:03:44 -06:00
Alexander Tokmakov
9df882c37a
Merge pull request #48085 from ClickHouse/sync_replica_lightweight
More options for `SYSTEM SYNC REPLICA`
2023-03-31 23:18:31 +03:00
Mikhail f. Shiryaev
d70e3d0ddf
Merge pull request #48305 from ClickHouse/auto/v22.12.6.22-stable
Update version_date.tsv and changelogs after v22.12.6.22-stable, v22.3.20.29-lts
2023-03-31 21:57:54 +02:00
Mikhail f. Shiryaev
f26f752555
Merge remote-tracking branch 'origin/auto/v22.3.20.29-lts' into auto/v22.12.6.22-stable 2023-03-31 21:56:07 +02:00
robot-clickhouse
648f80ee4e Update version_date.tsv and changelogs after v22.12.6.22-stable 2023-03-31 19:50:47 +00:00
robot-clickhouse
04513504be Update version_date.tsv and changelogs after v22.3.20.29-lts 2023-03-31 19:25:46 +00:00
Rich Raposa
3411412efe
Merge pull request #48298 from k-morozov/docs/background_pool_size
upadte doc for background_pool_size
2023-03-31 13:06:45 -06:00
Nikolai Kochetov
1693e46640 Do not remove inputs from maybe compiled DAG. 2023-03-31 19:03:20 +00:00
Alexander Tokmakov
9552b37414
Merge pull request #48267 from ClickHouse/fix_some_tests2
Fix some tests
2023-03-31 22:03:00 +03:00
rfraposa
abe78469f7 Update youtube-dislikes.md 2023-03-31 12:41:22 -06:00
Rich Raposa
4cb3c92607
Update merge-tree-settings.md
For some reason the links are broken - I'm attempting to fix them here
2023-03-31 12:38:45 -06:00
Rich Raposa
330508552e
Merge branch 'master' into docs/background_pool_size 2023-03-31 11:24:00 -06:00
Alexander Tokmakov
ce2e71ae79
Merge pull request #48178 from nickitat/fix_ht_test
Try fix 02151_hash_table_sizes_stats.sh test
2023-03-31 20:19:12 +03:00
Alexander Tokmakov
c628349e4c
Merge branch 'master' into fix_ht_test 2023-03-31 20:12:13 +03:00
rfraposa
8c65cc734a Update youtube-dislikes.md 2023-03-31 10:32:38 -06:00
Robert Schulze
1e347e626c
Merge pull request #48241 from ClickHouse/rs/sort-show-processlist
Sort output of SHOW PROCESSLIST
2023-03-31 18:09:11 +02:00
Robert Schulze
a54f477492
Merge pull request #48269 from azat/build/hive-fix
Fix compiling examples without Hive
2023-03-31 18:07:33 +02:00
Robert Schulze
ce95f9b912
Merge branch 'master' into build/hive-fix 2023-03-31 18:05:40 +02:00
kst-morozov
048ea93c09 upadte doc 2023-03-31 17:59:19 +02:00
Alexander Tokmakov
e39498129c
Merge branch 'master' into sync_replica_lightweight 2023-03-31 18:17:08 +03:00
Alexander Tokmakov
120f027cb6
Merge pull request #48295 from ClickHouse/fix_test_numbers_again2
fix test numbers again 2
2023-03-31 18:16:45 +03:00
Alexander Tokmakov
24eec7039e fix 2023-03-31 16:56:01 +02:00
Robert Schulze
5a14920fe1
Merge pull request #48292 from ClickHouse/rs/follow-up-to-48017
Small follow-up to #48017
2023-03-31 16:15:08 +02:00
Robert Schulze
e1d299640b
Small follow-up to #48017 2023-03-31 14:11:37 +00:00
Alexander Tokmakov
75ffc8451b fix 2023-03-31 16:09:00 +02:00
Robert Schulze
5d64841276
Merge pull request #48017 from ClickHouse/rs/show_columns
MySQL compatibility: Implement `SHOW COLUMNS`
2023-03-31 15:50:23 +02:00
Rich Raposa
6eb692eacc
Merge pull request #48258 from den-crane/patch-61
Doc. Notes about file names in UDF examples, make them more clear.
2023-03-31 07:43:31 -06:00
Alexey Milovidov
3de29f5cc1
Merge pull request #48278 from azat/backups/fix-UB
Fix UB (signed integer overflow) in StorageMergeTree::backupData()
2023-03-31 16:35:10 +03:00
Anton Popov
12c7992d36
Merge pull request #48118 from CurtizJ/optimize-mapUpdate
Optimize function `mapUpdate`
2023-03-31 15:03:15 +02:00
Alexander Tokmakov
caf00b5968 Merge branch 'master' into sync_replica_lightweight 2023-03-31 14:52:55 +02:00
Alexey Milovidov
070210a02f
Merge pull request #48271 from vchekan/master
In messages, put values into quotes
2023-03-31 15:35:19 +03:00
Alexey Milovidov
99194d0ff8
Merge pull request #48281 from ClickHouse/auto/v23.3.1.2823-lts
Update version_date.tsv and changelogs after v23.3.1.2823-lts
2023-03-31 15:34:17 +03:00
Alexander Tokmakov
f54fd15112 fix 2023-03-31 12:58:11 +02:00
robot-clickhouse
0c9d7f73ce Update version_date.tsv and changelogs after v23.3.1.2823-lts 2023-03-31 10:35:58 +00:00
Alexey Milovidov
d06ab59737
Merge pull request #48279 from ClickHouse/23.4-prepare
Update version after release
2023-03-31 13:28:30 +03:00
Alexey Milovidov
dd79bf0a03 Update autogenerated version to 23.4.1.1 and contributors 2023-03-31 12:20:50 +02:00
Robert Schulze
9806a831c0
Small test refactoring 2023-03-31 09:41:59 +00:00
Robert Schulze
8d91a9f4c2
Sort descendingly by elapsed time 2023-03-31 09:36:03 +00:00
Alexander Tokmakov
c28ed094a4
Merge pull request #48277 from ClickHouse/revert-48196-jit-randomization
Revert "Randomize JIT settings in tests"
2023-03-31 12:33:04 +03:00
Azat Khuzhin
bac7def719 Fix UB (signed integer overflow) in StorageMergeTree::backupData()
UBsan report:

    /build/src/Storages/StorageMergeTree.cpp:2088:80: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long'
        0 0x30c2ae7b in DB::StorageMergeTree::backupData(DB::BackupEntriesCollector&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::optional<absl::lts_20211102::InlinedVector<std::__1::shared_ptr<DB::IAST>, 7ul, std::__1::allocator<std::__1::shared_ptr<DB::IAST>>>> const&) build_docker/./src/Storages/StorageMergeTree.cpp:2088:80
        1 0x2dd641b5 in DB::BackupEntriesCollector::makeBackupEntriesForTableData(DB::QualifiedTableName const&) build_docker/./src/Backups/BackupEntriesCollector.cpp:703:18
        2 0x2dd5c2a7 in DB::BackupEntriesCollector::makeBackupEntriesForTablesData() build_docker/./src/Backups/BackupEntriesCollector.cpp:676:9
        3 0x2dd5848d in DB::BackupEntriesCollector::run() build_docker/./src/Backups/BackupEntriesCollector.cpp:119:5
        4 0x2dd84da3 in DB::BackupsWorker::doBackup(std::__1::shared_ptr<DB::ASTBackupQuery> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, DB::BackupInfo const&, DB::BackupSettings, std::__1::shared_ptr<DB::IBackupCoordination>, std::__1::shared_ptr<DB::Context const> const&, std::__1::shared_ptr<DB::Context>, bool) build_docker/./src/Backups/BackupsWorker.cpp:359:59
        5 0x2dd82405 in DB::BackupsWorker::startMakingBackup(std::__1::shared_ptr<DB::IAST> const&, std::__1::shared_ptr<DB::Context const> const&) build_docker/./src/Backups/BackupsWorker.cpp:248:13
        6 0x2dd81d0a in DB::BackupsWorker::start(std::__1::shared_ptr<DB::IAST> const&, std::__1::shared_ptr<DB::Context>) build_docker/./src/Backups/BackupsWorker.cpp:179:16
        7 0x2f4d0d5f in DB::InterpreterBackupQuery::execute() build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:39:30

    SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /build/src/Storages/StorageMergeTree.cpp:2088:80 in

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-31 12:29:31 +03:00
Alexander Tokmakov
792979a527
Revert "Randomize JIT settings in tests" 2023-03-31 12:24:47 +03:00
Robert Schulze
eb93ec35f5
Merge pull request #48154 from azat/varuint-v2
Add sanity checks for writing number in variable length format (resubmit)
2023-03-31 10:59:21 +02:00
Vadym Chekan
0f4c8144a6 In messages, put values into quotes
Configuration values, such as disk names, backup engine names, etc, may give error message unintended sense, for example, if trying to backup to `disk` instead of `Disk`, the error message will be "Not found backup engine disk", which can be interpreted as "disk of backup engine not found". It might be not clear that the word "disk" comes from the query and is not part of the error message.
2023-03-30 22:46:18 -07:00
Rich Raposa
8d9baceeb1
Merge branch 'master' into patch-61 2023-03-30 22:10:50 -06:00
Rich Raposa
1ef49eb5e4
Merge pull request #48265 from ClickHouse/youtube-fixes
Cleaned up the youtube dislikes dataset
2023-03-30 22:07:56 -06:00
Azat Khuzhin
e16b434631 Fix compiling examples without Hive
Skip compiling comma_separated_streams since it requires Hive.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-31 06:05:16 +02:00
Rich Raposa
d49e4afb60
Merge branch 'master' into youtube-fixes 2023-03-30 21:22:01 -06:00