test: add full types boundary consistency coverage#351
Merged
Conversation
JingsongLi
approved these changes
Jun 2, 2026
Contributor
JingsongLi
left a comment
There was a problem hiding this comment.
Reviewed the new Spark fixture and boundary read coverage. The table exercises parquet/orc/avro, null values, empty collections, primitive min/max boundaries, binary/date/timestamp/decimal cases, and the Rust assertions compile cleanly against the integration test crate. I did not find blocking issues.
Verification:
cargo test -p paimon-integration-tests test_read_full_types_boundary_table --no-run
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
The existing Spark-provisioned full types test covered mixed Parquet, ORC, and Avro reads, but it only used ordinary non-null values and did not explicitly assert that the scan plan included all three data file formats. This left boundary values, top-level nulls, and selected nested null/empty collection cases under-covered for Java/Spark-generated data files.
This PR adds a focused consistency fixture and read test for those cases.
Brief change log
full_types_boundary_tableto the Spark provisioning script.parquet,orc, andavrodata files;FileSystemCatalog;Tests
cargo test -p paimon-integration-tests --test read_tables test_read_full_types_boundary_table -- --nocapturecargo test -p paimon-integration-tests --test read_tablesAPI and Format
Documentation