Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AVRO-1830 [Perl] Support containers without codec
As [the specification on Object Container Files][spec] states (emphasis added): > All metadata properties that start with "avro." are reserved. > The following file metadata properties are currently used: > > * **avro.schema** contains the schema of objects stored in > the file, as JSON data (required). > * **avro.codec** the name of the compression codec used to > compress blocks, as a string. Implementations are required > to support the following codecs: "null" and "deflate". _If > codec is absent, it is assumed to be "null"_. The codecs are > described with more detail below. This change makes it so that the Perl implementation does not die when opening a container that does not contain an explicit codec in its metadata. This change is inspired by one originally submitted in 2016 by SK Liew. [spec]: https://avro.apache.org/docs/1.11.1/specification/#object-container-files
- Loading branch information