summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ydb/core/engine/mkql_keys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/engine/mkql_keys.cpp b/ydb/core/engine/mkql_keys.cpp
index 05afb89adc2..17bc05a3b86 100644
--- a/ydb/core/engine/mkql_keys.cpp
+++ b/ydb/core/engine/mkql_keys.cpp
@@ -261,7 +261,7 @@ TCell MakeCell(NUdf::TDataTypeId typeId, const NUdf::TUnboxedValuePod& value, co
}
const auto& ref = value.AsStringRef();
- if (!copy || value.IsString() || TCell::CanInline(ref.Size()))
+ if (!copy && !value.IsEmbedded() || value.IsString() || TCell::CanInline(ref.Size()))
return TCell(ref.Data(), ref.Size());
const auto& val = env.NewString(ref.Size());