Skip to content

Commit a3f58c4

Browse files
Weijun-Halamb
andauthored
Update datafusion/core/src/dataframe/mod.rs
Co-authored-by: Andrew Lamb <[email protected]>
1 parent 98784c5 commit a3f58c4

File tree

1 file changed

+1
-1
lines changed
  • datafusion/core/src/dataframe

1 file changed

+1
-1
lines changed

datafusion/core/src/dataframe/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ impl DataFrame {
534534
vec![],
535535
original_schema_fields
536536
.clone()
537-
.map(|f| count_null(col(f.name())).alias(f.name()))
537+
.map(|f| count(col(f.name()).is_null()).alias(f.name())))
538538
.collect::<Vec<_>>(),
539539
),
540540
// mean aggregation

0 commit comments

Comments
 (0)