[ 
https://issues.apache.org/jira/browse/AVRO-1830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15242810#comment-15242810
 ] 

SK Liew commented on AVRO-1830:
-------------------------------

I've added a patch which is to set $codec to "null" when "avro.codec" does not 
exist in a container's metadata.

> Avro-Perl DataFileReader chokes when avro.codec is absent
> ---------------------------------------------------------
>
>                 Key: AVRO-1830
>                 URL: https://issues.apache.org/jira/browse/AVRO-1830
>             Project: Avro
>          Issue Type: Bug
>          Components: perl
>    Affects Versions: 1.8.0
>            Reporter: SK Liew
>            Priority: Minor
>         Attachments: Avro-1830.patch
>
>
> When a container does not specify its "avro.codec", it should be assumed to 
> be "null". An exception is thrown when I try to read such a container using 
> Avro::DataFileReader. The error happens at Avro/DataFileReader.pm line 101.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to