diff options
author | aneporada <aneporada@ydb.tech> | 2023-09-01 11:44:56 +0300 |
---|---|---|
committer | aneporada <aneporada@ydb.tech> | 2023-09-01 12:13:56 +0300 |
commit | 41c83d231964020758ff100e2c51b5a846aee5a4 (patch) | |
tree | ef14e3f2153a034526ce841c46e14d8434bfe9fd | |
parent | f8032fae5138b5eeb2ee0bffd4719b1ee173c9c5 (diff) | |
download | ydb-41c83d231964020758ff100e2c51b5a846aee5a4.tar.gz |
Workaround problems with nullptrs in BlockCompress::FetchValues
-rw-r--r-- | ydb/library/yql/minikql/comp_nodes/mkql_block_compress.cpp | 6 |
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) { |