eldenmoon opened a new pull request, #71141: URL: https://github.com/apache/doris/pull/71141
### What problem does this PR solve? Related PRs #70982, #71008, and #71121. [NonConcurrent CI build #14571](https://doris-ci.com/builds/agent-test/14571/index.html) reported failures in VARIANT values-index suites and DDL replay. Schema change and MoW partial updates rebuild tablet schemas from storage or load metadata. On legacy-key tables, this could select VARIANT V1 and send the entire VARIANT column to the ordinary SNII index writer, which rejects it. Tablet schema construction now derives V2 execution from the SNII values index metadata, while retaining the table's key encoding. The dotted-key suite enables the escape feature explicitly. The DDL suite checks the current Decimal256 rejection. The DDL replay suite enables the required FE features for each affected CREATE and restores the prior configuration afterward. ### Release note Fix schema change and MoW partial updates for VARIANT columns with SNII values indexes and legacy key encoding. ### Validation - FE and ASAN BE build succeeded on branch-4.2. - 38 BE unit tests passed, including the new tablet schema test. - 21 values-index regression suites passed in two FE P0 fuzzy runs with the feature flags initially disabled. - `check_before_quit` passed after the first run and replayed the tables created by those suites. ### Check List (For Author) - [x] Regression test - [x] Unit test - Documentation needed? 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]
