Skip to content

[SPARK-51085][SQL] Restore SQLContext Companion#49964

Closed
hvanhovell wants to merge 1 commit intoapache:masterfrom
hvanhovell:SPARK-51085
Closed

[SPARK-51085][SQL] Restore SQLContext Companion#49964
hvanhovell wants to merge 1 commit intoapache:masterfrom
hvanhovell:SPARK-51085

Conversation

@hvanhovell
Copy link
Copy Markdown
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 <herman@databricks.com>
Signed-off-by: Herman van Hovell <herman@databricks.com>
(cherry picked from commit aeea738)
Signed-off-by: Herman van Hovell <herman@databricks.com>
zifeif2 pushed a commit to zifeif2/spark that referenced this pull request Nov 14, 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 apache#49964 from hvanhovell/SPARK-51085.

Authored-by: Herman van Hovell <herman@databricks.com>
Signed-off-by: Herman van Hovell <herman@databricks.com>
(cherry picked from commit 39607f7)
Signed-off-by: Herman van Hovell <herman@databricks.com>
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