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

   cherry-pick #69761
   
   Backports VARIANT values indexes to branch-4.2. Root-level MATCH predicates 
can use the SNII values index across the leaves of a VARIANT column. ADD INDEX 
applies to new data and DROP INDEX removes the index from the table.
   
   On 4.2, this requires `enable_variant_v2=true`. Compaction keeps V2 
execution for tables using legacy key encoding, and the writer skips values 
indexes on older inverted-index formats.
   
   This PR also fixes the existing SNII typed-range regression under FE fuzzy. 
The fixture puts all four rows in one segment and checks pruning on the first 
range scan. When the condition cache has already eliminated a segment, it can 
leave zero rows for the inverted index itself to prune.
   
   ### Validation
   
   - FE and ASAN BE builds passed. FE unit tests passed 266 cases. BE unit 
tests passed 397 cases and skipped 4 cases requiring the NestedGroup provider.
   - All 20 VARIANT values-index regression suites and the two legacy-key 
compaction cases passed on dev-x.
   - With FE P0 fuzzy enabled, the SNII typed-range test passed. The full 
`variant_p0` run had 202 passes and the same 30 failures as the baseline run 
with FE fuzzy disabled. Of those, 28 involved object storage access or 
dependent fixtures. The other two passed separately with their expected legacy 
settings.
   


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