Repository navigation
Re 8000 turn Null rather than a wrong value for a calculated column whose result type is unknown - #169
Merged
Merged
Conversation
…esult type is unknown - Make a calculated column whose result type is not in the map Null, instead of reading its wrapper (16 zero bytes, a length, the value) as the placeholder type - Say in the doc of read_table_rows_with that such a column is Null - Test that the calculated columns read with an empty map are Null and the other columns are unchanged Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
CoverageFor b29ebbb. |
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.
Summary
TableRows::new,read_table_rows_withorread_row_athad no result type for a calculated column, its wrapper (16 zero bytes, a length, the value) was read as the placeholder type of the column, giving wrong values such asText("\0\0…"),Double(0.0)andNumeric("268435456").calculated_column_typesreturns an empty map when it cannot read the properties, soread_table_rowscould give them too.Null; the signatures are unchanged.read_table_rowsgives them; it fails on the old code. The CSV export of the 2,105 tables of the test data is the same as before.🤖 Generated with Claude Code