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])