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-49831] Provide empty RuntimeVersions object to ClusterSpec.runtimeVersions by default #140

Closed
wants to merge 1 commit into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Sep 30, 2024

What changes were proposed in this pull request?

Like the other fields of ClusterSpec, this PR aims to provide at least empty RuntimeVersions object to ClusterSpec.runtimeVersions field by default.

Why are the changes needed?

Although ClusterSpec.runtimeVersions field is a required field, it's null currently by default because this should be provided by the users. However, technically, we can create RuntimeVersions object with null fields when we don't know the values of RuntimeVersion class fields. By providing this intermediate object by default, we can write a test case more easily in other modules.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs with the updated test case.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the API label Sep 30, 2024
@dongjoon-hyun
Copy link
Member Author

cc @viirya

@dongjoon-hyun
Copy link
Member Author

Thank you, @viirya . Merged to main.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-49831 branch September 30, 2024 07:02
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