pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From knogu...@apache.org
Subject svn commit: r1773241 - in /pig/trunk: CHANGES.txt test/e2e/pig/tests/nightly.conf
Date Thu, 08 Dec 2016 14:12:32 GMT
Author: knoguchi
Date: Thu Dec  8 14:12:32 2016
New Revision: 1773241

URL: http://svn.apache.org/viewvc?rev=1773241&view=rev
Log:
PIG-5072: e2e Union_12 fails on typecast when oldpig=0.11 (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=1773241&r1=1773240&r2=1773241&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Thu Dec  8 14:12:32 2016
@@ -65,6 +65,8 @@ OPTIMIZATIONS
  
 BUG FIXES
 
+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)
 
 PIG-5070: Allow Grunt e2e tests to run in parallel (knoguchi)

Modified: pig/trunk/test/e2e/pig/tests/nightly.conf
URL: http://svn.apache.org/viewvc/pig/trunk/test/e2e/pig/tests/nightly.conf?rev=1773241&r1=1773240&r2=1773241&view=diff
==============================================================================
--- pig/trunk/test/e2e/pig/tests/nightly.conf (original)
+++ pig/trunk/test/e2e/pig/tests/nightly.conf Thu Dec  8 14:12:32 2016
@@ -1518,8 +1518,8 @@ store i into ':OUTPATH:';\,
             {
             # Union + operators
             'num' => 12,
-            'pig' => q\a = load ':INPATH:/singlefile/studentnulltab10k' as (name, age:int,
gpa:double);
-b = load ':INPATH:/singlefile/studentcolon10k' using PigStorage(':') as (name, age:int, gpa:double);
+            'pig' => q\a = load ':INPATH:/singlefile/studentnulltab10k' as (name:chararray,
age:int, gpa:double);
+b = load ':INPATH:/singlefile/studentcolon10k' using PigStorage(':') as (name:chararray,
age:int, gpa:double);
 c = union a, b;
 -- Exercise all expression operators --
 d = foreach c generate (name is not NULL? UPPER(name) : 'FNU LNU') as name, (age < 30
? -1 : age) as age, (gpa is NULL ? 0.0 : ((gpa > 0.5 AND gpa < 1.0) ? 1 : gpa)) as gpa;



Mime
View raw message