test: add mixed-format drop column schema evolution coverage#363
Open
liujiwen-up wants to merge 1 commit into
Open
test: add mixed-format drop column schema evolution coverage#363liujiwen-up wants to merge 1 commit into
liujiwen-up wants to merge 1 commit into
Conversation
089ac48 to
d6f30fe
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.
Purpose
Linked issue: #258
This PR adds focused coverage for mixed-format schema evolution after
DROP COLUMN.The fixture writes old-schema data files in Parquet and ORC with a dropped column, then drops that column and writes new-schema data files in Avro. The read test verifies that Rust can scan all three formats together while exposing only the remaining table columns.
Brief change log
mixed_format_schema_evolution_drop_columnto the Spark provisioning script.(id, name, score).score, switch to Avro, and write new-schema files with(id, name).parquet,orc, andavrodata files;FileSystemCatalog;scorecolumn is not present in output batches;idandnamerows across all file formats.Tests
cargo fmt --allcargo test -p paimon-integration-tests test_read_mixed_format_schema_evolution_drop_column --no-runcargo check -p paimon-integration-testspython3 -m py_compile dev/spark/provision.pygit diff --check -- dev/spark/provision.py crates/integration_tests/tests/read_tables.rsFull runtime execution of the new integration test requires regenerating the Spark-provisioned warehouse with
make docker-up.API and Format
No API or persistent format changes.
Documentation
No documentation changes.