diff options
author | chertus <azuikov@ydb.tech> | 2023-03-17 16:22:19 +0300 |
---|---|---|
committer | chertus <azuikov@ydb.tech> | 2023-03-17 16:22:19 +0300 |
commit | 1cd192d6a6ded9f2092bc168241eaf37f5159e72 (patch) | |
tree | 3570633c794c052be04a6b22a0c524572347e15c | |
parent | 0443bb163c49758b592a0fbaa67a26b791e233f1 (diff) | |
download | ydb-1cd192d6a6ded9f2092bc168241eaf37f5159e72.tar.gz |
one more fix
-rw-r--r-- | ydb/core/tx/columnshard/engines/indexed_read_data.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ydb/core/tx/columnshard/engines/indexed_read_data.cpp b/ydb/core/tx/columnshard/engines/indexed_read_data.cpp index 716e099cfc..502d2ad8ba 100644 --- a/ydb/core/tx/columnshard/engines/indexed_read_data.cpp +++ b/ydb/core/tx/columnshard/engines/indexed_read_data.cpp @@ -320,7 +320,9 @@ TVector<TPartialReadResult> TIndexedReadData::GetReadyResults(const int64_t maxR /// @note not indexed data could contain data out of indexed granules Y_VERIFY(!TsGranules.empty()); auto mergedBatch = MergeNotIndexed(std::move(NotIndexed)); // merged has no dups - OutNotIndexed = SliceIntoGranules(mergedBatch, TsGranules, IndexInfo()); + if (mergedBatch) { + OutNotIndexed = SliceIntoGranules(mergedBatch, TsGranules, IndexInfo()); + } NotIndexed.clear(); ReadyNotIndexed = 0; } |