[ https://issues.apache.org/jira/browse/PIG-5447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Koji Noguchi updated PIG-5447: ------------------------------ Attachment: pig-5447-v01.patch There is no simple way to implement hasNext() for this implementation. I think iterator is not the right fit for this but I prefer not to touch the logic. Here, writing a hacked iterator which basically calls next() within hasNext and caches the result. pig-5447-v01.patch > Pig-on-Spark TestSkewedJoin.testSkewedJoinOuter failing with > NoSuchElementException > ----------------------------------------------------------------------------------- > > Key: PIG-5447 > URL: https://issues.apache.org/jira/browse/PIG-5447 > Project: Pig > Issue Type: Bug > Reporter: Koji Noguchi > Assignee: Koji Noguchi > Priority: Major > Attachments: pig-5447-v01.patch > > > TestSkewedJoin.testSkewedJoinOuter is consistently failing for right-outer > and full-outer joins. > "Caused by: java.util.NoSuchElementException: next on empty iterator" -- This message was sent by Atlassian Jira (v8.20.10#820010)