Restor support for parenthesis in Pig 0.9
-----------------------------------------
Key: PIG-2261
URL: https://issues.apache.org/jira/browse/PIG-2261
Project: Pig
Issue Type: Bug
Components: impl
Affects Versions: 0.9.0
Reporter: Richard Ding
Fix For: 0.9.1
Pig 0.8 and earlier versions used to support syntax such as
{code}
A =(load ....)
{code}
This was removed as "useless" in 0.9 when the grammar was redone. It turns out
that some user is using this for ease of code generation so we want to restore
it back.
Just to clarify, Pig 0.9 continues to support composite statements such as
{code}
B = filter (load 'data' as (a, b)) by a > 0;
{code}
It just removed "useless" parenthesis and doesn't support statements like
{code}
A = (load 'data' as (a, b));
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira