Skip to content

[SPARK-57021][CONNECT][PYTHON][TESTS][FOLLOWUP] Use sql.SQLContext explicitly for classic SQLContext tests#56601

Open
gaogaotiantian wants to merge 1 commit into
apache:masterfrom
gaogaotiantian:fix-sqlcontext-test
Open

[SPARK-57021][CONNECT][PYTHON][TESTS][FOLLOWUP] Use sql.SQLContext explicitly for classic SQLContext tests#56601
gaogaotiantian wants to merge 1 commit into
apache:masterfrom
gaogaotiantian:fix-sqlcontext-test

Conversation

@gaogaotiantian

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

import SQLContext explicitly from pyspark.sql instead of from pyspark because pyspark.SQLContext does not exist for connect mode.

Why are the changes needed?

connect-only runs are failing.

Does this PR introduce any user-facing change?

Test only change.

How was this patch tested?

CI.

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

No.

@gaogaotiantian gaogaotiantian requested a review from dbtsai June 18, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant