Skip to content

Conversation

@ajantha-bhat
Copy link
Member

@github-actions github-actions bot added the spark label May 22, 2023
@ajantha-bhat
Copy link
Member Author

Spark-3.2 and older versions have a lot of gaps with spark-3.3 and spark-3.4 (like using FileRewriter instead of RewriteStrategy), hence only backported to spark-3.3

cc: @aokolnychyi, @szehon-ho

commitService.start();

// Start rewrite tasks
Collection<FileGroupFailureResult> rewriteFailures = new ConcurrentLinkedQueue<>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we are also backporting #7361 to Spark 3.3? No problem with me, but we may want to note that in pr description in case some issues arise because of this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are right. It looks confusing to handle from this PR.

I have reverted it now. It can be done in another PR along with testcase and procedure changes.

@ajantha-bhat ajantha-bhat changed the title Spark-3.3: Harmonize RewriteDataFilesSparkAction Spark 3.3: Harmonize RewriteDataFilesSparkAction May 23, 2023
});

return rewriteFileGroupStream.sorted(rewriteGroupComparator());
RewriteExecutionContext ctx, Map<StructLike, List<List<FileScanTask>>> groupsByPartition) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Not related to this pr). This is my fault, but I think this should be 'StructLikeMap' all across to be safer, I guess we can do it later.

@szehon-ho szehon-ho merged commit 11eed71 into apache:master May 23, 2023
@szehon-ho
Copy link
Member

Merged, thanks @ajantha-bhat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants