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

   ### What problem does this PR solve?
   
   Issue Number: close #65865
   
   Related PR: #66553
   
   Problem Summary:
   
   ROW Binlog wraps BEFORE/AFTER value columns in Nullable. PR #53124 removed 
the previous nullable HLL conversion and made the HLL OLAP converter reject any 
column carrying a null map. Consequently, a user-declared HLL NOT NULL column 
still fails when ROW Binlog converts its internal Nullable(HLL) BEFORE/AFTER 
representation.
   
   Restore nullable conversion only for this internal representation: serialize 
non-null nested HLL values, emit empty slices for null rows, retain the null 
map, and preserve the no-nullmap fast path. This does not allow users to define 
HLL NULL columns.
   
   ### Release note
   
   Fix ROW Binlog writes for NOT NULL HLL columns.
   
   ### Check List (For Author)
   
   - Test
       - [x] Regression test
       - [x] Unit Test
       - [ ] Manual test
       - [ ] No need to test or manual test.
   
   - Behavior changed:
       - [ ] No.
       - [x] Yes. ROW Binlog can persist NOT NULL HLL values through its 
internal nullable columns.
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes.


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