PIG-5119: SkewedJoin_15 is unstable

git-svn-id: https://svn.apache.org/repos/asf/pig/branches/branch-0.16@1781170 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CHANGES.txt b/CHANGES.txt
index f81eb07..3af5a40 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -32,6 +32,8 @@
 
 BUG FIXES
 
+PIG-5119: SkewedJoin_15 is unstable (daijy)
+
 PIG-5118: Script fails with Invalid dag containing 0 vertices (rohini)
 
 PIG-5111: e2e Utf8Test fails in local mode (rohini)
diff --git a/test/e2e/pig/tests/nightly.conf b/test/e2e/pig/tests/nightly.conf
index 006ad25..93e9019 100644
--- a/test/e2e/pig/tests/nightly.conf
+++ b/test/e2e/pig/tests/nightly.conf
@@ -3215,13 +3215,15 @@
 c = group a by (name, age);
 d = group b by (name, age);
 e = join c by $0, d by $0 using 'skewed' parallel 5;
-store e into ':OUTPATH:';\,
+f = foreach e generate c::group, flatten(c::a), d::group, flatten(d::b);
+store f into ':OUTPATH:';\,
                             'verify_pig_script' => q\a = load ':INPATH:/singlefile/studenttab10k' using PigStorage() as (name, age, gpa);
 b = load ':INPATH:/singlefile/votertab10k' as (name, age, registration, contributions);
 c = group a by (name, age);
 d = group b by (name, age);
 e = join c by $0, d by $0;
-store e into ':OUTPATH:';\
+f = foreach e generate c::group, flatten(c::a), d::group, flatten(d::b);
+store f into ':OUTPATH:';\
                         }
                 ]