We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf51964 commit 57fa9deCopy full SHA for 57fa9de
src/parseable/streams.rs
@@ -1110,12 +1110,10 @@ async fn calculate_single_field_stats(
1110
field_name: &str,
1111
) -> Option<FieldStat> {
1112
let count = query_single_i64(
1113
- &ctx,
1114
- &format!(
1115
- "select count(\"{field_name}\") as count from \"{stream_name}\" where \"{field_name}\" is not null"
1116
- ),
1117
- )
1118
- .await?;
+ &ctx,
+ &format!("select count(\"{field_name}\") as count from \"{stream_name}\""),
+ )
+ .await?;
1119
if count == 0 {
1120
return None;
1121
}
0 commit comments