You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Venkat Ranganathan (JIRA)" <ji...@apache.org> on 2013/03/07 21:01:11 UTC

[jira] [Created] (SQOOP-936) Classwriter should check if columnNames generaed are null before accessing them

Venkat Ranganathan created SQOOP-936:
----------------------------------------

             Summary: Classwriter should check if columnNames generaed are null before accessing them
                 Key: SQOOP-936
                 URL: https://issues.apache.org/jira/browse/SQOOP-936
             Project: Sqoop
          Issue Type: Bug
    Affects Versions: 1.4.3, 1.4.2
         Environment: Netezza database tests
            Reporter: Venkat Ranganathan
            Assignee: Venkat Ranganathan
            Priority: Minor


If a table does not at the time of DROP, Netezza throws an exception but also sets the transaction as ignore (all changes through the connection will be ignored until the txn is either rollback or committed.   While adding more tests, I missed the rollback and the create table failed, but ClassWriter.cleanColNames() threw NPE.   I am fixing Netezza tests also, but we should check for this and throw a IOException instead of failing with NPE

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira