Skip to content

Commit 17ee0c0

Browse files
committed
fix
1 parent 84db424 commit 17ee0c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/core/kqp/runtime/kqp_write_table.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ class TRowBuilder {
305305
if (cellInfo.Type.GetTypeId() == NScheme::NTypeIds::Pg) {
306306
return cellInfo.PgBinaryValue.size();
307307
}
308-
return cellInfo.Value.AsStringRef().Size();
308+
const auto s = cellInfo.Value.AsStringRef().Size();
309+
return TCell::CanInline(s) ? 0 : s;
309310
}
310311

311312
TCharVectorPtr Allocate(size_t size) {

0 commit comments

Comments
 (0)