aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrlolthe1st <mrlolthe1st@yandex-team.com>2023-08-24 16:48:48 +0300
committermrlolthe1st <mrlolthe1st@yandex-team.com>2023-08-24 17:09:55 +0300
commit9b8239370c4354cbd86f763d546469a7b3da3538 (patch)
tree24883ca95b990513f79eeff8f66be02e5cb3b582
parenta62381eb07390ecd888e550fe69845f46ba4f72b (diff)
downloadydb-9b8239370c4354cbd86f763d546469a7b3da3538.tar.gz
YQL-16372: Fix tests
YQL-16372: Fix tests
-rw-r--r--ydb/library/yql/providers/common/codec/yql_codec.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ydb/library/yql/providers/common/codec/yql_codec.cpp b/ydb/library/yql/providers/common/codec/yql_codec.cpp
index a404e27f9f..49ffc36823 100644
--- a/ydb/library/yql/providers/common/codec/yql_codec.cpp
+++ b/ydb/library/yql/providers/common/codec/yql_codec.cpp
@@ -1267,6 +1267,11 @@ NUdf::TUnboxedValue ReadYsonValue(TType* type,
return isTableFormat ? ReadYsonValueInTableFormatPg(pgType, cmd, buf) : ReadYsonValuePg(pgType, cmd, buf);
}
+ case TType::EKind::Tagged: {
+ auto taggedType = static_cast<TTaggedType*>(type);
+ return ReadYsonValue(taggedType->GetBaseType(), holderFactory, cmd, buf, isTableFormat);
+ }
+
default:
YQL_ENSURE(false, "Unsupported type: " << type->GetKindAsStr());
}