sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From christeoh <...@git.apache.org>
Subject [GitHub] sqoop pull request #41: Sqoop-3224: Binary ftp transfer mode
Date Tue, 16 Jan 2018 08:46:07 GMT
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.


---

Mime
View raw message