Skip to content

Fix wrong exception code in codecs Delta, DoubleDelta #12110#12308

Merged
alexey-milovidov merged 17 commits intomasterfrom
fix-codec-bad-exception-code
Jul 10, 2020
Merged

Fix wrong exception code in codecs Delta, DoubleDelta #12110#12308
alexey-milovidov merged 17 commits intomasterfrom
fix-codec-bad-exception-code

Conversation

@alexey-milovidov
Copy link
Member

@alexey-milovidov alexey-milovidov commented Jul 9, 2020

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
When using codec Delta or DoubleDelta with non fixed width types, exception with code LOGICAL_ERROR was returned instead of exception with code BAD_ARGUMENTS (we ensure that exceptions with code logical error never happen). This fixes #12110.

@alexey-milovidov alexey-milovidov marked this pull request as ready for review July 9, 2020 00:28
@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Jul 9, 2020
@alexey-milovidov alexey-milovidov requested review from Enmk and alesapin and removed request for Enmk July 9, 2020 01:00
@alexey-milovidov
Copy link
Member Author

#12336

Copy link
Member

@alesapin alesapin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-docs-needed pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logical error in codec Delta: value in memory is not of fixed size

4 participants