You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@crunch.apache.org by gr...@apache.org on 2014/04/23 21:52:27 UTC
svn commit: r1589503 - /crunch/site/trunk/content/user-guide.mdtext
Author: greid
Date: Wed Apr 23 19:52:27 2014
New Revision: 1589503
URL: http://svn.apache.org/r1589503
Log:
CMS commit to crunch by greid
Modified:
crunch/site/trunk/content/user-guide.mdtext
Modified: crunch/site/trunk/content/user-guide.mdtext
URL: http://svn.apache.org/viewvc/crunch/site/trunk/content/user-guide.mdtext?rev=1589503&r1=1589502&r2=1589503&view=diff
==============================================================================
--- crunch/site/trunk/content/user-guide.mdtext (original)
+++ crunch/site/trunk/content/user-guide.mdtext Wed Apr 23 19:52:27 2014
@@ -1126,7 +1126,7 @@ the [ColumnOrder](apidocs/0.9.0/org/apac
<pre>
PTable<String, Long> table = ...;
- // Sorted by value, instead of key-- remember, a PTable is a PCollection of Pairs.
+ // Sorted by value, instead of key -- remember, a PTable is a PCollection of Pairs.
PCollection<Pair<String, Long>> valueSort = Sort.sortPairs(table, ColumnOrder.by(1, Sort.Order.DESCENDING));
</pre>