Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spark-2.4: Handle no-op for rewrite manifests action #6733

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

ajantha-bhat
Copy link
Member

backport of #6695

Note that spark-2.4 doesn't have call procedures. Hence, only two file changes.
Also, Added a No-op testcase newly for the spark action itself as there is no procedure to cover that scenario.

@github-actions github-actions bot added the spark label Feb 3, 2023
@@ -478,6 +492,33 @@ public void testRewriteManifestsWithPredicate() throws IOException {
Assert.assertEquals("Rows must match", expectedRecords, actualRecords);
}

@Test
public void testRewriteManifestsNoOp() throws IOException {
Copy link
Member Author

Choose a reason for hiding this comment

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

This is an additional test case for the scenario which was covered by spark procedure in 3.1 and above spark versions.

Rest of the changes in the PR is same as #6695

@aokolnychyi aokolnychyi merged commit 6e19b53 into apache:master Feb 3, 2023
danielcweeks pushed a commit to danielcweeks/iceberg that referenced this pull request Feb 12, 2023
@ajantha-bhat ajantha-bhat deleted the rewrite_manifest_spark2.4 branch March 13, 2023 11:19
krvikash pushed a commit to krvikash/iceberg that referenced this pull request Mar 16, 2023
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