aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraneporada <aneporada@ydb.tech>2023-09-01 11:44:56 +0300
committeraneporada <aneporada@ydb.tech>2023-09-01 12:13:56 +0300
commit41c83d231964020758ff100e2c51b5a846aee5a4 (patch)
treeef14e3f2153a034526ce841c46e14d8434bfe9fd
parentf8032fae5138b5eeb2ee0bffd4719b1ee173c9c5 (diff)
downloadydb-41c83d231964020758ff100e2c51b5a846aee5a4.tar.gz
Workaround problems with nullptrs in BlockCompress::FetchValues
-rw-r--r--ydb/library/yql/minikql/comp_nodes/mkql_block_compress.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/ydb/library/yql/minikql/comp_nodes/mkql_block_compress.cpp b/ydb/library/yql/minikql/comp_nodes/mkql_block_compress.cpp
index ab4c76e832..6fb4f88fdf 100644
--- a/ydb/library/yql/minikql/comp_nodes/mkql_block_compress.cpp
+++ b/ydb/library/yql/minikql/comp_nodes/mkql_block_compress.cpp
@@ -277,13 +277,9 @@ private:
HaveBlocks_ = true;
maxBlockItemSize = std::max(maxBlockItemSize, CalcMaxBlockItemSize(types[i]->GetItemType()));
}
- if (output[outIndex] != nullptr) {
- ValuePointers_[i] = &InputValues_[i];
- }
outIndex++;
- } else {
- ValuePointers_[i] = &InputValues_[i];
}
+ ValuePointers_[i] = &InputValues_[i];
}
const size_t maxBlockLen = CalcBlockLen(maxBlockItemSize);
for (ui32 i = 0, outIndex = 0; i < width; ++i) {