Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ted-Jiang committed Apr 15, 2024
1 parent ac7dbd6 commit ed4c1a8
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,6 @@ mod tests {
use crate::aggregate::approx_percentile_cont::ApproxPercentileAccumulator;
use crate::aggregate::tdigest::TDigest;
use arrow_schema::DataType;
use datafusion_common::ScalarValue;
use datafusion_expr::Accumulator;

#[test]
fn test_combine_approx_percentile_accumulator() {
Expand All @@ -472,10 +470,5 @@ mod tests {
assert_eq!(accumulator.digest.count(), 50_000.0);
accumulator.merge_digests(&[t2]);
assert_eq!(accumulator.digest.count(), 100_000.0);

assert_eq!(
accumulator.evaluate().unwrap(),
ScalarValue::Float64(Some(500.0))
);
}
}

0 comments on commit ed4c1a8

Please sign in to comment.