Browse Source

Workaround problems with nullptrs in BlockCompress::FetchValues

aneporada 1 year ago
parent
commit
41c83d2319
1 changed files with 1 additions and 5 deletions
  1. 1 5
      ydb/library/yql/minikql/comp_nodes/mkql_block_compress.cpp

+ 1 - 5
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) {