Index: contrib/src/java/org/apache/hadoop/hive/contrib/serde2/RegexSerDe.java =================================================================== --- contrib/src/java/org/apache/hadoop/hive/contrib/serde2/RegexSerDe.java (revision 1144190) +++ contrib/src/java/org/apache/hadoop/hive/contrib/serde2/RegexSerDe.java (working copy) @@ -180,7 +180,11 @@ // Report the row LOG.warn("" + unmatchedRows + " unmatched rows are found: " + rowText); } - return null; + + for (int c = 0; c < numColumns; c++) { + row.set(c, null); + } + return row; } // Otherwise, return the row.