Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Doris-Extras committed Jul 18, 2022
1 parent cf28936 commit 7d0f17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/olap/rowset/beta_rowset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Status BetaRowset::do_load(bool /*use_cache*/) {

Status BetaRowset::load_segments(std::vector<segment_v2::SegmentSharedPtr>* segments) {
auto fs = _rowset_meta->fs();
if (!fs) {
if (!fs || _schema == nullptr) {
return Status::OLAPInternalError(OLAP_ERR_INIT_FAILED);
}
for (int seg_id = 0; seg_id < num_segments(); ++seg_id) {
Expand Down

0 comments on commit 7d0f17e

Please sign in to comment.