Skip to content

[SPARK-48504][PYTHON][CONNECT] Parent Window class for Spark Connect and Spark Classic - #46841

Closed
zhengruifeng wants to merge 1 commit into
apache:masterfrom
zhengruifeng:py_parent_window
Closed

[SPARK-48504][PYTHON][CONNECT] Parent Window class for Spark Connect and Spark Classic#46841
zhengruifeng wants to merge 1 commit into
apache:masterfrom
zhengruifeng:py_parent_window

Conversation

@zhengruifeng

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Parent Window class for Spark Connect and Spark Classic

Why are the changes needed?

Same as #46129

Does this PR introduce any user-facing change?

Same as #46129

How was this patch tested?

CI

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

NO

init
init
init
init
error class

if TYPE_CHECKING:
from pyspark.sql.connect._typing import ColumnOrName
from pyspark.sql.connect._typing import ColumnOrName, ColumnOrName_

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need ColumnOrName_?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is to make the typing consistent with classic side, which uses ColumnOrName_.

The ColumnOrName_ was introduced in a70006d
and used in multiple places. Probably we can revisit it and remove it if possible.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah okie. That's fine.

@HyukjinKwon

Copy link
Copy Markdown
Member

Merged to master.

@zhengruifeng
zhengruifeng deleted the py_parent_window branch June 3, 2024 08:38
Sign up for freeto 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

@zhengruifeng@HyukjinKwon