From 920becfa5fb4a38e9cd35e789de7f22a793b38de Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 4 Sep 2025 10:02:32 -0700 Subject: [PATCH] Update weed/query/engine/hybrid_message_scanner.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- weed/query/engine/hybrid_message_scanner.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/weed/query/engine/hybrid_message_scanner.go b/weed/query/engine/hybrid_message_scanner.go index 14c784615..2b820261c 100644 --- a/weed/query/engine/hybrid_message_scanner.go +++ b/weed/query/engine/hybrid_message_scanner.go @@ -520,11 +520,12 @@ func (hms *HybridMessageScanner) scanPartitionHybridWithStats(ctx context.Contex } // STEP 4: Fallback to sample data if no results found - if len(results) == 0 { - sampleResults := hms.generateSampleHybridData(options) - results = append(results, sampleResults...) - // Note: OFFSET and LIMIT will be applied at the end of the main scan function - } + // STEP 4: Fallback to sample data if no results found + // if len(results) == 0 { + // sampleResults := hms.generateSampleHybridData(options) + // results = append(results, sampleResults...) + // // Note: OFFSET and LIMIT will be applied at the end of the main scan function + // } return results, stats, nil }