eldenmoon opened a new pull request, #63086:
URL: https://github.com/apache/doris/pull/63086
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: Flat-leaf compaction/checksum mode should keep root variant
reads on the root-flat path and should not fall back to doc-value root
reconstruction. Avoid probing an empty leaf path, keep explicit doc bucket
columns on DOC_COMPACT, and update the doc-bucket unit test to assert that root
uses VariantRootColumnIterator in flat-leaf mode.
### Release note
None
### Check List (For Author)
- Test: Unit Test
- `./run-be-ut.sh --run
--filter='VariantColumnWriterReaderTest.test_read_doc_compact_from_doc_value_bucket'`:
1 test passed
- `./run-be-ut.sh --run --filter='*Variant*'`: 172 tests from 16 test
suites, 171 passed, 1 skipped
- `build-support/clang-format.sh
be/src/storage/segment/variant/variant_column_reader.cpp
be/test/storage/segment/variant_column_writer_reader_test.cpp`
- `git diff --check`
- Behavior changed: No
- 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]