forked from linkedin/goavro
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Huge thanks to Omid Aladini for the initial work for this feature! * Codec.CanonicalSchema() returns the parsing canonical form of the schema. https://avro.apache.org/docs/current/spec.html#Transforming+into+Parsing+Canonical+Form * This is considered work towards eventually having https://avro.apache.org/docs/1.8.2/spec.html#schema_fingerprints * The `fixed` type's `size` property allows either an integer or a quoted integer, due to implicit allowance in the _Transiforming into Parsing Canonical Form_ section of the Avro Specification. Both of the followed are permitted, although only the first is legal. {"type":"fixed","name":"example1","size":16} {"type":"fixed","name":"example1","size":"16"} * NewCodec returns an error when the provided Avro schema is an unquoted primitive type. The Avro Specification says that a schema may be a JSON string, naming a defined type, or a JSON object. A JSON string must have a starting and ending quote. This is an invalid schema: `int` This is a valid schema: `"int"` See: linkedin#35
- Loading branch information
Karrick S. McDermott
committed
Apr 27, 2018
1 parent
e713d59
commit fa8f6a3
Showing
20 changed files
with
847 additions
and
334 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.