branch-4.1: [fix](paimon) Support Variant in native reader - #66503
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
|
/review |
|
Codex automated review failed and did not complete. Error: All Codex review accounts are usage-limited; earliest retry is 2026-08-08T03:32:00Z. Please trigger /review again after that time. |
|
run buildall |
|
/review |
|
Codex automated review failed and did not complete. Error: All Codex review accounts are usage-limited; earliest retry is 2026-08-08T03:32:00Z. Please trigger /review again after that time. |
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
### What problem does this PR solve? Issue Number: N/A Related PR: #66503 Problem Summary: Paimon 1.4.2 parses every present Variant shredding schema property as JSON. The Paimon Variant fixture attempted to disable shredding by setting the property to an empty string, so the following unshredded insert failed and left the mixed-layout table with only its shredded row. This change removes the property with `UNSET TBLPROPERTIES` before writing the unshredded file. It preserves the intended shredded-to-unshredded mixed-file coverage. ### Check List - Test - [x] Regression test fixture - [x] Manual test Validation: - Verified the fixture no longer contains an empty shredding schema property. - Ran the shredded-to-unshredded write sequence in Spark/Paimon and confirmed both rows were returned. - `git diff --check` - Behavior changed: - [x] No production behavior change; this fixes test data generation. - Does this need documentation? - [x] No.
What's changed
Tests
test_paimon_catalog_variantregression suite passed with both JNI and native reads.