You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by da...@apache.org on 2016/08/30 20:22:40 UTC

svn commit: r1758463 - in /pig/trunk: CHANGES.txt test/e2e/pig/streaming/PigStreaming.pl

Author: daijy
Date: Tue Aug 30 20:22:40 2016
New Revision: 1758463

URL: http://svn.apache.org/viewvc?rev=1758463&view=rev
Log:
PIG-4972: StreamingIO_1 fail on perl 5.22

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/test/e2e/pig/streaming/PigStreaming.pl

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1758463&r1=1758462&r2=1758463&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Tue Aug 30 20:22:40 2016
@@ -40,6 +40,8 @@ OPTIMIZATIONS
  
 BUG FIXES
 
+PIG-4972: StreamingIO_1 fail on perl 5.22 (daijy)
+
 PIG-4933: TestDataBagAccess.testBagConstantFlatten1/TestLogicalPlanBuilder.testQuery90 broken after PIG-2315 (knoguchi)
 
 PIG-4965: Refactor test/perf/pigmix/bin/runpigmix.pl to delete the output of single test case

Modified: pig/trunk/test/e2e/pig/streaming/PigStreaming.pl
URL: http://svn.apache.org/viewvc/pig/trunk/test/e2e/pig/streaming/PigStreaming.pl?rev=1758463&r1=1758462&r2=1758463&view=diff
==============================================================================
--- pig/trunk/test/e2e/pig/streaming/PigStreaming.pl (original)
+++ pig/trunk/test/e2e/pig/streaming/PigStreaming.pl Tue Aug 30 20:22:40 2016
@@ -73,7 +73,7 @@ while (<$input_handle>)
 {
 	chomp;	
 	$data = $_;
-	if (defined(%hash) && (exists $hash{$data}))
+	if (exists $hash{$data})
 	{
 		print $output_handle "$hash{$data}\n";		
 	}