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

   > Why does it cause data loss? It seems that only a local sort is missing.
   
   @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


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