Return-Path: Delivered-To: apmail-hadoop-pig-commits-archive@www.apache.org Received: (qmail 69751 invoked from network); 4 Feb 2010 02:03:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2010 02:03:40 -0000 Received: (qmail 59825 invoked by uid 500); 4 Feb 2010 02:03:40 -0000 Delivered-To: apmail-hadoop-pig-commits-archive@hadoop.apache.org Received: (qmail 59777 invoked by uid 500); 4 Feb 2010 02:03:40 -0000 Mailing-List: contact pig-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pig-dev@hadoop.apache.org Delivered-To: mailing list pig-commits@hadoop.apache.org Received: (qmail 59768 invoked by uid 500); 4 Feb 2010 02:03:40 -0000 Delivered-To: apmail-incubator-pig-commits@incubator.apache.org Received: (qmail 59765 invoked by uid 99); 4 Feb 2010 02:03:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 02:03:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 02:03:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1F42A23888D1; Thu, 4 Feb 2010 02:03:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r906322 - in /hadoop/pig/trunk: CHANGES.txt src/docs/src/documentation/content/xdocs/piglatin_ref2.xml src/docs/src/documentation/content/xdocs/zebra_pig.xml Date: Thu, 04 Feb 2010 02:03:09 -0000 To: pig-commits@incubator.apache.org From: olga@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100204020309.1F42A23888D1@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: olga Date: Thu Feb 4 02:03:08 2010 New Revision: 906322 URL: http://svn.apache.org/viewvc?rev=906322&view=rev Log: PIG-1214: Pig 0.6 Docs fixes (chandec via olgan) Modified: hadoop/pig/trunk/CHANGES.txt hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/piglatin_ref2.xml hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/zebra_pig.xml Modified: hadoop/pig/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/hadoop/pig/trunk/CHANGES.txt?rev=906322&r1=906321&r2=906322&view=diff ============================================================================== --- hadoop/pig/trunk/CHANGES.txt (original) +++ hadoop/pig/trunk/CHANGES.txt Thu Feb 4 02:03:08 2010 @@ -24,6 +24,8 @@ IMPROVEMENTS +PIG-1214: Pig 0.6 Docs fixes (chandec via olgan) + PIG-977: exit status does not account for JOB_STATUS.TERMINATED (ashutoshc) PIG-1192: Pig 0.6 Docs fixes (chandec via olgan) Modified: hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/piglatin_ref2.xml URL: http://svn.apache.org/viewvc/hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/piglatin_ref2.xml?rev=906322&r1=906321&r2=906322&view=diff ============================================================================== --- hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/piglatin_ref2.xml (original) +++ hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/piglatin_ref2.xml Thu Feb 4 02:03:08 2010 @@ -8710,7 +8710,7 @@ - PigStorage(field_delimiter)        + PigStorage(field_delimiter)  @@ -8732,16 +8732,15 @@
Usage - PigStorage works with structured text files in human-readable UTF-8 format. PigStorage also works with simple and complex data types and is the default function for the LOAD and STORE operators. - - - For load statements, PigStorage expects data to be formatted as delimiter-separated fields and newline-separated records ('\n'). - - - For store statements, PigStorage outputs data as delimiter-separated fields and newline-separated records ('\n'). - - - For both load and store statements the default field delimiter is the tab character ('\t'). You can use other characters as field delimiters, but separators such as ^A or Ctrl-A should be represented in Unicode (\u0001) using UTF-16 encoding (see Wikipedia ASCII, Unicode, and UTF-16). + PigStorage is the default function for the LOAD and STORE operators. PigStorage works with structured text files (in human-readable UTF-8 format) and bzip compressed text files. PigStorage also works with simple and complex data types. + + Load statements – PigStorage expects data to be formatted using field delimiters, either the tab character ('\t') or other specified character. + + Store statements – PigStorage outputs data using field deliminters, either the tab character ('\t') or other specified character, and the line feed record delimiter ('\n'). + + Field Deliminters – For load and store statements the default field delimiter is the tab character ('\t'). You can use other characters as field delimiters, but separators such as ^A or Ctrl-A should be represented in Unicode (\u0001) using UTF-16 encoding (see Wikipedia ASCII, Unicode, and UTF-16). + + Record Deliminters – For load statements Pig interprets the line feed ( '\n' ), carriage return ( '\r' or CTRL-M) and combined CR + LF ( '\r\n' ) characters as record delimiters (do not use these characters as field delimiters). For store statements Pig uses the line feed ('\n') character as the record delimiter. For load and store statements, if the input file is a bzip file (ending in .bz or .bz2), Pig uses the line feed ('\n') character as the record delimiter.
Modified: hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/zebra_pig.xml URL: http://svn.apache.org/viewvc/hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/zebra_pig.xml?rev=906322&r1=906321&r2=906322&view=diff ============================================================================== --- hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/zebra_pig.xml (original) +++ hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/zebra_pig.xml Thu Feb 4 02:03:08 2010 @@ -102,8 +102,14 @@
- - + +
+ Sorting Data +

+ Pig allows you to sort data by ascending (ASC) or descending (DESC) order (for more information, see ORDER). Currently, Zebra supports tables that are sorted in ascending order. Zebra does not support tables that are sorted in descending order; if Zebra encounters a table to be stored that is sorted in descending order, Zebra will issue a warning and store the table as an unsorted table.

+
+ +
Storing Data