diff options
author | udovichenko-r <udovichenko-r@yandex-team.com> | 2025-02-13 23:22:30 +0300 |
---|---|---|
committer | udovichenko-r <udovichenko-r@yandex-team.com> | 2025-02-13 23:44:21 +0300 |
commit | 4b588502793fb16fe94a01df0317cf743324f352 (patch) | |
tree | b70c2a6077c154842c6179feeb5b8235787ccd3a /yql/essentials | |
parent | ea56a3a1fbe82e1de8dcc6e28ea4fb853b863092 (diff) | |
download | ydb-4b588502793fb16fe94a01df0317cf743324f352.tar.gz |
Fix DynamicVariant type annotation with argument rewrite
commit_hash:2d8df9ac651ffbb6445d3760d535459139d2471d
Diffstat (limited to 'yql/essentials')
-rw-r--r-- | yql/essentials/core/type_ann/type_ann_core.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yql/essentials/core/type_ann/type_ann_core.cpp b/yql/essentials/core/type_ann/type_ann_core.cpp index d56c5bc760..1b1f95c254 100644 --- a/yql/essentials/core/type_ann/type_ann_core.cpp +++ b/yql/essentials/core/type_ann/type_ann_core.cpp @@ -8786,6 +8786,8 @@ template <NKikimr::NUdf::EDataSlot DataSlot> ctx.Expr.AddError(TIssue(ctx.Expr.GetPosition(input->Child(0)->Pos()), TStringBuilder() << "Mismatch item type, expected: " << *firstType << ", got: " << *input->Child(0)->GetTypeAnn())); return IGraphTransformer::TStatus::Error; + } else if (convertStatus.Level != IGraphTransformer::TStatus::Ok) { + return convertStatus; } input->SetTypeAnn(ctx.Expr.MakeType<TOptionalExprType>(variantType)); |