Skip to content

Commit e9823e7

Browse files
committed
Updated documentation
1 parent 70b13e0 commit e9823e7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/FileCommitProtocol.scala

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,11 @@ object FileCommitProtocol {
6262

6363

6464
/**
65-
* An interface to define how a Spark job commits its outputs. Implementations must be serializable,
66-
* as the committer instance instantiated on the driver will be used for tasks on executors.
65+
* An interface to define how a single Spark job commits its outputs. Two notes:
66+
*
67+
* 1. Implementations must be serializable, as the committer instance instantiated on the driver
68+
* will be used for tasks on executors.
69+
* 2. A committer should not be reused across multiple Spark jobs.
6770
*
6871
* The proper call sequence is:
6972
*

0 commit comments

Comments
 (0)