[
https://issues.apache.org/jira/browse/PIG-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Miyakawa Taku updated PIG-2901:
-------------------------------
Attachment: PIG-2901.patch
Thank you for the comments.
I've updated the patch (firend1 -> friend1, and removes #3 tentatively) .
Re #3, I thought the sentence was wrong because a star expression does not
produce a tuple, but projects all fields of the input relation. Therefore, I
thought, a star expression cannot be a tuple expression.
However, I got more unsure of the whole section "Tuple Expressions". The
section seems to talk about an expression of the form "(x, y, z, ...)" which
produces a tuple value, but as far as I know, such a syntax is allowed only to
produce a tuple constant, which is already described on the section "Constants".
Maybe I misunderstand or overlook something. What do you think about it?
> Errors and lacks in document "Pig Latin Basics"
> -----------------------------------------------
>
> Key: PIG-2901
> URL: https://issues.apache.org/jira/browse/PIG-2901
> Project: Pig
> Issue Type: Bug
> Components: documentation
> Affects Versions: 0.10.0
> Reporter: Miyakawa Taku
> Assignee: Miyakawa Taku
> Labels: documentation
> Attachments: PIG-2901.patch
>
>
> This is a patch to fix errors and lacks in document "Pig Latin Basics".
> # States that COGROUP groups records with a null key _from different
> relations_ separately.
> # "A map key must be a -scalar- +chararray+ "
> # Removes a statement which says that a star expression is a tuple expression
> (it seems incorrect)
> # Fixes a subject confusion of a sentence "When two bytearrays are used in
> arithmetic expressions..."
> # Updates a link to Java API documentation.
> # Fixes a tuple example: "LOAD 'data' as..." -> "A = LOAD 'data' as..."
> # "the asterisk (\*) is used to project all -tuples- +fields+ "
> # A result of COGROUP with two relations contains _three_ fields, not _two_
> # Removes an example of COGROUP INNER, which is deprecated
> # Removes a sentence which says "JOIN operator always performs an inner
> join". Actually, JOIN also perform an outer join.
> # JOIN "Performs an outer join of two -ore more- relations"
> # Replaces an example of "-Dpig.additional.jars" with a jar file on HDFS. The
> current version incorrectly shows an example of a Pig script on HDFS.
> # Fixes typos, lack of hyperlinks, inappropriate indentation, and incorrect
> chaptering.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira