eldenmoon opened a new pull request, #64348:
URL: https://github.com/apache/doris/pull/64348
### What problem does this PR solve?
Issue Number: N/A
Related PR: N/A
Problem Summary: This adds a focused BE unit-test fixture for storage index
lifecycle coverage around inverted index probe events, patched tablet schemas,
variant sparse/nested metadata, and COUNT_ON_INDEX no-need-read-data behavior.
The tests cover index add/drop and build/drop on text and variant path indexes,
missing required variant columns, V1/V2 index storage files, rowset map updates
after schema patching, and red/green validation that COUNT_ON_INDEX reads only
rows filtered by an applied inverted index. The implementation records index
probe events for applied, fallback, and not-attempted column predicates,
preserves existing SegmentIterator debug points, skips missing physical columns
only when nullable/default columns make that valid, and resolves field_pattern
variant index build/drop against materialized paths.
### Release note
None
### Check List (For Author)
- Test: Unit Test
- `PATH=/tmp/codex-clang-format16:$PATH build-support/clang-format.sh`
- `PATH=/tmp/codex-clang-format16:$PATH build-support/check-format.sh`
- `git diff --check && git diff --cached --check`
- `env DORIS_CLANG_HOME=/mnt/disk1/claude-max/ldb_toolchain20
DORIS_THIRDPARTY=/mnt/disk1/claude-max/tmp/doris/thirdparty ./run-be-ut.sh
--run --filter='IndexStorageLifecycleTest.*:IndexStorageSchemaPatchTest.*'`
- Attempted `env
CLANG_TIDY_BINARY=/mnt/disk1/claude-max/ldb_toolchain20/bin/clang-tidy
build-support/run-clang-tidy.sh --build-dir be/ut_build_ASAN`, but local
clang-tidy could not analyze Doris headers due toolchain/PCH diagnostics
(`stddef.h` not found from `slice.h` and existing `core/types.h` NOLINT
parsing). A clang-tidy-16 probe also failed with incompatible PCH AST.
- 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]