Skip to content

Commit 2b7802a

Browse files
committed
add_overwrite_mode_support_io
1 parent 31a4cf2 commit 2b7802a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spark/src/main/scala/org/apache/comet/serde/operator/CometDataWritingCommand.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ object CometDataWritingCommand extends CometOperatorSerde[DataWritingCommandExec
161161

162162
// SaveMode.Overwrite - delete existing output in the driver itself
163163
if (cmd.mode == SaveMode.Overwrite) {
164-
// Delete the end directory if exists in overwrite mode
165164
val outputPathObj = new Path(outputPath)
166165
val fs = outputPathObj.getFileSystem(new Configuration())
167166

0 commit comments

Comments
 (0)