Flatten semantics are unknown
-----------------------------

                 Key: PIG-822
                 URL: https://issues.apache.org/jira/browse/PIG-822
             Project: Pig
          Issue Type: Bug
          Components: documentation
            Reporter: George Mavromatis
            Priority: Critical


There is no formal specification of the flatten keyword in 
http://hadoop.apache.org/pig/docs/r0.2.0/piglatin.html 
There are only some examples.

I have found flatten to be very fragile and unpredictable with the data types 
it reads and creates. I have wasted too many hours (and Viraj too) trying to 
figure out its peculiarities, the latest of which is here: 
http://bug.corp.yahoo.com/show_bug.cgi?id=2768016 comment #15

Please document:
Flatten to be explained formally in its own dedicated section: What are the 
valid input types, the output types it creates, what transformation it does 
from input to output and how the resulting data are named.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to