airborne12 commented on code in PR #67180: URL: https://github.com/apache/doris/pull/67180#discussion_r4090354650
########## regression-test/suites/inverted_index_p0/test_phrase_candidate_pushdown.groovy: ########## @@ -0,0 +1,115 @@ +// 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. + +// Phrase queries restricted to the scan candidates must return the same rows as the unrestricted +// evaluation, for CLucene (V2) and SNII indexes alike. "k < 5" and "tag = 1" keep 5 of 100 rows, +// below the default 0.3 candidate ratio, so the phrase conjuncts run under a candidate set. Each +// query runs first with pushdown (a cold query cache), then with pushdown disabled, then with +// pushdown again over the cached full-segment results. +// It flips a BE config, so it must not share the cluster with other suites. +suite("test_phrase_candidate_pushdown", "p0,nonConcurrent") { + sql "SET enable_inverted_index_query = true" Review Comment: Confirmed. `SessionVariable.enableSqlCache` defaults to true, and this suite repeats identical SQL after changing only the BE ratio. Commit `93ffe53684e` sets `enable_sql_cache = false` and explicitly keeps `enable_inverted_index_query_cache = true`, so each phase reaches the BE while the inverted-index query cache remains enabled. The merged BE build and related ASAN UT pass (21/21); the full regression CI on `91539f44b7c` is still running. -- 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]
