alamb opened a new issue, #9368:
URL: https://github.com/apache/arrow-datafusion/issues/9368

   ### Describe the bug
   
   `dataframe::write_partitioned_parquet_results` sometimes passes and 
sometimes fails
   
   This test was recently added in 
https://github.com/apache/arrow-datafusion/pull/9316
   
   ### To Reproduce
   
   Example failure 
https://github.com/apache/arrow-datafusion/actions/runs/8063185942/job/22024675172
   
   ```
   
   
   ---- dataframe::write_partitioned_parquet_results stdout ----
   thread 'dataframe::write_partitioned_parquet_results' panicked at 
datafusion/core/tests/dataframe/mod.rs:1978:5:
   assertion `left == right` failed: 
   
   expected:
   
   [
       "+-----+-----+",
       "| c1  | c2  |",
       "+-----+-----+",
       "| abc | 123 |",
       "| def | 456 |",
       "+-----+-----+",
   ]
   actual:
   
   [
       "+-----+-----+",
       "| c1  | c2  |",
       "+-----+-----+",
       "| def | 456 |",
       "| abc | 123 |",
       "+-----+-----+",
   ]
   ```
   
   ### Expected behavior
   
   I think we can just update the test to use `assert_batches_sorted_eq`  
https://docs.rs/datafusion/latest/datafusion/macro.assert_batches_sorted_eq.html
 so that the ordering is normalized
   
   ### Additional context
   
   _No response_


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

Reply via email to