Skip to content

Commit 4453a71

Browse files
authored
remove wrong debug assert in block readers (#6604)
1 parent 1d0798e commit 4453a71

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ydb/library/yql/public/udf/arrow/block_reader.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ class TFixedSizeBlockReaderBase : public IBlockReader {
4040
if (IsNull(data, index)) {
4141
return {};
4242
}
43-
} else {
44-
Y_DEBUG_ABORT_UNLESS(!data.MayHaveNulls());
4543
}
4644
return static_cast<TDerived*>(this)->MakeBlockItem(data.GetValues<T>(1)[index]);
4745
}
@@ -131,8 +129,6 @@ class TStringBlockReader final : public IBlockReader {
131129
if (IsNull(data, index)) {
132130
return {};
133131
}
134-
} else {
135-
Y_DEBUG_ABORT_UNLESS(!data.MayHaveNulls());
136132
}
137133

138134
const TOffset* offsets = data.GetValues<TOffset>(1);
@@ -214,8 +210,6 @@ class TTupleBlockReaderBase : public IBlockReader {
214210
if constexpr (Nullable) {
215211
if (IsNull(data, index)) {
216212
return {};
217-
} else {
218-
Y_DEBUG_ABORT_UNLESS(!data.MayHaveNulls());
219213
}
220214
}
221215
return static_cast<TDerived*>(this)->GetChildrenItems(data, index);

0 commit comments

Comments
 (0)