sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Lin <eric....@cloudera.com>
Subject Review Request 57551: SQOOP-2272 - Import decimal columns from mysql to hive 0.14
Date Mon, 13 Mar 2017 10:02:05 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for Sqoop, Attila Szabo and Szabolcs Vasas.

Repository: sqoop-trunk


Currently Sqoop converts DECIMAL from RDMS into DOUBLE in Hive, which is not correct as user
will lose precisions. Since Hive supports DECIMAL long ago, we should support DECIMAL to DECIMAL
conversion from Sqoop to Hive.


  src/java/org/apache/sqoop/hive/HiveTypes.java ad00535 
  src/java/org/apache/sqoop/hive/TableDefWriter.java 32fcca3 
  src/test/com/cloudera/sqoop/hive/TestTableDefWriter.java 4db629f 

Diff: https://reviews.apache.org/r/57551/diff/1/


Test case + maunaul test


Eric Lin

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