Skip to content

Conversation

@zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

Make Frame.__repr__ should be insensitive to config spark.sql.execution.pandas.structHandlingMode

Why are the changes needed?

the __repr__ might be broken when arrow-optimization is on

Does this PR introduce any user-facing change?

yes, the __repr__ will not be affected by this config

How was this patch tested?

enabled doctests

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

no

@zhengruifeng zhengruifeng changed the title [WIP][PS] Make Frame.__repr__ should be insensitive to config spark.sql.execution.pandas.structHandlingMode [WIP][PS] Make Frame.__repr__ insensitive to config spark.sql.execution.pandas.structHandlingMode Dec 3, 2025
@zhengruifeng zhengruifeng changed the title [WIP][PS] Make Frame.__repr__ insensitive to config spark.sql.execution.pandas.structHandlingMode [WIP][PS] Make Frame.__repr__ insensitive to arrow optimization Dec 3, 2025
Copy link
Contributor

@allisonwang-db allisonwang-db left a comment

Choose a reason for hiding this comment

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

Curious if we can add any tests for this.

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