[
https://issues.apache.org/jira/browse/PIG-1217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832334#action_12832334
]
Alan Gates commented on PIG-1217:
---------------------------------
When I ran the piggybank tests with this patch I got:
{code}
Testsuite: org.apache.pig.piggybank.test.evaluation.util.TestTop
Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.044 sec
Testcase: testTopExec took 0.017 sec
Testcase: testTopAlgebraic took 0.006 sec
FAILED
Value 0 exceeded the expected limit
junit.framework.AssertionFailedError: Value 0 exceeded the expected limit
at
org.apache.pig.piggybank.test.evaluation.util.TestTop.checkItemsGT(Unknown
Source)
at
org.apache.pig.piggybank.test.evaluation.util.TestTop.testTopAlgebraic(Unknown
Source)
{code}
> [piggybank] evaluation.util.Top is broken
> -----------------------------------------
>
> Key: PIG-1217
> URL: https://issues.apache.org/jira/browse/PIG-1217
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.3.0, 0.3.1, 0.4.0, site, 0.5.0, 0.6.0, 0.7.0
> Reporter: Dmitriy V. Ryaboy
> Assignee: Dmitriy V. Ryaboy
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: fix_top_udf.diff, fix_top_udf.diff, fix_top_udf.diff
>
>
> The Top udf has been broken for a while, due to an incorrect implementation
> of getArgToFuncMapping.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.