[
https://issues.apache.org/jira/browse/PIG-5207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15956840#comment-15956840
]
Adam Szita commented on PIG-5207:
---------------------------------
[~kellyzly] we need an array of operators because otherwise we would get
ConcurrectModificationException for removing items inside the loop if we
iterate on a Collection.
Also I uploaded a new patch and added this check: {{if
(pplan.getPredecessors(originalUdfInput) != null)}} since trimAbove might fail
if operator has no predecessors (I've seen this while running unit tests)
> BugFix e2e tests fail on spark
> ------------------------------
>
> Key: PIG-5207
> URL: https://issues.apache.org/jira/browse/PIG-5207
> Project: Pig
> Issue Type: Sub-task
> Components: spark
> Reporter: Adam Szita
> Assignee: Adam Szita
> Fix For: spark-branch
>
> Attachments: PIG-5207.0.patch, PIG-5207.1.patch
>
>
> Observed ClassCastException in BugFix 1 and 2 test cases. The exception is
> thrown from and UDF: COR.Final
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)