Looks like Pig load doesn't support glob patterns.

I guess you would need to write a custom loader to achieve this.

On Fri, Oct 3, 2014 at 3:25 AM, hanif mahboobi <
[email protected]> wrote:

> Hi There,
>
> Here is my problem.
> I have a folder with thousands of files in it. I just want to load certain
> subset of them which have a specific string in their names (in this example
> "site").
>
> Knowing that something like this does not work:
> table = LOAD 'folder/*site*' USING ...
>
> Can anybody help with that?
>
> Thanks,
> Hanif

Reply via email to