turboFei commented on a change in pull request #25863: 
[WIP][SPARK-29037][CORE][SQL] For static partition overwrite, spark may give 
duplicate result.
URL: https://github.com/apache/spark/pull/25863#discussion_r328023166
 
 

 ##########
 File path: 
core/src/main/scala/org/apache/spark/internal/io/FileCommitProtocol.scala
 ##########
 @@ -147,18 +151,29 @@ object FileCommitProtocol extends Logging {
       className: String,
       jobId: String,
       outputPath: String,
-      dynamicPartitionOverwrite: Boolean = false): FileCommitProtocol = {
+      dynamicPartitionOverwrite: Boolean = false,
+      isInsertIntoHadoopFsRelation: Boolean = false,
+      isOverwrite: Boolean = false,
+      staticPartitionKVs: Seq[(String, String)] = Seq.empty[(String, String)]):
 
 Review comment:
   Should we escape dynamicPartitionOverwrite in `FileSourceWriteDesc`? It is 
also a file source write property.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to