Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed Sep 5, 2024
1 parent 374b5f7 commit b2c5e9a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cpp/src/arrow/dataset/file_parquet.cc
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,9 @@ std::optional<compute::Expression> ParquetFileFragment::EvaluateStatisticsAsExpr
if (statistics.num_values() == 0) {
// If `statistics.HasNullCount()`, it means the all the values are nulls.
//
// If there are no values and no nulls, it might be empty or all values
// are nulls. In this case, we also return a null expression.
// If there are no values and `!statistics.HasNullCount()`, it might be
// empty or all values are nulls. In this case, we also return a null
// expression.
return is_null(std::move(field_expr));
}

Expand Down

0 comments on commit b2c5e9a

Please sign in to comment.