File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -377,9 +377,7 @@ class TKqpLookupRows : public TKqpStreamLookupWorker {
377
377
}
378
378
}
379
379
380
- storageRowSize = std::max (storageRowSize, (i64 )8 );
381
-
382
- if (rowsInBatch && storageRowSize > freeSpace - (i64 )resultStats.ResultBytesCount ) {
380
+ if (rowsInBatch && rowSize > freeSpace - (i64 )resultStats.ResultBytesCount ) {
383
381
row.DeleteUnreferenced ();
384
382
sizeLimitExceeded = true ;
385
383
break ;
@@ -388,6 +386,8 @@ class TKqpLookupRows : public TKqpStreamLookupWorker {
388
386
batch.push_back (std::move (row));
389
387
++rowsInBatch;
390
388
389
+ storageRowSize = std::max (storageRowSize, (i64 )8 );
390
+
391
391
resultStats.ReadRowsCount += 1 ;
392
392
resultStats.ReadBytesCount += storageRowSize;
393
393
resultStats.ResultRowsCount += 1 ;
You can’t perform that action at this time.
0 commit comments