luwei16 opened a new pull request, #66553:
URL: https://github.com/apache/doris/pull/66553
### What problem does this PR solve?
Issue Number: close #65951
Related PR: #65810
Problem Summary: Row Binlog AFTER value columns are nullable even when their
source columns are NOT NULL. Complex source columns then provide no top-level
null map, so nullable ARRAY, MAP, and STRUCT writers wrote payloads without
advancing their physical null child. Segment finalization aborted while
building the empty child ordinal index. Normalize a missing source null map to
an all-non-null map for nullable destinations and verify full and partial Row
Binlog writes and readback.
### Release note
Fix a BE crash when Row Binlog writes NOT NULL complex columns into nullable
AFTER columns.
### Check List (For Author)
- Test: Unit Test
- `./run-be-ut.sh --run
--filter=SegmentFlusherTransformFormatTest.RowBinlogWritesNotNullComplexColumnsToNullableAfterColumns
-j 16`
- `./build.sh --be -j96`
- Behavior changed: Yes (nullable destinations now persist an all-non-null
map when source data has no explicit null map)
- Does this need documentation: No
--
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]