We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39cbd28 commit 97ca42fCopy full SHA for 97ca42f
datafusion/common/src/stats.rs
@@ -695,6 +695,7 @@ impl ColumnStatistics {
695
#[cfg(test)]
696
mod tests {
697
use super::*;
698
+ use crate::assert_contains;
699
use arrow::datatypes::Field;
700
use std::sync::Arc;
701
@@ -1145,6 +1146,6 @@ mod tests {
1145
1146
let items = vec![stats1, stats2];
1147
1148
let e = Statistics::try_merge_iter(&items, &schema).unwrap_err();
- assert_eq!(e.to_string(), "Error during planning: Cannot merge statistics with different number of columns: 0 vs 1");
1149
+ assert_contains!(e.to_string(), "Error during planning: Cannot merge statistics with different number of columns: 0 vs 1");
1150
}
1151
0 commit comments