hubgeter opened a new pull request, #71270:
URL: https://github.com/apache/doris/pull/71270

   ### Background
   
   Iceberg dynamic overwrite replaces only the partitions receiving new data. 
On branch-4.2, an insert overwrite without a partition clause uses static mode 
by default and replaces the whole table. The FE unit test uses an in-memory 
Iceberg catalog and checks both the new and historical snapshots.
   
   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: #69841 (changed the default overwrite mode)
   PR Type: Test
   
   Problem Summary:
   
   `dynamicOverwriteReplacesEveryTouchedPartitionOnly` uses a test fixture that 
selects static mode. The new snapshot loses `north.parquet` even though the 
test writes only to `west` and `east`. Pass dynamic mode explicitly through the 
fixture for this test.
   
   ### Details
   
   - **Failure:** Community FE UT builds 
[23261](https://doris-ci.com/builds/agent-test/23261/index.html) and 
[12630](https://doris-ci.com/builds/agent-test/12630/index.html) both report 
the same missing file.
   - **Cause:** The fixture uses the three-argument `beginInsert` overload, 
which selects static mode after #69841. The CI log records `BaseOverwriteFiles` 
replacing three original files with two new files.
   - **Stability evidence:** The failure repeats when the fixture selects 
static mode. The change supplies the mode directly and preserves the current 
and historical snapshot assertions. The candidate FE UT result is pending.
   
   ### Testing
   
   - The community FE UT pipeline ran the original test and reproduced the 
failure in both linked builds.
   - The two modified Java files passed Doris Checkstyle 9.3 and `git diff 
--check` passed.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Behavior changed: No
   - Does this need documentation: No
   - Pre-submission status: Partially verified. Candidate FE UT is pending.
   
   ### AI Disclosure
   
   - Tool: Codex
   - Generated: Test fixture changes and PR description
   - Human review: Not stated
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to