Skip to content

[SPARK-47500][PYTHON][CONNECT][FOLLOWUP] Restore error message for DataFrame.select(None) - #46930

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

zhengruifeng wants to merge 1 commit into
apache:masterfrom
zhengruifeng:py_restore_select_error

Conversation

@zhengruifeng

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

the refactor PR #45636 changed the error message of DataFrame.select(None) from PySparkTypeError to AssertionError, this PR restore the previous error message

Why are the changes needed?

error message improvement

Does this PR introduce any user-facing change?

yes, error message improvement

How was this patch tested?

added test

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

no

@HyukjinKwon

Copy link
Copy Markdown
Member

Merged to master.

@zhengruifeng
zhengruifeng deleted the py_restore_select_error branch June 11, 2024 03:46
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