Repository navigation
Fix all Exception with missing arguments - #58198
Merged
Merged
Conversation
Contributor
|
This is an automated comment for commit 3be3b0a with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page Successful checks
|
azat
force-pushed
the
exception-fmt
branch
3 times, most recently
from
December 24, 2023 08:51
fe98c09 to
016806c
Compare
Member
Author
|
I removed the first patch (that contains some refactoring), to make it cleaner. |
evillique
reviewed
Dec 24, 2023
This may cause troubles, like forgetting to pass arguments, and there are few places in the code (see the upcomming patch). I doubt that this will make any performance changes, since the check should be compile time. And anyway Exception is an exceptional situation which should be rare (there is no such code with single argument for logging, while logging is more common). Signed-off-by: Azat Khuzhin <[email protected]>
Signed-off-by: Azat Khuzhin <[email protected]>
evillique
approved these changes
Dec 24, 2023
baibaichen
added a commit
to Kyligence/gluten
that referenced
this pull request
Dec 26, 2023
NOTES: This is bug in our codes, ClickHouse/ClickHouse#58198 makes it failed at compile time!
binmahone
pushed a commit
to apache/gluten
that referenced
this pull request
Dec 26, 2023
* [GLUTEN-1632][CH]Daily Update Clickhouse Version (20231226) * fix build due to ClickHouse/ClickHouse#58198 NOTES: This is bug in our codes, ClickHouse/ClickHouse#58198 makes it failed at compile time! --------- Co-authored-by: kyligence-git <[email protected]> Co-authored-by: Chang Chen <[email protected]>
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.
Changelog category (leave one):
The first patch removes the Exception ctor to create it from simple string object, this should be OK in terms of performance since all this checks is done at runtime, and anyway Exception is an exceptional situation which should be rare (there is no such code with single argument for logging, while logging is more common). This will prohibit such errors in future.
The second patch fixes all the missing places.