PIG-5073: Skip e2e Limit_5 test for Tez (knoguchi)
git-svn-id: https://svn.apache.org/repos/asf/pig/trunk@1773899 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CHANGES.txt b/CHANGES.txt
index cab36f9..b2be651 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -65,6 +65,8 @@
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)
diff --git a/test/e2e/pig/tests/nightly.conf b/test/e2e/pig/tests/nightly.conf
index 323583f..c8017d8 100644
--- a/test/e2e/pig/tests/nightly.conf
+++ b/test/e2e/pig/tests/nightly.conf
@@ -2206,6 +2206,7 @@
},
{
'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 @@
'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:';\,
+ }
]
},
{