blaginin commented on issue #15312: URL: https://github.com/apache/datafusion/issues/15312#issuecomment-2737028735
Hey, I think this is happening because `assert_batches_sorted_eq` sorts both lhs and rhs, while `batches_to_sort_string` sorts its _only_ input - and because the snapshot is one big string, we don't currenly sort it. When I was working on that, I manually verified the new lines make sense. Alternatively, you can explore https://github.com/apache/datafusion/pull/15165#discussion_r1990172077 and https://docs.rs/insta/latest/insta/fn.sorted_redaction.html -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
