test: cover write, evolve and read back of a defaulted column end to end - #874
Open
huan233usc wants to merge 1 commit into
Open
test: cover write, evolve and read back of a defaulted column end to end#874huan233usc wants to merge 1 commit into
huan233usc wants to merge 1 commit into
Conversation
huan233usc
force-pushed
the
test/default-value-write-evolve-read-e2e
branch
5 times, most recently
from
August 6, 2026 06:27
de3d8ec to
5ef472c
Compare
huan233usc
force-pushed
the
test/default-value-write-evolve-read-e2e
branch
from
August 6, 2026 06:32
5ef472c to
a5172b7
Compare
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.
Writes a data file, adds a column with an
initial-defaultviaUpdateSchema, then reads the pre-evolution file back with the evolved schema and checks the old rows materialize the default.Parametrized over both formats (Parquet, Avro) and over
long/string/boolean/date/decimal(9,2)/timestamp/uuid— 14 cases. The read-path tests build the projected schema by hand and the evolution tests never touch a data file, so the seam between the two was uncovered; per-type coverage only existed at theToArrowScalarunit layer, not through a real write and read (uuidin particular goes through thearrow.uuidextension type).data_testpasses (169). Verified the assertions bite by feeding wrong expected values.