Repository navigation
Fix uncaught exception due noexcept tryGetCreateTableQuery() - #88105
Merged
Merged
Conversation
Contributor
|
Workflow [PR], commit [7ec57e8] Summary: ❌
|
azat
enabled auto-merge
October 6, 2025 14:43
auto-merge was automatically disabled
October 6, 2025 15:33
Pull request was closed
azat
force-pushed
the
db-tryGetCreateTableQuery-crash
branch
2 times, most recently
from
October 6, 2025 19:18
fa35728 to
be447c6
Compare
It is possible that some underlying implementation can still throw (from what I read so far it is SQLite and PostgreSQL, later was the real crash which I observed). So let's make tryGetCreateTableQuery() suppress only table does not exist exception, and allow any others (from what I read it looks safe to remove "noexcept" from a method).
azat
force-pushed
the
db-tryGetCreateTableQuery-crash
branch
from
October 6, 2025 20:03
be447c6 to
7ec57e8
Compare
azat
enabled auto-merge
October 7, 2025 06:02
github-merge-queue
Bot
removed this pull request from the merge queue due to no response for status checks
Oct 7, 2025
This was referenced Oct 7, 2025
This was referenced Oct 7, 2025
clickhouse-gh Bot
added a commit
that referenced
this pull request
Oct 7, 2025
Backport #88105 to 25.9: Fix uncaught exception due noexcept tryGetCreateTableQuery()
clickhouse-gh Bot
added a commit
that referenced
this pull request
Oct 7, 2025
Backport #88105 to 25.8: Fix uncaught exception due noexcept tryGetCreateTableQuery()
azat
added a commit
that referenced
this pull request
Oct 7, 2025
Backport #88105 to 25.7: Fix uncaught exception due noexcept tryGetCreateTableQuery()
azat
added a commit
that referenced
this pull request
Oct 8, 2025
Backport #88105 to 25.3: Fix uncaught exception due noexcept tryGetCreateTableQuery()
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
It is possible that some underlying implementation can still throw (from what I read so far it is SQLite and PostgreSQL, later was the real crash which I observed, see referenced issue).
So let's make tryGetCreateTableQuery() suppress only table does not exist exception, and allow any others (from what I read it looks safe to remove "noexcept" from a method).
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix possible uncaught exception while reading
system.tableswith invalid tables in external databases (PostgreSQL/SQLite/...) attached(Seems that this method marked as
noexceptinitially in #7512, hence @tavplubix PTAL)