[KSHC] Fix FileWriterFactory using the same TaskAttemptId for different task attempts#7422
Closed
maomaodev wants to merge 1 commit intoapache:masterfrom
Closed
[KSHC] Fix FileWriterFactory using the same TaskAttemptId for different task attempts#7422maomaodev wants to merge 1 commit intoapache:masterfrom
maomaodev wants to merge 1 commit intoapache:masterfrom
Conversation
pan3793
pushed a commit
that referenced
this pull request
Apr 27, 2026
…tId for different task attempts ### Why are the changes needed? Port SPARK-48484 to KSHC. Fix #7421. In the KSHC, `FileWriterFactory` is forked from Spark's `org.apache.spark.sql.execution.datasources.v2.FileWriterFactory`. However, it still contains a bug later fixed on the Spark side by apache/spark#46811. This PR ports that upstream fix to KSHC. ### How was this patch tested? UT ### Was this patch authored or co-authored using generative AI tooling? NO Closes #7422 from maomaodev/kyuubi-7421. Closes #7422 1272f87 [lifumao] [KSHC] Fix FileWriterFactory using the same TaskAttemptId for different task attempts Authored-by: lifumao <lifumao@tencent.com> Signed-off-by: Cheng Pan <chengpan@apache.org> (cherry picked from commit a99d6e0) Signed-off-by: Cheng Pan <chengpan@apache.org>
pan3793
pushed a commit
that referenced
this pull request
Apr 27, 2026
…tId for different task attempts ### Why are the changes needed? Port SPARK-48484 to KSHC. Fix #7421. In the KSHC, `FileWriterFactory` is forked from Spark's `org.apache.spark.sql.execution.datasources.v2.FileWriterFactory`. However, it still contains a bug later fixed on the Spark side by apache/spark#46811. This PR ports that upstream fix to KSHC. ### How was this patch tested? UT ### Was this patch authored or co-authored using generative AI tooling? NO Closes #7422 from maomaodev/kyuubi-7421. Closes #7422 1272f87 [lifumao] [KSHC] Fix FileWriterFactory using the same TaskAttemptId for different task attempts Authored-by: lifumao <lifumao@tencent.com> Signed-off-by: Cheng Pan <chengpan@apache.org> (cherry picked from commit a99d6e0) Signed-off-by: Cheng Pan <chengpan@apache.org>
Member
|
merged to master/1.11.2/1.10.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why are the changes needed?
Port SPARK-48484 to KSHC.
Fix #7421. In the KSHC,
FileWriterFactoryis forked fromSpark's
org.apache.spark.sql.execution.datasources.v2.FileWriterFactory. However, it still contains abug later fixed on the Spark side by apache/spark#46811. This PR ports that upstream fix to KSHC.
How was this patch tested?
UT
Was this patch authored or co-authored using generative AI tooling?
NO