Author: olga
Date: Wed Jan 30 16:52:45 2008
New Revision: 616970

URL: http://svn.apache.org/viewvc?rev=616970&view=rev
Log:
fix for PIG-78

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

Modified: incubator/pig/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/incubator/pig/trunk/CHANGES.txt?rev=616970&r1=616969&r2=616970&view=diff
==============================================================================
--- incubator/pig/trunk/CHANGES.txt (original)
+++ incubator/pig/trunk/CHANGES.txt Wed Jan 30 16:52:45 2008
@@ -74,3 +74,5 @@
        PIG-57: Fixed NPE in PigContext.fixUpDomain (francisoud via gates)
 
        PIG-69: NPE in PigContext.setJobtrackerLocation (francisoud via gates)
+
+       PIG-78: src/org/apache/pig/builtin/PigStorage.java doesn't compile

Modified: incubator/pig/trunk/src/org/apache/pig/builtin/PigStorage.java
URL: 
http://svn.apache.org/viewvc/incubator/pig/trunk/src/org/apache/pig/builtin/PigStorage.java?rev=616970&r1=616969&r2=616970&view=diff
==============================================================================
--- incubator/pig/trunk/src/org/apache/pig/builtin/PigStorage.java (original)
+++ incubator/pig/trunk/src/org/apache/pig/builtin/PigStorage.java Wed Jan 30 
16:52:45 2008
@@ -82,7 +82,8 @@
     }
 
     public void putNext(Tuple f) throws IOException {
-        os.write((f.toDelimitedString(this.fieldDel) + 
(char)this.recordDel).getBytes(utf8));
+        os.write((f.toDelimitedString(this.fieldDel) + 
(char)this.recordDel).getBytes("utf8"));
+        //os.write((f.toDelimitedString(this.fieldDel) + 
(char)this.recordDel).getBytes(utf8));
     }
 
     public void finish() throws IOException {


Reply via email to