kerwin-zk commented on code in PR #6704:
URL: https://github.com/apache/paimon/pull/6704#discussion_r2619041413
##########
paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/write/BaseV2WriteBuilder.scala:
##########
@@ -32,6 +33,15 @@ abstract class BaseV2WriteBuilder(table: Table)
protected var overwriteDynamic = false
protected var overwritePartitions: Option[Map[String, String]] = None
+ protected var isOverwriteFiles = false
+ protected var copyOnWriteScan: Option[PaimonCopyOnWriteScan] = None
+
+ def overwriteFiles(scan: Option[PaimonCopyOnWriteScan]): WriteBuilder = {
+ this.isOverwriteFiles = true
Review Comment:
@YannByron whether the scan is empty or not is handled by Option.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]