Skip to content

Commit

Permalink
Spark 3.5: Set useCommitCoordinator to false in streaming writes (#9027)
Browse files Browse the repository at this point in the history
Co-authored-by: Huaxin Gao <[email protected]>
  • Loading branch information
huaxingao and Huaxin Gao authored Nov 11, 2023
1 parent 6a9c182 commit 13fd06d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,11 @@ public StreamingDataWriterFactory createStreamingWriterFactory(PhysicalWriteInfo
return createWriterFactory();
}

@Override
public boolean useCommitCoordinator() {
return false;
}

@Override
public final void commit(long epochId, WriterCommitMessage[] messages) {
LOG.info("Committing epoch {} for query {} in {} mode", epochId, queryId, mode());
Expand Down

0 comments on commit 13fd06d

Please sign in to comment.