Author: knoguchi
Date: Mon Dec 12 23:07:37 2016
New Revision: 1773899

URL: http://svn.apache.org/viewvc?rev=1773899&view=rev
Log:
PIG-5073: Skip e2e Limit_5 test for Tez (knoguchi)

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=1773899&r1=1773898&r2=1773899&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Mon Dec 12 23:07:37 2016
@@ -65,6 +65,8 @@ OPTIMIZATIONS
  
 BUG FIXES
 
+PIG-5073: Skip e2e Limit_5 test for Tez (knoguchi)
+
 PIG-5072: e2e Union_12 fails on typecast when oldpig=0.11 (knoguchi)
 
 PIG-3891: FileBasedOutputSizeReader does not calculate size of files in 
sub-directories (nkollar via rohini)

Modified: pig/trunk/test/e2e/pig/tests/nightly.conf
URL: 
http://svn.apache.org/viewvc/pig/trunk/test/e2e/pig/tests/nightly.conf?rev=1773899&r1=1773898&r2=1773899&view=diff
==============================================================================
--- pig/trunk/test/e2e/pig/tests/nightly.conf (original)
+++ pig/trunk/test/e2e/pig/tests/nightly.conf Mon Dec 12 23:07:37 2016
@@ -2206,6 +2206,7 @@ store c into ':OUTPATH:';\,
                        },
                        {
                                'num' => 5,
+                               'execonly' => 'mapred,local', #tez may pick 
either input as part of the optimization so cannot be tested easily
                                'pig' =>q\a = load 
':INPATH:/singlefile/studenttab10k';
 b = load ':INPATH:/singlefile/votertab10k';
 a1 = foreach a generate $0, $1;
@@ -2285,7 +2286,21 @@ store d into ':OUTPATH:';\,
                                'verify_pig_script' => q\a = load 
':INPATH:/singlefile/studenttab10k' as (name:chararray, age:int, gpa:double);
 b = limit a 2000;
 store b into ':OUTPATH:';\,
-                        }
+                        },
+                       {
+                               'num' => 12,
+                               'execonly' => 'tez', #Limit_5 was not able to 
test on tez. 
+                               'pig' =>q\a = load 
':INPATH:/singlefile/studenttab10k';
+b = load ':INPATH:/singlefile/studenttab10k';
+a1 = foreach a generate $0, $1;
+b1 = foreach b generate $0, $1;
+c = union a1, b1;
+d = limit c 100;
+store d into ':OUTPATH:';\,
+                               'verify_pig_script' => q\a = load 
':INPATH:/singlefile/studenttab10k' as (name:chararray, age:int);
+b = limit a 100;
+store b into ':OUTPATH:';\,
+                       }
                ]
                },
                {


Reply via email to