Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed May 12, 2024
1 parent 07c2386 commit 7b37a29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cpp/src/parquet/column_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,9 @@ class TypedColumnReaderImpl : public TypedColumnReader<DType>,
std::count(def_levels, def_levels + *num_def_levels, this->max_def_level_);
} else {
// Required field, read all values
*num_def_levels = 0;
if (num_def_levels != nullptr) {
*num_def_levels = 0;
}
*non_null_values_to_read = batch_size;
}

Expand Down

0 comments on commit 7b37a29

Please sign in to comment.