Skip to content

Commit f883c02

Browse files
rvu1024blinkov
authored andcommitted
Fix DynamicVariant type annotation with argument rewrite
commit_hash:2d8df9ac651ffbb6445d3760d535459139d2471d
1 parent 1521099 commit f883c02

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

yql/essentials/core/type_ann/type_ann_core.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8786,6 +8786,8 @@ template <NKikimr::NUdf::EDataSlot DataSlot>
87868786
ctx.Expr.AddError(TIssue(ctx.Expr.GetPosition(input->Child(0)->Pos()),
87878787
TStringBuilder() << "Mismatch item type, expected: " << *firstType << ", got: " << *input->Child(0)->GetTypeAnn()));
87888788
return IGraphTransformer::TStatus::Error;
8789+
} else if (convertStatus.Level != IGraphTransformer::TStatus::Ok) {
8790+
return convertStatus;
87898791
}
87908792

87918793
input->SetTypeAnn(ctx.Expr.MakeType<TOptionalExprType>(variantType));

0 commit comments

Comments
 (0)