sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arvind Prabhakar" <arv...@apache.org>
Subject Re: Review Request: SQOOP-352 Export of avro data imported from database table (using sqoop import) fails on year
Date Tue, 06 Mar 2012 22:57:51 GMT

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

Ship it!


+1

- Arvind


On 2012-03-02 22:48:24, Bilung Lee wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/3845/
> -----------------------------------------------------------
> 
> (Updated 2012-03-02 22:48:24)
> 
> 
> Review request for Sqoop, Arvind Prabhakar, Tom White, and Jarek Cecho.
> 
> 
> Summary
> -------
> 
> MySQL YEAR is mapped to java.sql.Date when importing to HDFS. On the way back an exception
is thrown because the date and month fields are truncated (not used) - this is the MySQL behaviour.
> 
> 
> This addresses bug SQOOP-352.
>     https://issues.apache.org/jira/browse/SQOOP-352
> 
> 
> Diffs
> -----
> 
>   ./src/java/org/apache/sqoop/hive/TableDefWriter.java 1296490 
>   ./src/java/org/apache/sqoop/manager/ConnManager.java 1296490 
>   ./src/java/org/apache/sqoop/manager/MySQLManager.java 1296490 
>   ./src/java/org/apache/sqoop/manager/OracleManager.java 1296490 
>   ./src/java/org/apache/sqoop/manager/SqlManager.java 1296490 
>   ./src/java/org/apache/sqoop/mapreduce/JdbcExportJob.java 1296490 
>   ./src/java/org/apache/sqoop/orm/AvroSchemaGenerator.java 1296490 
>   ./src/java/org/apache/sqoop/orm/ClassWriter.java 1296490 
>   ./src/test/com/cloudera/sqoop/manager/MySQLCompatTest.java 1296490 
> 
> Diff: https://reviews.apache.org/r/3845/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Bilung
> 
>


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