sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daniel voros <daniel.vo...@gmail.com>
Subject Review Request 68607: Sqoop import with Netezza --direct fails properly but also produces NPE
Date Mon, 03 Sep 2018 12:32:54 GMT

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

Review request for Sqoop.


Bugs: SQOOP-3058
    https://issues.apache.org/jira/browse/SQOOP-3058


Repository: sqoop-trunk


Description
-------

We're not interrupting the import if we were unable to get column names, that leads to NPE
later. We should check for null instead and throw some more meaningful exception.


Diffs
-----

  src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableExportJob.java 11ac95df

  src/test/org/apache/sqoop/mapreduce/netezza/TestNetezzaExternalTableExportJob.java PRE-CREATION



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


Testing
-------

added UT


Thanks,

daniel voros


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