Skip to content

Commit 94726cc

Browse files
committed
fix
1 parent ffc203f commit 94726cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

datafusion/physical-optimizer/src/pruning.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,9 +1111,9 @@ impl PruningStatistics for PrunableStatistics {
11111111
}
11121112
}
11131113
if has_null_count {
1114-
return Some(Arc::new(UInt64Array::from(values)));
1114+
Some(Arc::new(UInt64Array::from(values)))
11151115
} else {
1116-
return None;
1116+
None
11171117
}
11181118
}
11191119

@@ -1143,9 +1143,9 @@ impl PruningStatistics for PrunableStatistics {
11431143
}
11441144
}
11451145
if has_row_count {
1146-
return Some(Arc::new(UInt64Array::from(values)));
1146+
Some(Arc::new(UInt64Array::from(values)))
11471147
} else {
1148-
return None;
1148+
None
11491149
}
11501150
}
11511151

0 commit comments

Comments
 (0)