Github user christeoh commented on a diff in the pull request:

    https://github.com/apache/sqoop/pull/41#discussion_r161689494
  
    --- Diff: src/java/org/apache/sqoop/mapreduce/RawKeyTextOutputFormat.java 
---
    @@ -61,6 +62,9 @@ private void writeObject(Object o) throws IOException {
           if (o instanceof Text) {
             Text to = (Text) o;
             out.write(to.getBytes(), 0, to.getLength());
    +      } else if (o instanceof BytesWritable) {
    --- End diff --
    
    Thanks @szvasas . I need a bit of help with applying the technique on the 
OutputFormats as they contain inner classes.


---

Reply via email to