-
Notifications
You must be signed in to change notification settings - Fork 6
[SPARK-52744] Add MacOS
integration test with Apache Spark 4.1.0-preview1
RC1
#210
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
Conversation
5d90e9a
to
6e18f9e
Compare
b3651c2
to
e8c02dc
Compare
Is it a real error?
|
e8c02dc
to
8c287ce
Compare
No, @viirya. it seems to be a JVM time database different. |
Sources/SparkConnect/DataFrame.swift
Outdated
case .timeInfo(.timestamp): | ||
let timestampType = column.data.type as! ArrowTypeTimestamp | ||
assert(timestampType.timezone == "Etc/UTC") | ||
assert(timestampType.timezone == "Etc/UTC" || timestampType.timezone == "GMT") |
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.
This is the updated part, @viirya .
8c287ce
to
290bf04
Compare
let spark = try await SparkSession.builder.getOrCreate() | ||
let version = await spark.version | ||
#expect(version.starts(with: "4.0.0") || version.starts(with: "3.5.")) | ||
#expect(version.starts(with: "4.") || version.starts(with: "3.5.")) |
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.
This is updated. Previously, I didn't expect 4.1.x
release in 2025.
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.
Yea, I saw this.
Ur, sorry. It seems that the GitHub Action environment seems to have different from local. Let me dig a little more.
Locally,
|
290bf04
to
5160124
Compare
@Test | ||
func timestamp() async throws { | ||
let spark = try await SparkSession.builder.getOrCreate() | ||
// TODO(SPARK-52747) |
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.
Timestamp support is not released yet. I created SPARK-52747 to investigate timezone issue completely.
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.
Okay. Thanks @dongjoon-hyun
Thank you, @viirya . I'll merge this for now and do the follow-up for the TODO JIRAs. |
### What changes were proposed in this pull request? This PR aims to support `defineDataset ` API in order to support `Declarative Pipelines` (SPARK-51727) of Apache Spark `4.1.0-preview1`. ### Why are the changes needed? To support the new feature incrementally. ### Does this PR introduce _any_ user-facing change? No, this is a new feature. ### How was this patch tested? Pass the CIs with `4.1.0-preview1` test pipeline because we added it. - #210 ### Was this patch authored or co-authored using generative AI tooling? No. Closes #211 from dongjoon-hyun/SPARK-52748. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
### What changes were proposed in this pull request? This PR aims to support `defineFlow ` API in order to support `Declarative Pipelines` (SPARK-51727) of Apache Spark `4.1.0-preview1`. ### Why are the changes needed? To support the new feature incrementally. ### Does this PR introduce _any_ user-facing change? No, this is a new feature. ### How was this patch tested? Pass the CIs with `4.1.0-preview1` test pipeline. - #210 <img width="1000" height="373" alt="Screenshot 2025-07-10 at 07 25 37" src="https://github.com/user-attachments/assets/b4e214f6-de6c-4c31-8482-58e8de1dd4ff" /> ### Was this patch authored or co-authored using generative AI tooling? No. Closes #212 from dongjoon-hyun/SPARK-52756. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
…sting ### What changes were proposed in this pull request? This PR aims to use `release` build in Apache Spark `4.1.0-preview1` testing. ### Why are the changes needed? Although we used `release` build in CI since SPARK-52085, we missed to enable it when we add a new test job in SPARK-52744. - #136 - #210 To be consistent, we need to use release build in CIs. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #220 from dongjoon-hyun/SPARK-53374. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
What changes were proposed in this pull request?
This PR aims to add
Apache Spark 4.1.0-preview1
(RC1) test coverage.Why are the changes needed?
To be ready for
4.1.0-preview1
release.Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.