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

propagate ignore_metadataflag #133

Merged

Conversation

jana-starkova
Copy link
Contributor

@jana-starkova jana-starkova commented Jul 29, 2024

PR Checklist

  • A description of the changes is added to the description of this PR.
  • If there is a related issue, make sure it is linked to this PR.
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added or modified a feature, documentation in docs is updated

Description of changes

Fixes a bug in propagating the ignore_metadata flag. This is an issue for nested struct columns, I've noticed it last week when using chispa to compare dataframes with nested structs. I believe it fixes #84 (the description is a bit vague)
If an inner struct column of df1 has metadata and a column of df2 doesn't, despite passing the ignore_metadata flag, the tests will fail. This PR fixes that.

@SemyonSinchenko
Copy link
Collaborator

SemyonSinchenko commented Jul 31, 2024

@jana-starkova Thank you for that contribution! May you, please, take a look on failing linters?

@jana-starkova
Copy link
Contributor Author

@SemyonSinchenko sorry for that! I ran it locally just now, should be fixed

Copy link
Collaborator

@SemyonSinchenko SemyonSinchenko left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for that contribution!

@SemyonSinchenko SemyonSinchenko merged commit aaf0005 into MrPowers:main Jul 31, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

assert None while ignore_metadata=True
2 participants