You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by ro...@apache.org on 2014/12/01 20:41:30 UTC

svn commit: r1642743 - in /pig/trunk: CHANGES.txt test/e2e/pig/tests/nightly.conf

Author: rohini
Date: Mon Dec  1 19:41:30 2014
New Revision: 1642743

URL: http://svn.apache.org/r1642743
Log:
PIG-4345: e2e test RubyUDFs_13 fails because of the different result of group all in different engines like spark, mapreduce (kellyzly via rohini)

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/test/e2e/pig/tests/nightly.conf

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1642743&r1=1642742&r2=1642743&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Mon Dec  1 19:41:30 2014
@@ -28,6 +28,8 @@ PIG-4333: Split BigData tests into multi
  
 BUG FIXES
 
+PIG-4345: e2e test "RubyUDFs_13" fails because of the different result of "group a all" in different engines like "spark", "mapreduce" (kellyzly via rohini)
+
 PIG-4332: Remove redundant jars packaged into pig-withouthadoop.jar for hadoop 2 (rohini)
 
 PIG-4331: update README, '-x' option in usage to include tez (thejas via daijy)

Modified: pig/trunk/test/e2e/pig/tests/nightly.conf
URL: http://svn.apache.org/viewvc/pig/trunk/test/e2e/pig/tests/nightly.conf?rev=1642743&r1=1642742&r2=1642743&view=diff
==============================================================================
--- pig/trunk/test/e2e/pig/tests/nightly.conf (original)
+++ pig/trunk/test/e2e/pig/tests/nightly.conf Mon Dec  1 19:41:30 2014
@@ -3854,12 +3854,18 @@ store b into ':OUTPATH:';\,
                     'pig' => q\
 register ':SCRIPTHOMEPATH:/ruby/morerubyudfs.rb' using jruby as myfuncs;
 a = load ':INPATH:/singlefile/studenttab10k' using PigStorage() as (name, age:int, gpa:double);
-b = foreach (group a all) generate FLATTEN(myfuncs.AppendIndex(a));
+b = foreach (group a all){
+   a1= order a by name,age,gpa;
+   generate FLATTEN(myfuncs.AppendIndex(a1));
+}
 store b into ':OUTPATH:';\,
                     'verify_pig_script' => q\
 register :FUNCPATH:/testudf.jar;
 a = load ':INPATH:/singlefile/studenttab10k' using PigStorage() as (name, age:int, gpa:double);
-b = foreach (group a all) generate FLATTEN(org.apache.pig.test.udf.evalfunc.AppendIndex(a));
+b = foreach (group a all){
+    a1=order a by name,age,gpa;
+    generate FLATTEN(org.apache.pig.test.udf.evalfunc.AppendIndex(a1));
+}
 store b into ':OUTPATH:';\,
                     },
                 ]