You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "jerry-024 (via GitHub)" <gi...@apache.org> on 2025/10/21 05:55:42 UTC
[PR] Spark format table overwrite [paimon]
jerry-024 opened a new pull request, #6442:
URL: https://github.com/apache/paimon/pull/6442
<!-- Please specify the module before the PR name: [core] ... or [flink] ... -->
### Purpose
<!-- Linking this pull request to the issue -->
Linked issue: close #xxx
<!-- What is the purpose of the change -->
### Tests
<!-- List UT and IT cases to verify this change -->
### API and Format
<!-- Does this change affect API or storage format -->
### Documentation
<!-- Does this change introduce a new feature -->
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Spark format table overwrite [paimon]
Posted by "jerry-024 (via GitHub)" <gi...@apache.org>.
jerry-024 closed pull request #6442: Spark format table overwrite
URL: https://github.com/apache/paimon/pull/6442
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [core] spark format table support overwrite [paimon]
Posted by "jerry-024 (via GitHub)" <gi...@apache.org>.
jerry-024 merged PR #6442:
URL: https://github.com/apache/paimon/pull/6442
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [core] spark format table support overwrite [paimon]
Posted by "Zouxxyy (via GitHub)" <gi...@apache.org>.
Zouxxyy commented on PR #6442:
URL: https://github.com/apache/paimon/pull/6442#issuecomment-3441562711
LGTM with the spark part
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Spark format table overwrite [paimon]
Posted by "Zouxxyy (via GitHub)" <gi...@apache.org>.
Zouxxyy commented on code in PR #6442:
URL: https://github.com/apache/paimon/pull/6442#discussion_r2450320380
##########
paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/write/BaseWriteBuilder.scala:
##########
@@ -19,15 +19,15 @@
package org.apache.paimon.spark.write
import org.apache.paimon.spark.catalyst.analysis.expressions.ExpressionHelper
-import org.apache.paimon.table.FileStoreTable
+import org.apache.paimon.types.RowType
import org.apache.spark.sql.catalyst.SQLConfHelper
import org.apache.spark.sql.connector.write.WriteBuilder
import org.apache.spark.sql.sources._
import scala.collection.JavaConverters._
-abstract class BaseWriteBuilder(table: FileStoreTable)
+abstract class BaseWriteBuilder(partitionRowType: RowType)
Review Comment:
You can use the parent table
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Spark format table overwrite [paimon]
Posted by "jerry-024 (via GitHub)" <gi...@apache.org>.
jerry-024 closed pull request #6442: Spark format table overwrite
URL: https://github.com/apache/paimon/pull/6442
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [core] spark format table support overwrite [paimon]
Posted by "jerry-024 (via GitHub)" <gi...@apache.org>.
jerry-024 closed pull request #6442: [core] spark format table support overwrite
URL: https://github.com/apache/paimon/pull/6442
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Spark format table overwrite [paimon]
Posted by "Zouxxyy (via GitHub)" <gi...@apache.org>.
Zouxxyy commented on code in PR #6442:
URL: https://github.com/apache/paimon/pull/6442#discussion_r2450956309
##########
paimon-spark/paimon-spark-common/src/main/scala/org/apache/spark/sql/execution/PaimonFormatTable.scala:
##########
@@ -191,7 +202,12 @@ case class PaimonFormatTable(
}
override def capabilities(): util.Set[TableCapability] = {
- util.EnumSet.of(BATCH_READ, BATCH_WRITE)
+ util.EnumSet.of(
+ BATCH_READ,
+ BATCH_WRITE,
+ OVERWRITE_DYNAMIC,
+ ACCEPT_ANY_SCHEMA,
Review Comment:
Remove ACCEPT_ANY_SCHEMA
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Spark format table overwrite [paimon]
Posted by "jerry-024 (via GitHub)" <gi...@apache.org>.
jerry-024 closed pull request #6442: Spark format table overwrite
URL: https://github.com/apache/paimon/pull/6442
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org