sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheolsoo Park" <cheol...@cloudera.com>
Subject Re: Review Request: SQOOP-465 BLOB support for Avro import
Date Wed, 28 Mar 2012 02:43:22 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4496/
-----------------------------------------------------------

(Updated 2012-03-28 02:43:22.864342)


Review request for Sqoop, Arvind Prabhakar and Bilung Lee.


Changes
-------

Map java.sql.Types.LONGVARBINARY to Avro Bytes.
MySQL driver maps BLOB to LONGVARBINARY, so it has to be mapped to Avro bytes to support Avro
blob import in MySQL.


Summary
-------

BLOB is supported for text and sequence import only.
Provide further support for Avro import.


This addresses bug SQOOP-465.
    https://issues.apache.org/jira/browse/SQOOP-465


Diffs (updated)
-----

  ./src/java/org/apache/sqoop/manager/ConnManager.java 1303136 
  ./src/java/org/apache/sqoop/mapreduce/AvroImportMapper.java 1303098 

Diff: https://reviews.apache.org/r/4496/diff


Testing
-------

Manually tested: verified that Avro byte files were generated.

New JUnit test will be added by SQOOP-470.


Thanks,

Cheolsoo


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message