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

Clément MATHIEU commented on CRUNCH-668:
----------------------------------------

Hi Josh. Good catch, I forgot to run IT tests. I will update the patch.

> From.avroFile do not support globbing patterns (GenericData based overloads)
> ----------------------------------------------------------------------------
>
>                 Key: CRUNCH-668
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-668
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.15.0
>            Reporter: Clément MATHIEU
>            Assignee: Josh Wills
>            Priority: Major
>         Attachments: 
> 0001-CRUNCH-668-Support-globbing-patterns-in-From-avroFil.patch
>
>
> GenericData based overloads of {{From.avroFile}} throws a RuntimeException 
> when a globbing pattern is provided. I see no reason to not support globbing 
> patterns here as it works fine with {{textFile}} and SpecificData based 
> overloads.
> The issue is that the code extracting Avro schema from the first file use 
> {{listStatus}} rather than {{globStatus}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to