Author: gates
Date: Tue Aug 24 17:14:12 2010
New Revision: 988628

URL: http://svn.apache.org/viewvc?rev=988628&view=rev
Log:
PIG-1559 Updates to Pig philosophy.

Modified:
    hadoop/pig/site/author/src/documentation/content/xdocs/philosophy.xml
    hadoop/pig/site/publish/philosophy.html
    hadoop/pig/site/publish/philosophy.pdf

Modified: hadoop/pig/site/author/src/documentation/content/xdocs/philosophy.xml
URL: 
http://svn.apache.org/viewvc/hadoop/pig/site/author/src/documentation/content/xdocs/philosophy.xml?rev=988628&r1=988627&r2=988628&view=diff
==============================================================================
--- hadoop/pig/site/author/src/documentation/content/xdocs/philosophy.xml 
(original)
+++ hadoop/pig/site/author/src/documentation/content/xdocs/philosophy.xml Tue 
Aug 24 17:14:12 2010
@@ -21,10 +21,8 @@
     <section>
       <title>Pigs Eat Anything</title>
       <p>
-        Pig can operate on data whether it has metadata or not.
-      </p>
-         <p>
-         It can operate on data that is relational, nested, or unstructured.
+        Pig can operate on data whether it has metadata or not.  It can 
operate on data that is relational, nested, or unstructured.  And it can easily 
be
+        extended to operate on data beyond files, including key/value stores, 
databases, etc.
          </p>
     </section>
     
@@ -32,7 +30,7 @@
       <title>Pigs Live Anywhere</title>
       <p>
          Pig is intended to be a language for parallel data processing.  It is 
not tied to one particular parallel framework.  It has been implemented first
-         on hadoop, but we do not intend that to be only on hadoop.
+         on Hadoop, but we do not intend that to be only on Hadoop.
       </p>
     </section>
     
@@ -44,12 +42,14 @@
 
       <p>
          Pig allows integration of user code where ever possible, so it 
currently supports user defined field transformation functions, user defined
-         aggregates, user defined grouping functions, and user defined 
conditionals.  In the future we want to support all the above in non-java 
languages,
-         as well as streaming, user defined types, and user defined splits.
+         aggregates, and user defined conditionals.  These functions can be 
written in Java or scripting languages that can compile down to Java (e.g. 
Jython).
+      Pig supports user provided load and store functions.  It supports 
external executables via its stream command and Map Reduce jars via its 
mapreduce
+      command.  It allows users to provide a custom partitioner for their jobs 
in some circumstances and to set the level of reduce parallelism for their jobs.
+      command.  It allows users to set the level of reduce parallelism for 
their jobs and in some circumstances to provide a custom partitioner.
       </p>
          <p>
-         Currently pig has no optimizer, so it does not do any operation 
rearranging.  When we add that in the future, it will always be possible for 
users to
-         turn code rearranging off, so that pig does exactly what they say in 
the order they say it.
+      Pig has an optimizer that rearranges some operations in Pig Latin 
scripts to give better performance, combines Map Reduce jobs together, etc.  
However, users
+      can easily turn this optimizer off to prevent it from making changes 
that do not make sense in their situation.
          </p>
     </section>
 

