eldenmoon commented on code in PR #45305:
URL: https://github.com/apache/doris/pull/45305#discussion_r1879881916
##########
be/src/olap/rowset/segment_v2/column_reader.cpp:
##########
@@ -1086,8 +1098,14 @@ Status ArrayFileColumnIterator::next_batch(size_t* n,
vectorized::MutableColumnP
auto null_map_ptr =
static_cast<vectorized::ColumnNullable&>(*dst).get_null_map_column_ptr();
size_t num_read = *n;
- bool null_signs_has_null = false;
- RETURN_IF_ERROR(_null_iterator->next_batch(&num_read, null_map_ptr,
&null_signs_has_null));
+ if (_null_iterator) {
+ bool null_signs_has_null = false;
Review Comment:
add comnent when _null_iterator will be nullptr
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]