Skip to content

Commit e9a91df

Browse files
committed
fix
1 parent bb31075 commit e9a91df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ydb/core/kqp/opt/kqp_opt_build_txs.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,10 @@ class TKqpBuildTxsTransformer : public TSyncTransformerBase {
830830
auto input = stage.Inputs().Item(i);
831831
if (auto maybeConn = input.Maybe<TDqConnection>()) {
832832
auto conn = maybeConn.Cast();
833+
if (!conn.Maybe<TDqCnValue>() && !conn.Maybe<TDqCnUnionAll>()) {
834+
continue;
835+
}
836+
833837
if (phaseStagesMap.contains(conn.Output().Stage().Raw())) {
834838
auto oldArg = stage.Program().Args().Arg(i);
835839
auto newArg = Build<TCoArgument>(ctx, stage.Program().Args().Arg(i).Pos())

0 commit comments

Comments
 (0)