Skip to content

Commit 03690ab

Browse files
update
1 parent ac00cfa commit 03690ab

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • datafusion/core/src/datasource/file_format

datafusion/core/src/datasource/file_format/parquet.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -696,15 +696,15 @@ mod tests {
696696
assert_eq!(stats.num_rows, Some(3));
697697
let c1_stats = &stats.column_statistics.as_ref().expect("missing c1 stats")[0];
698698
let c2_stats = &stats.column_statistics.as_ref().expect("missing c2 stats")[1];
699-
assert_eq!(c1_stats.null_count, Some(1));
700-
assert_eq!(c2_stats.null_count, Some(3));
699+
assert_eq!(c1_stats.null_count, Some(3));
700+
assert_eq!(c2_stats.null_count, Some(1));
701701

702702
let stats = fetch_statistics(store.as_ref(), schema, &meta[1], None).await?;
703703
assert_eq!(stats.num_rows, Some(3));
704704
let c1_stats = &stats.column_statistics.as_ref().expect("missing c1 stats")[0];
705705
let c2_stats = &stats.column_statistics.as_ref().expect("missing c2 stats")[1];
706-
assert_eq!(c1_stats.null_count, Some(3));
707-
assert_eq!(c2_stats.null_count, Some(1));
706+
assert_eq!(c1_stats.null_count, Some(1));
707+
assert_eq!(c2_stats.null_count, Some(3));
708708
assert_eq!(c2_stats.max_value, Some(ScalarValue::Int64(Some(2))));
709709
assert_eq!(c2_stats.min_value, Some(ScalarValue::Int64(Some(1))));
710710

0 commit comments

Comments
 (0)