Skip to content

Commit 21f4194

Browse files
authored
Add extended list splits with const folding (#26935)
1 parent 2220d5f commit 21f4194

22 files changed

+3907
-176
lines changed

ydb/core/kqp/opt/kqp_query_blocks_transformer.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ class TKqpQueryBlocksTransformer : public TGraphTransformerBase {
8585
}
8686

8787
TStatus DoApplyAsyncChanges(TExprNode::TPtr input, TExprNode::TPtr& output, TExprContext& ctx) override {
88-
return QueryBlockTransformer->ApplyAsyncChanges(input, output, ctx);
88+
YQL_ENSURE(CurrentBlock < input->ChildrenSize());
89+
output = input;
90+
return QueryBlockTransformer->ApplyAsyncChanges(input->Child(CurrentBlock), output->ChildRef(CurrentBlock), ctx);
8991
}
9092

9193
private:

0 commit comments

Comments
 (0)