Skip to content

Commit 4adb4e5

Browse files
pavelvelikhovPavel Velikhov
andauthored
Fixed replication bug (#14550)
Co-authored-by: Pavel Velikhov <pavelvelikhov@localhost.localdomain>
1 parent 214dda5 commit 4adb4e5

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

ydb/library/yql/dq/opt/dq_opt_phy.cpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2594,11 +2594,13 @@ TExprBase DqBuildScalarPrecompute(TExprBase node, TExprContext& ctx, IOptimizati
25942594
auto takeProgram = Build<TCoLambda>(ctx, node.Pos())
25952595
.Args({"take_arg"})
25962596
// DqOutput expects stream as input, thus form stream with one element
2597-
.Body<TCoToStream>()
2598-
.Input<TCoTake>()
2599-
.Input({"take_arg"})
2600-
.Count<TCoUint64>()
2601-
.Literal().Build("1")
2597+
.Body<TCoToFlow>()
2598+
.Input<TCoToStream>()
2599+
.Input<TCoTake>()
2600+
.Input({"take_arg"})
2601+
.Count<TCoUint64>()
2602+
.Literal().Build("1")
2603+
.Build()
26022604
.Build()
26032605
.Build()
26042606
.Build()

0 commit comments

Comments
 (0)