Modified: hadoop/pig/site/publish/philosophy.html
URL: 
http://svn.apache.org/viewvc/hadoop/pig/site/publish/philosophy.html?rev=988628&r1=988627&r2=988628&view=diff
==============================================================================
--- hadoop/pig/site/publish/philosophy.html (original)
+++ hadoop/pig/site/publish/philosophy.html Tue Aug 24 17:14:12 2010
@@ -199,25 +199,23 @@ document.write("Last Published: " + docu
 <h2 class="h3">Pigs Eat Anything</h2>
 <div class="section">
 <p>
-        Pig can operate on data whether it has metadata or not.
-      </p>
-<p>
-         It can operate on data that is relational, nested, or unstructured.
+        Pig can operate on data whether it has metadata or not.  It can 
operate on data that is relational, nested, or unstructured.  And it can easily 
be
+        extended to operate on data beyond files, including key/value stores, 
databases, etc.
          </p>
 </div>
     
     
-<a name="N10023"></a><a name="Pigs+Live+Anywhere"></a>
+<a name="N10020"></a><a name="Pigs+Live+Anywhere"></a>
 <h2 class="h3">Pigs Live Anywhere</h2>
 <div class="section">
 <p>
          Pig is intended to be a language for parallel data processing.  It is 
not tied to one particular parallel framework.  It has been implemented first
-         on hadoop, but we do not intend that to be only on hadoop.
+         on Hadoop, but we do not intend that to be only on Hadoop.
       </p>
 </div>
     
     
-<a name="N1002D"></a><a name="Pigs+Are+Domestic+Animals"></a>
+<a name="N1002A"></a><a name="Pigs+Are+Domestic+Animals"></a>
 <h2 class="h3">Pigs Are Domestic Animals</h2>
 <div class="section">
 <p>
@@ -225,17 +223,19 @@ document.write("Last Published: " + docu
          </p>
 <p>
          Pig allows integration of user code where ever possible, so it 
currently supports user defined field transformation functions, user defined
-         aggregates, user defined grouping functions, and user defined 
conditionals.  In the future we want to support all the above in non-java 
languages,
-         as well as streaming, user defined types, and user defined splits.
+         aggregates, and user defined conditionals.  These functions can be 
written in Java or scripting languages that can compile down to Java (e.g. 
Jython).
+      Pig supports user provided load and store functions.  It supports 
external executables via its stream command and Map Reduce jars via its 
mapreduce
+      command.  It allows users to provide a custom partitioner for their jobs 
in some circumstances and to set the level of reduce parallelism for their jobs.
+      command.  It allows users to set the level of reduce parallelism for 
their jobs and in some circumstances to provide a custom partitioner.
       </p>
 <p>
-         Currently pig has no optimizer, so it does not do any operation 
rearranging.  When we add that in the future, it will always be possible for 
users to
-         turn code rearranging off, so that pig does exactly what they say in 
the order they say it.
+      Pig has an optimizer that rearranges some operations in Pig Latin 
scripts to give better performance, combines Map Reduce jobs together, etc.  
However, users
+      can easily turn this optimizer off to prevent it from making changes 
that do not make sense in their situation.
          </p>
 </div>
 
      
-<a name="N1003D"></a><a name="Pigs+Fly"></a>
+<a name="N1003A"></a><a name="Pigs+Fly"></a>
 <h2 class="h3">Pigs Fly</h2>
 <div class="section">
 <p>

Modified: hadoop/pig/site/publish/philosophy.pdf
URL: 
http://svn.apache.org/viewvc/hadoop/pig/site/publish/philosophy.pdf?rev=988628&r1=988627&r2=988628&view=diff
==============================================================================
--- hadoop/pig/site/publish/philosophy.pdf (original)
+++ hadoop/pig/site/publish/philosophy.pdf Tue Aug 24 17:14:12 2010
@@ -80,10 +80,10 @@ endobj
 >>
 endobj
 18 0 obj
-<< /Length 1636 /Filter [ /ASCII85Decode /FlateDecode ]
+<< /Length 1995 /Filter [ /ASCII85Decode /FlateDecode ]
  >>
 stream
-GatU49on$e&a...@sbkgfmh<@-qR4r'PF>GUI+71J>)p-;98`'bdaP$6E3oc6Vi4nOWD%Z7renku!'oA5t1hsE?e5%\+<qgl402h>%I68*l(d+\`n/<(l=N)f...@nu7ro:WH8]Kq351S.f<eY)\ZJt);Q;MX))0...@$f43o!.6*:N*pr]_uc<p\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.0uU!9ZqKinq.",ljsm>4O0+hAtc(OL$^qK/8O&Oe\FY%B6,I:?h>5>GJE"Yu3FCQaFsg:joi4)@NMhh;r^"7m4e:^FlD_jqHfJa<+n&gWiJG4EQWL(pAH=uHPX7X)C+J?b-j34dIGmJ9]#MJQgW2a9'LUOm@@m%CZ&j,','M<g9f1>,kBXFboUO2D7ZWI*Hti[/]]$.&@#:]2E*ZN:P^#i]\+_'_J<VNno&a4'<oIm#>h2_;f2hdpCp9VFE6\r5i.h6,MTEa&*JCUAil5oo
 i,\e2Q(!K[61*W~>
 endstream
 endobj
 19 0 obj
@@ -199,19 +199,19 @@ endobj
 13 0 obj
 <<
 /S /GoTo
-/D [19 0 R /XYZ 85.0 519.932 null]
+/D [19 0 R /XYZ 85.0 514.732 null]
 >>
 endobj
 15 0 obj
 <<
 /S /GoTo
-/D [19 0 R /XYZ 85.0 441.198 null]
+/D [19 0 R /XYZ 85.0 435.998 null]
 >>
 endobj
 17 0 obj
 <<
 /S /GoTo
-/D [19 0 R /XYZ 85.0 280.464 null]
+/D [19 0 R /XYZ 85.0 222.464 null]
 >>
 endobj
 20 0 obj
@@ -222,36 +222,36 @@ endobj
 xref
 0 31
 0000000000 65535 f 
-0000005050 00000 n 
-0000005115 00000 n 
-0000005207 00000 n 
+0000005409 00000 n 
+0000005474 00000 n 
+0000005566 00000 n 
 0000000015 00000 n 
 0000000071 00000 n 
 0000000728 00000 n 
 0000000848 00000 n 
 0000000901 00000 n 
-0000005330 00000 n 
+0000005689 00000 n 
 0000001036 00000 n 
-0000005393 00000 n 
+0000005752 00000 n 
 0000001173 00000 n 
-0000005459 00000 n 
+0000005818 00000 n 
 0000001310 00000 n 
-0000005525 00000 n 
+0000005884 00000 n 
 0000001447 00000 n 
-0000005591 00000 n 
+0000005950 00000 n 
 0000001584 00000 n 
-0000003313 00000 n 
-0000005657 00000 n 
-0000003421 00000 n 
-0000003684 00000 n 
-0000003890 00000 n 
-0000004102 00000 n 
-0000004355 00000 n 
-0000004494 00000 n 
-0000004602 00000 n 
-0000004712 00000 n 
-0000004825 00000 n 
-0000004941 00000 n 
+0000003672 00000 n 
+0000006016 00000 n 
+0000003780 00000 n 
+0000004043 00000 n 
+0000004249 00000 n 
+0000004461 00000 n 
+0000004714 00000 n 
+0000004853 00000 n 
+0000004961 00000 n 
+0000005071 00000 n 
+0000005184 00000 n 
+0000005300 00000 n 
 trailer
 <<
 /Size 31
@@ -259,5 +259,5 @@ trailer
 /Info 4 0 R
 >>
 startxref
-5708
+6067
 %%EOF


Reply via email to