Skip to content

Spark: Remove unused PruneColumnsWithReordering class - #12258

Merged
amogh-jahagirdar merged 1 commit into
apache:mainfrom
rdblue:remove-unused-class
Feb 14, 2025
Merged

amogh-jahagirdar merged 1 commit into
apache:mainfrom
rdblue:remove-unused-class

Conversation

@rdblue

@rdblue rdblue commented Feb 13, 2025

Copy link
Copy Markdown
Contributor

This class isn't used. If I remember correctly, the purpose of PruneColumnsWithReordering was to produce a schema that matched the requested Spark schema before DSv2 could add a projection to reorder columns. I don't think it has been used for a long time.

@Fokko Fokko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice, less is more 👍

@amogh-jahagirdar amogh-jahagirdar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @rdblue !

@amogh-jahagirdar

Copy link
Copy Markdown
Contributor

I'll go ahead and merge, thanks @Fokko @dramaticlly for reviewing!

@amogh-jahagirdar
amogh-jahagirdar merged commit 396dc44 into apache:main Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants