Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop >> mail # dev >> Review Request: SQOOP-860 NullPointerException when running procedure export against old database


Copy link to this message
-
Review Request: SQOOP-860 NullPointerException when running procedure export against old database

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

Review request for Sqoop.
Description
-------

Instead of returning null, I've changed the code to re-throw the exception.
This addresses bug SQOOP-860.
    https://issues.apache.org/jira/browse/SQOOP-860
Diffs
-----

  src/java/org/apache/sqoop/manager/SqlManager.java 03c9e64d3a08a2ef6a1b38720e67f7d2569b93c2

Diff: https://reviews.apache.org/r/9211/diff/
Testing
-------

I've done testing against old PostgreSQL instance where I detected original NPE, I'm now getting RuntimeException as expected.
Thanks,

Jarek Cecho