-
Notifications
You must be signed in to change notification settings - Fork 415
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
fix: add data_type and nullable to StructField hash (#2045) #2190
fix: add data_type and nullable to StructField hash (#2045) #2190
Conversation
there seems to be an error unrelated to this PR
|
@sonhmai not so sure about that, these failures weren't there before. Maybe some interaction somewhere else in the code? |
yep. will definitely look into details. |
@ion-elgreco fix pushed with local tests passed. can you plz let workflow run? Thanks. |
@rtyler @ion-elgreco all checks passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sonhmai thanks for the fix! 😀
@@ -641,6 +643,7 @@ mod tests { | |||
use super::*; | |||
use serde_json; | |||
use serde_json::json; | |||
use std::hash::DefaultHasher; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
incase anyone else runs into this - this raises the MSRV of running the tests to 1.76.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for pointing this out!
Description
Correct hashing of StructField and add tests.
data_type
or differentnullable
are considered to hash equivalently.name
,data_type
andnullability
should match for a field to be considered equivalent.Related Issue(s)
closes #2045