Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zverevgeny committed Jan 7, 2025
1 parent 5aa5276 commit 8af3774
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ydb/core/kqp/runtime/kqp_write_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ class TRowBuilder {
if (cellInfo.Type.GetTypeId() == NScheme::NTypeIds::Pg) {
return cellInfo.PgBinaryValue.size();
}
return cellInfo.Value.AsStringRef().Size();
const auto s = cellInfo.Value.AsStringRef().Size();
return TCell::CanInline(s) ? 0 : s;
}

TCharVectorPtr Allocate(size_t size) {
Expand Down

0 comments on commit 8af3774

Please sign in to comment.