Author: rohini
Date: Tue Sep 26 17:17:40 2017
New Revision: 1809763

URL: http://svn.apache.org/viewvc?rev=1809763&view=rev
Log:
PIG-5306: REGEX_EXTRACT() logs every line that doesn't match (satishsaley via 
rohini)

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/src/org/apache/pig/builtin/REGEX_EXTRACT.java

Modified: pig/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1809763&r1=1809762&r2=1809763&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Tue Sep 26 17:17:40 2017
@@ -26,6 +26,8 @@ PIG-5282: Upgade to Java 8 (satishsaley
  
 IMPROVEMENTS
 
+PIG-5306: REGEX_EXTRACT() logs every line that doesn't match (satishsaley via 
rohini)
+
 PIG-5298: Verify if org.mortbay.jetty is removable (nkollar via szita)
 
 PIG-5268: Review of org.apache.pig.backend.hadoop.datastorage.HDataStorage 
(belugabehr via daijy)

Modified: pig/trunk/src/org/apache/pig/builtin/REGEX_EXTRACT.java
URL: 
http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/builtin/REGEX_EXTRACT.java?rev=1809763&r1=1809762&r2=1809763&view=diff
==============================================================================
--- pig/trunk/src/org/apache/pig/builtin/REGEX_EXTRACT.java (original)
+++ pig/trunk/src/org/apache/pig/builtin/REGEX_EXTRACT.java Tue Sep 26 17:17:40 
2017
@@ -104,7 +104,6 @@ public class REGEX_EXTRACT extends EvalF
                 return m.group(mIndex);
             }
         }
-        warn("RegexExtract : Cannot extract group for input "+input.get(0), 
PigWarning.UDF_WARNING_1);
         return null;
     }
 


Reply via email to