Ted-Jiang commented on a change in pull request #2077:
URL: https://github.com/apache/arrow-datafusion/pull/2077#discussion_r834438207
##########
File path: datafusion/tests/user_defined_plan.rs
##########
@@ -225,7 +225,9 @@ async fn topk_plan() -> Result<()> {
let actual_output = exec_sql(&mut ctx, &explain_query).await?;
// normalize newlines (output on windows uses \r\n)
- let actual_output = actual_output.replace("\r\n", "\n");
+ let mut actual_output = actual_output.replace("\r\n", "\n");
+ actual_output.retain(|x| !x.is_ascii_whitespace());
Review comment:
Everytime changing explain struct will add whitespace in output.
Add this filter will make this test pass.
--
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]