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

feat: Add experimental support for Apache Spark 3.5.1 #587

Merged
merged 28 commits into from
Jun 20, 2024

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Jun 18, 2024

Which issue does this PR close?

Part of #541

Rationale for this change

Spark 3.5 is the latest Spark version. Comet will have a larger audience if we support the latest version.

What changes are included in this PR?

This PR adds support for 3.5 with the Comet tests passing but does not add the Spark SQL tests yet. That will be in a separate PR.

Documentation is updated to make it clear that Spark 3.5 support is experimental.

Golden files were copied from pre 3.5 and then regenerated. Commit 96f3e85 shows the differences between pre 3.5 and 3.5 golden files.

How are these changes tested?

Existing tests.

@andygrove andygrove marked this pull request as ready for review June 18, 2024 22:22
@kazuyukitanimura
Copy link
Contributor

Will check back once #581 and #537 are merged

@andygrove andygrove marked this pull request as ready for review June 19, 2024 00:52
@andygrove
Copy link
Member Author

Will check back once #581 and #537 are merged

I have upmerged now that those are merged.

pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
.github/workflows/pr_build.yml Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
docs/source/user-guide/overview.md Outdated Show resolved Hide resolved
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
Copy link
Member Author

Thanks for the review @kazuyukitanimura

@andygrove andygrove merged commit 28309a4 into apache:main Jun 20, 2024
66 checks passed
@andygrove andygrove deleted the spark35 branch June 20, 2024 13:28
<shims.majorVerSrc>spark-3.x</shims.majorVerSrc>
<shims.minorVerSrc>spark-3.4</shims.minorVerSrc>
<shims.pre35Src>spark-pre-3.5</shims.pre35Src>
Copy link
Contributor

Choose a reason for hiding this comment

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

shims.pre35Src and additional.pre35.test.source seems a bit cumbersome consider there's already shims.majorVerSec and shims.minorVerSrc.

Do you think we should reuse the existing properties instead introducing a new one? If so, I could help submit a pr to address that since this PR is already merged.

himadripal pushed a commit to himadripal/datafusion-comet that referenced this pull request Sep 7, 2024
* add profile

* fix for LegacyBehaviorPolicy

* fix 3.5 ShimCometScanExec

* builds with Spark 3.5

* fix builds

* use correct parquet version

* make docs more explicit

* bug fix

* remove use of reflection

* fix

* fix 4.0 build

* allow different stability plans for 3.5

* copy approved plans from 3.x to 3.5

* regenerate golden files for 3.5

* enable CI test

* fix merge conflict

* remove unused imports

* Refine shim

* remove some uses of reflection

* refine shim

* remove unused code

* remove unused imports

* add isTimestampNTZType to 3.5 shim

* address feedback

* remove unused imports

* address feedback
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.

3 participants