feiwang commented on SPARK-29302:


Hi, I have thought a simple solution.

We just need make the file name of a task be unique.
And the OutputCommitCoordinator would decide which task file can be committed.

But I don't have a appropriate unit test.

> dynamic partition overwrite with speculation enabled
> ----------------------------------------------------
>                 Key: SPARK-29302
>                 URL: https://issues.apache.org/jira/browse/SPARK-29302
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.4
>            Reporter: feiwang
>            Priority: Major
>         Attachments: screenshot-1.png, screenshot-2.png
> Now, for a dynamic partition overwrite operation,  the filename of a task 
> output is determinable.
> So, if speculation is enabled,  would a task conflict with  its relative 
> speculation task?
> Would the two tasks concurrent write a same file?

This message was sent by Atlassian Jira

To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to