Author: cheolsoo
Date: Fri Jan 30 05:03:18 2015
New Revision: 1655936
URL: http://svn.apache.org/r1655936
Log:
PIG-4402: JavaScript UDF example in the doc is broken (cheolsoo)
Modified:
pig/trunk/CHANGES.txt
pig/trunk/src/docs/src/documentation/content/xdocs/udf.xml
Modified: pig/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1655936&r1=1655935&r2=1655936&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Fri Jan 30 05:03:18 2015
@@ -44,6 +44,8 @@ PIG-4333: Split BigData tests into multi
BUG FIXES
+PIG-4402: JavaScript UDF example in the doc is broken (cheolsoo)
+
PIG-4394: Fix Split_9 and Union_5 e2e failures (rohini)
PIG-4391: Fix TestPigStats test failure (rohini)
Modified: pig/trunk/src/docs/src/documentation/content/xdocs/udf.xml
URL:
http://svn.apache.org/viewvc/pig/trunk/src/docs/src/documentation/content/xdocs/udf.xml?rev=1655936&r1=1655935&r2=1655936&view=diff
==============================================================================
--- pig/trunk/src/docs/src/documentation/content/xdocs/udf.xml (original)
+++ pig/trunk/src/docs/src/documentation/content/xdocs/udf.xml Fri Jan 30
05:03:18 2015
@@ -1752,7 +1752,7 @@ function helloworld() {
return 'Hello, World';
}
-complex.outputSchema = "word:chararray,num:long";
+complex.outputSchema = "(word:chararray,num:long)";
function complex(word){
return {word:word, num:word.length};
}