From d57ac2eddaaeea0992bb584c557c19679bd172e7 Mon Sep 17 00:00:00 2001 From: Max Zinal Date: Sat, 7 Dec 2024 00:04:17 +0300 Subject: [PATCH] extra compilation fix for #12363 --- ydb/core/kqp/opt/logical/kqp_opt_log_ranges.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ydb/core/kqp/opt/logical/kqp_opt_log_ranges.cpp b/ydb/core/kqp/opt/logical/kqp_opt_log_ranges.cpp index ea2c346aeaa0..aec2b308ce19 100644 --- a/ydb/core/kqp/opt/logical/kqp_opt_log_ranges.cpp +++ b/ydb/core/kqp/opt/logical/kqp_opt_log_ranges.cpp @@ -261,19 +261,22 @@ TExprBase KqpPushPredicateToReadTable(TExprBase node, TExprContext& ctx, const T YQL_ENSURE(kqpCtx.Config->EnableKqpScanQueryStreamLookup); auto lookupKeys = BuildEquiRangeLookup(keyRange, tableDesc, read.Pos(), ctx); + TKqpStreamLookupSettings settings; + settings.Strategy = EStreamLookupStrategyType::LookupRows; if (indexName) { readInput = Build(ctx, read.Pos()) .Table(read.Table()) .LookupKeys(lookupKeys) .Columns(read.Columns()) .Index(indexName.Cast()) + .Settings(settings.BuildNode(ctx, read.Pos())) .Done(); } else { readInput = Build(ctx, read.Pos()) .Table(read.Table()) .LookupKeys(lookupKeys) .Columns(read.Columns()) - .LookupStrategy().Build(TKqpStreamLookupStrategyName) + .Settings(settings.BuildNode(ctx, read.Pos())) .Done(); } } else {