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-48564][PYTHON][CONNECT] Propagate cached schema in set operations #46915

Closed
wants to merge 3 commits into from

Conversation

zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

Propagate cached schema in set operations

Why are the changes needed?

to avoid extra RPC to get the schema of result data frame

Does this PR introduce any user-facing change?

No

How was this patch tested?

added tests

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

No

# when the cached schemas are exactly the same
if self._cached_schema is not None and self._cached_schema == other._cached_schema:
return self.schema
return None
Copy link
Member

Choose a reason for hiding this comment

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

you can just remove this too

@HyukjinKwon
Copy link
Member

Merged to master.

@zhengruifeng zhengruifeng deleted the set_op_schema branch June 11, 2024 00:50
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