Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Jun 15, 2024
1 parent be068d8 commit 90a5ea4
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -874,10 +874,11 @@ impl<'a> StatisticsConverter<'a> {
where
I: IntoIterator<Item = &'a RowGroupMetaData>,
{
let data_type = self.arrow_field.data_type();

let Some(parquet_index) = self.parquet_index else {
return Ok(self.make_null_array(data_type, metadatas));
let num_row_groups = metadatas.into_iter().count();
return Ok(Arc::new(UInt64Array::from_iter(
std::iter::repeat(None).take(num_row_groups),
)));
};

let null_counts = metadatas
Expand Down

0 comments on commit 90a5ea4

Please sign in to comment.