Skip to content

Commit 8e0187c

Browse files
authored
Merge 6b370e0 into c5cd816
2 parents c5cd816 + 6b370e0 commit 8e0187c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ydb/library/yql/providers/common/mkql/parser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ TRuntimeNode BuildParseCall(
215215
if (parseItemStructType->GetMembersCount() == 0) {
216216
return ctx.ProgramBuilder.NewStruct(parseItemType, {});
217217
}
218+
MKQL_ENSURE(parseItemStructType->GetMembersCount() == 1, "Only one field supported in raw format");
218219

219220
bool isOptional;
220221
const auto schemeType = UnpackOptionalData(

0 commit comments

Comments
 (0)