comphead opened a new issue, #2970:
URL: https://github.com/apache/datafusion-comet/issues/2970

   ### Describe the bug
   
   Comet fails if the folder exists and cannot overwrite it
   
   ### Steps to reproduce
   
   Folder `output2` exists
   ```
   
spark.read.parquet("/tmp/writertest/input").repartition(1).write.mode("overwrite").parquet("/tmp/writertest/output2")
   
   25/12/23 08:31:40 ERROR CometExecIterator: Native execution for task 17 
failed
   org.apache.comet.CometNativeException: Failed to create output file 
'/tmp/writertest/output2/part-00000-00017.parquet': Is a directory (os error 21)
   
   ```
   
   ### Expected behavior
   
   Should overwrite the folder with new content
   
   ### 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to