lucasfang opened a new pull request, #505:
URL: https://github.com/apache/paimon-cpp/pull/505

   ### Purpose
   
   Linked issue: N/A.
   
   Cover reader and commit edge cases identified in the coverage report with 12 
focused regression tests:
   
   - Verify that local paths without a slash, including an empty path, return a 
non-null empty parent object.
   - Exercise the base prefetch reader's default empty byte ranges, sequential 
input-stream forwarding and I/O metrics, minimum queue capacity, file-schema 
forwarding, discarded-batch accounting and release, batches belonging to a 
later read range, and workloop termination after an error.
   - Verify that replaying committed realtime progress succeeds without 
publishing another snapshot and reports the recovered snapshot ID.
   - Check that snapshot statistics are retained for the same schema and 
cleared after a schema change.
   - Exercise conflict checks with empty or irrelevant entries, disabled data 
evolution, snapshot bounds, compact snapshots, and overlapping row ranges with 
disjoint or conflicting write columns.
   
   Only test code changes.
   
   ### Tests
   
   - Built `paimon-fs-test`, `paimon-common-test`, and `paimon-core-test` in 
the existing Release build. Final validation used existing Debug executables 
that include the latest test sources.
   - `./build/debug/paimon-fs-test --gtest_filter='LocalFileTest.*'` — 8 tests 
passed.
   - `./build/debug/paimon-common-test 
--gtest_filter='*PrefetchFileBatchReader*'` — 59 passed; 2 existing 
parameterized cases skipped because the read-ahead cache is disabled.
   - `./build/debug/paimon-core-test 
--gtest_filter='FileStoreCommitImplTest.*:ConflictDetectionTest.*'` — 145 tests 
passed.
   - `pre-commit run --files src/paimon/fs/local/local_file_test.cpp 
src/paimon/common/reader/prefetch_file_batch_reader_impl_test.cpp 
src/paimon/core/operation/file_store_commit_impl_test.cpp 
src/paimon/core/operation/commit/conflict_detection_test.cpp` — all applicable 
checks passed.
   - `git diff --check` — passed.
   
   The coverage HTML report was not regenerated, so this PR does not claim a 
new coverage percentage.
   
   A subsequent rebuild of the shared build directory was blocked after its 
configuration enabled Vortex: the installed stable Rust compiler is 1.67.1, 
below the dependency requirements. The Debug test runs above use already-built 
executables containing the final test changes.
   
   ### API and Format
   
   No public API, storage format, or protocol changes.
   
   ### Documentation
   
   No user-facing documentation changes are required for this test-only change.
   
   ### Generative AI tooling
   
   Generated-by: OpenAI Codex (GPT-6)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to