Koji Noguchi created PIG-5209:
---------------------------------
Summary: Cross product on flatten(map) fails with
ClassCastException
Key: PIG-5209
URL: https://issues.apache.org/jira/browse/PIG-5209
Project: Pig
Issue Type: Bug
Components: impl
Reporter: Koji Noguchi
Assignee: Koji Noguchi
Priority: Minor
This issue started after we added a new flatten on map feature at PIG-5085.
For script like
{code}
B = foreach A GENERATE FLATTEN(map1), FLATTEN(map2);
{code}
it fails with
{noformat}
Caused by: java.lang.ClassCastException: java.util.HashMap cannot be cast to
org.apache.pig.data.DataBag
at
org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POForEach.processPlan(POForEach.java:514)
at
org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POForEach.getNextTuple(POForEach.java:233)
... 12 more
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)