Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
assert_batches_sorted_eq in datafusion_common - Rust
[go: Go Back, main page]

macro_rules! assert_batches_sorted_eq {
    ($EXPECTED_LINES: expr, $CHUNKS: expr) => { ... };
}
Expand description

Compares formatted output of a record batch with an expected vector of strings in a way that order does not matter. This is a macro so errors appear on the correct line

Designed so that failure output can be directly copy/pasted into the test code as expected results.

Expects to be called about like this:

assert_batch_sorted_eq!(expected_lines: &[&str], batches: &[RecordBatch])