Fix logical error when parsing incorrect empty tuples#102289
Conversation
|
The flaky check failure is fixed in #102148, let's update the branch. |
Avogar
left a comment
There was a problem hiding this comment.
It's actually better to not use throwUnexpectedDataAfterParsedValue in serializationTuple, because for Tuple we have special logic of rollback in canse of error during parsing. throwUnexpectedDataAfterParsedValue should be used for simple columns with no nested structure that should be rolled back carefully
|
I can try removing |
I would say it's ok to keep |
LLVM Coverage ReportChanged lines: 93.75% (15/16) | lost baseline coverage: 1 line(s) · Uncovered code |
da17406

The following query throws exception:
Currently, we increment empty tuple column size after
addElementSafe'simplhas been executed, leading to incorrect column size during validation that happens at the end ofimplofSerializationTuple::deserializeTextImpl. Sinceimplpopulates the tuple subcolumns, it feels natural thatimplshould also update the column size.Reverts #102011.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix logical error when parsing incorrect empty tuple string.
Documentation entry for user-facing changes
Version info
26.4.1.1067