Skip to content

Commit 2bb5881

Browse files
committed
fix tests
1 parent 1460356 commit 2bb5881

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

datafusion/physical-expr/src/projection.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1863,7 +1863,9 @@ pub(crate) mod tests {
18631863

18641864
let expected = Statistics {
18651865
num_rows: Precision::Exact(5),
1866-
total_byte_size: Precision::Exact(23),
1866+
// Because there is a variable length Utf8 column we cannot calculate exact byte size after projection
1867+
// Thus we set it to Inexact (originally it was Exact(23))
1868+
total_byte_size: Precision::Inexact(23),
18671869
column_statistics: vec![
18681870
ColumnStatistics {
18691871
distinct_count: Precision::Exact(1),

0 commit comments

Comments
 (0)