-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fastserde] Fix issue with generating schema fingerprint (#511)
when default value is NaN.
- Loading branch information
1 parent
ecebef2
commit 4640b55
Showing
4 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
fastserde/avro-fastserde-tests-common/src/test/avro/floatWithDefaultNaN.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"type": "record", | ||
"name": "FloatWithDefaultNaN", | ||
"namespace": "com.linkedin.avro.fastserde.generated.avro", | ||
"doc": "Used to verify Utils.getSchemaFingerprint() method", | ||
"fields": [ | ||
{ | ||
"name": "floatWithDefaultNaN", | ||
"type": "float", | ||
"default": "NaN" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters