Skip to content

Commit b89687a

Browse files
authored
fix write from RTMR to solomon (#5857)
1 parent 01bff86 commit b89687a

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

ydb/library/yql/providers/solomon/provider/yql_solomon_io_discovery.cpp

-22
Original file line numberDiff line numberDiff line change
@@ -98,28 +98,6 @@ class TSolomonIODiscoveryTransformer : public TSyncTransformerBase {
9898
}
9999

100100
auto status = OptimizeExpr(input, output, [this] (const TExprNode::TPtr& node, TExprContext& ctx) -> TExprNode::TPtr {
101-
if (auto maybeWrite = TMaybeNode<TSoWrite>(node)) {
102-
if (!maybeWrite.DataSink()) {
103-
return node;
104-
}
105-
auto write = maybeWrite.Cast();
106-
107-
if (!EnsureArgsCount(write.Ref(), 5, ctx)) {
108-
return {};
109-
}
110-
111-
return Build<TSoWrite>(ctx, write.Pos())
112-
.World(write.World())
113-
.DataSink(write.DataSink())
114-
.FreeArgs()
115-
.Add<TCoAtom>()
116-
.Value("")
117-
.Build()
118-
.Add(write.Arg(3))
119-
.Build()
120-
.Done().Ptr();
121-
}
122-
123101
if (auto maybeRead = TMaybeNode<TSoRead>(node)) {
124102
auto read = maybeRead.Cast();
125103
if (read.DataSource().Category().Value() != SolomonProviderName) {

0 commit comments

Comments
 (0)