github-actions[bot] commented on code in PR #70896: URL: https://github.com/apache/doris/pull/70896#discussion_r4665954143
########## regression-test/suites/search/test_search_condition_cache.groovy: ########## @@ -0,0 +1,132 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +// The BE condition cache must key SEARCH results by the DSL, not only by the bound columns. +// A residual predicate that the index cannot answer keeps the cache in use for the segment. +suite("test_search_condition_cache", "p0") { Review Comment: [P1] Pin common-expression pushdown for this cache regression test. This suite never sets `enable_common_expr_pushdown`, while fuzzy sessions randomize it. When it is false, `OlapScanLocalState` does not move SEARCH into storage and `VSearchExpr::execute_column()` fails because SEARCH cannot execute without the inverted index, so this p0 suite can fail before testing the cache. Set `enable_common_expr_pushdown = true` (and the related inverted-index pushdown switch for clarity) during setup, as the other SEARCH suites do. -- 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]
