Skip to content

Commit 05ce6f9

Browse files
authored
[YQL-18107] Do not reset expected types/column order in ParseType (#4256)
1 parent e1268db commit 05ce6f9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ydb/library/yql/core/type_ann/type_ann_types.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -942,8 +942,9 @@ namespace NTypeAnnImpl {
942942
}
943943

944944
// TODO: Collect type annotation directly from AST.
945-
auto callableTransformer = CreateExtCallableTypeAnnotationTransformer(ctx.Types);
946-
auto typeTransformer = CreateTypeAnnotationTransformer(callableTransformer, ctx.Types);
945+
NYql::TTypeAnnotationContext cleanTypes;
946+
auto callableTransformer = CreateExtCallableTypeAnnotationTransformer(cleanTypes);
947+
auto typeTransformer = CreateTypeAnnotationTransformer(callableTransformer, cleanTypes);
947948
if (InstantTransform(*typeTransformer, exprRoot, ctx.Expr) != IGraphTransformer::TStatus::Ok) {
948949
return IGraphTransformer::TStatus::Error;
949950
}

0 commit comments

Comments
 (0)