wForget commented on issue #9789:
URL: 
https://github.com/apache/incubator-gluten/issues/9789#issuecomment-2918604999

   > > Why does it cause data loss? It seems that only a local sort is missing.
   > 
   > [@wForget](https://github.com/wForget) If data is not ordered, 
DynamicPartitionDataSingleWriter will create the same file multiple times, 
which results in the written data being overwritten. 
https://github.com/apache/spark/blob/branch-3.5/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/FileFormatDataWriter.scala#L350-L372
   
   Got it, thank you, I will try to reproduce it.


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

Reply via email to