You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Koji Noguchi (JIRA)" <ji...@apache.org> on 2017/04/01 04:26:42 UTC
[jira] [Created] (PIG-5209) Cross product on flatten(map) fails
with ClassCastException
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)