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

Sort df.compileTimeSchema() columns according to df.schema() so they're easier to compare #990

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

koperagen
Copy link
Collaborator

This is quality of life improvement. I print both schemas when i test implementation of join operation. I used to get compileTimeSchema in somewhat random order, it makes diff useless. Now when columns are present in both schemas, they will go in a definite order

@koperagen koperagen added the enhancement New feature or request label Dec 6, 2024
@koperagen koperagen added this to the 0.16.0 milestone Dec 6, 2024
@koperagen koperagen requested a review from Jolanrensen December 6, 2024 12:35
@koperagen koperagen self-assigned this Dec 6, 2024
@koperagen koperagen force-pushed the compileTimeSchemaOrder branch from 3689c11 to adca94b Compare December 6, 2024 13:19
Copy link
Collaborator

@Jolanrensen Jolanrensen left a comment

Choose a reason for hiding this comment

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

just some small syntactical tips, otherwise lgtm :)

@koperagen koperagen force-pushed the compileTimeSchemaOrder branch from adca94b to 791dfb7 Compare January 29, 2025 11:48
@koperagen koperagen merged commit 72354c5 into master Jan 29, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants