-
Notifications
You must be signed in to change notification settings - Fork 169
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
Conversation
spark/src/main/spark-3.5/org/apache/spark/sql/comet/shims/ShimCometScanExec.scala
Outdated
Show resolved
Hide resolved
common/src/main/spark-3.5/org/apache/comet/shims/ShimBatchReader.scala
Outdated
Show resolved
Hide resolved
common/src/main/spark-3.3/org/apache/comet/shims/ShimBatchReader.scala
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for the review @kazuyukitanimura |
<shims.majorVerSrc>spark-3.x</shims.majorVerSrc> | ||
<shims.minorVerSrc>spark-3.4</shims.minorVerSrc> | ||
<shims.pre35Src>spark-pre-3.5</shims.pre35Src> |
There was a problem hiding this comment.
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.
* 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
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.