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

chore: Fix some regressions with Spark 3.5.1 #674

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

andygrove
Copy link
Member

Which issue does this PR close?

Part of #617

Rationale for this change

What changes are included in this PR?

  • Fix some issues in the CometScan shim for 3.5.1 and enable some Spark tests

How are these changes tested?

@andygrove
Copy link
Member Author

@parthchandra @kazuyukitanimura This PR is ready for review now and fixes almost all of the ignored tests for Spark 3.5.1. I will follow up with a separate PR for the final two tests.

@andygrove andygrove marked this pull request as ready for review July 16, 2024 17:39
ShimFileFormat.findRowIndexColumnIndexInSchema(sparkSchema) >= 0
}
// see SPARK-39634
protected def isNeededForSchema(sparkSchema: StructType): Boolean = false
Copy link
Contributor

Choose a reason for hiding this comment

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

We still have this in the 4.0 shim. Is this not needed any more?

Copy link
Contributor

Choose a reason for hiding this comment

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

nvm. I was looking at the wrong file. This is also changed in the 4.0 shim.

Copy link
Member Author

@andygrove andygrove Jul 16, 2024

Choose a reason for hiding this comment

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

I updated this to match the version in the 4.0 shims because https://issues.apache.org/jira/browse/SPARK-39634 is marked as fixed in 3.5

Copy link
Contributor

@parthchandra parthchandra left a comment

Choose a reason for hiding this comment

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

lgtm

@andygrove
Copy link
Member Author

@kazuyukitanimura @huaxingao Could I get a committer review? Parth has already approved.

Copy link
Contributor

@huaxingao huaxingao left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@kazuyukitanimura kazuyukitanimura left a comment

Choose a reason for hiding this comment

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

LGTM

@andygrove andygrove merged commit ae7ea99 into apache:main Jul 16, 2024
74 checks passed
himadripal pushed a commit to himadripal/datafusion-comet that referenced this pull request Sep 7, 2024
@andygrove andygrove deleted the spark-351-metadata branch December 3, 2024 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants