You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Bill Graham (JIRA)" <ji...@apache.org> on 2012/09/05 07:32:08 UTC

[jira] [Commented] (PIG-2901) Errors and lacks in document "Pig Latin Basics"

    [ https://issues.apache.org/jira/browse/PIG-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448497#comment-13448497 ] 

Bill Graham commented on PIG-2901:
----------------------------------

Thanks Miyakawa! These are great fixes.

Two comments:

Re #3 above, I don't think it's incorrect. It says "The simplest tuple expression is the star expression, which represents all fields" which is different than saying a star expression is a tuple expression. Any other opinions out there re this?

Looks like there's actually a second typo on one of the lines you corrected (see firend1). Would you mind updating that one too please?
{noformat}
-X: {group: chararray,A: {owner: chararray,pet: chararray},b: {firend1: chararray,friend2: chararray}}
+X: {group: chararray,A: {owner: chararray,pet: chararray},B: {firend1: chararray,friend2: chararray}}
{noformat}
  
                
> 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
>              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