-
Notifications
You must be signed in to change notification settings - Fork 95
More enhancements and bugfixes #1004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
0f480ff
fixes aggregated changelog result
yl-lisen 267159e
add negate() for unique_exact
yl-lisen c27ac02
skip access unused disks during dropping stream
yl-lisen 0efe39a
update aggregates of mv query
yl-lisen 7074550
fix read remote loop
yl-lisen 0ca1b3e
Merge pull request #81360 from ClickHouse/chesema-mute-expected-404
yl-lisen fa09ebf
honor hybrid hash table in stream join table
yl-lisen 6ab5305
fix streaming distinct processing
yl-lisen 31fd500
fix hybrid multishard aggr
yl-lisen b36a104
remove updates table for emit changelog
yl-lisen d809be0
fix grok pattern - TIME
yl-lisen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
src/Disks/ObjectStorages/MetadataStorageFromPlainObjectStorage.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| #include "Expect404ResponseScope.h" | ||
|
|
||
| #include <base/defines.h> | ||
|
|
||
| namespace DB | ||
| { | ||
|
|
||
| thread_local size_t expected_404_scope_count = 0; | ||
|
|
||
| Expect404ResponseScope::Expect404ResponseScope() | ||
| : initial_thread_id(std::this_thread::get_id()) | ||
| { | ||
| ++expected_404_scope_count; | ||
| } | ||
|
|
||
| Expect404ResponseScope::~Expect404ResponseScope() | ||
| { | ||
| // check that instance is destroyed in the same thread | ||
| chassert(initial_thread_id == std::this_thread::get_id()); | ||
| chassert(expected_404_scope_count); | ||
| --expected_404_scope_count; | ||
| } | ||
|
|
||
| bool Expect404ResponseScope::is404Expected() | ||
| { | ||
| return expected_404_scope_count != 0; | ||
| } | ||
|
|
||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| #pragma once | ||
|
|
||
| #include <thread> | ||
|
|
||
| namespace DB | ||
| { | ||
|
|
||
| // Inside the inner scope | ||
| // Remote storage response with PATH_NOT_FOUND error is considered as expected | ||
| // No error logs are written, no profile events about errors are incremented | ||
| class Expect404ResponseScope | ||
| { | ||
| public: | ||
| Expect404ResponseScope(); | ||
| ~Expect404ResponseScope(); | ||
|
|
||
| static bool is404Expected(); | ||
|
|
||
| private: | ||
| std::thread::id initial_thread_id; | ||
| }; | ||
|
|
||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.