Skip to content

Commit

Permalink
Fix CopyToChunked for empty batch (ydb-platform#9288)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikvas0 committed Sep 16, 2024
1 parent 1b9afaa commit 465363a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/kqp/executer_actor/kqp_executer_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void TEvKqpExecuter::TEvTxResponse::TakeResult(ui32 idx, NDq::TDqSerializedBatch
ResultRowsBytes += rows.Size();
auto guard = AllocState->TypeEnv.BindAllocator();
auto& result = TxResults[idx];
if (rows.RowCount() || !result.IsStream) {
if (rows.RowCount()) {
NDq::TDqDataSerializer dataSerializer(
AllocState->TypeEnv, AllocState->HolderFactory,
static_cast<NDqProto::EDataTransportVersion>(rows.Proto.GetTransportVersion()));
Expand Down

0 comments on commit 465363a

Please sign in to comment.