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

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary: Creating an automatic partition returned the row binlog 
index as a regular partition index even though the sink schema carries row 
binlog separately. BE therefore rejected the partition because its index count 
did not match the schema. The response also omitted the base tablet mapping 
required to route row binlog writes. Exclude row binlog indexes from partition 
metadata, return their tablet locations with base tablet IDs, and reuse 
colocated replica placement in local mode.
   
   ### Release note
   
   Fix imports into auto-partitioned tables with row binlog enabled.
   
   ### Check List (For Author)
   
   - Test
       - [x] Regression test
       - [x] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason
   
     Unit Test: `FrontendServiceImplTest` (20 tests passed).
   
     Regression test: `row_binlog_p0/test_row_binlog_auto_partition`.
   
   - Behavior changed:
       - [ ] No.
       - [x] Yes. Auto partition imports now route row binlog tablets correctly.
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   


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