TypeCastInsert should not insert Foreach if there is no as statement
--------------------------------------------------------------------
Key: PIG-2346
URL: https://issues.apache.org/jira/browse/PIG-2346
Project: Pig
Issue Type: Bug
Affects Versions: 0.9.1, 0.10, 0.11
Reporter: Daniel Dai
Assignee: Daniel Dai
Fix For: 0.10, 0.9.2, 0.11
Currently, TypeCastInsert always insert foreach statement below the loader. But
if the load statement doesn't have "as" clause, the foreach should not be added.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira