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-51085][SQL] Restore SQLContext Companion #49964

Closed
wants to merge 1 commit into from

Conversation

hvanhovell
Copy link
Contributor

What changes were proposed in this pull request?

The companion object for SQLContext was accidentally dropped when we swapped the interface and the implementation. This PR restores the companion.

Why are the changes needed?

The SQLContext Companion is part of the

Does this PR introduce any user-facing change?

No. Well it mitigates a potentially user facing change.

How was this patch tested?

I added a test to SparkSessionBuilderImplementationBindingSuite.

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

No.

@asfgit asfgit closed this in aeea738 Feb 17, 2025
asfgit pushed a commit that referenced this pull request Feb 17, 2025
### What changes were proposed in this pull request?
The companion object for SQLContext was accidentally dropped when we swapped the interface and the implementation. This PR restores the companion.

### Why are the changes needed?
The SQLContext Companion is part of the

### Does this PR introduce _any_ user-facing change?
No. Well it mitigates a potentially user facing change.

### How was this patch tested?
I added a test to `SparkSessionBuilderImplementationBindingSuite`.

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

Closes #49964 from hvanhovell/SPARK-51085.

Authored-by: Herman van Hovell <[email protected]>
Signed-off-by: Herman van Hovell <[email protected]>
(cherry picked from commit aeea738)
Signed-off-by: Herman van Hovell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants