[
https://issues.apache.org/jira/browse/PIG-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891281#action_12891281
]
Olga Natkovich commented on PIG-1513:
-------------------------------------
Are we sure that the problem only occurs with skewed join? I would like to make
this JIRA more generic and to make sure that pig returns empty results given
empty input and short circuits the processing as early as possible
> Skewed join doesn't handle empty input directory
> ------------------------------------------------
>
> Key: PIG-1513
> URL: https://issues.apache.org/jira/browse/PIG-1513
> Project: Pig
> Issue Type: Bug
> Reporter: Richard Ding
> Assignee: Richard Ding
> Fix For: 0.8.0
>
>
> The following script
> {code}
> A = load 'input';
> B = load 'emptydir';
> C = join B by $0, A by $0 using 'skewed';
> dump C
> {code}
> fails with "ERROR: java.lang.RuntimeException: Empty samples file';
> In this case, the sample job has 0 maps. Pig doesn't expect this and fails .
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.