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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org