[
https://issues.apache.org/jira/browse/SQOOP-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Venkat Ranganathan updated SQOOP-936:
-------------------------------------
Summary: Classwriter should check if columnNames generated are null before
accessing them (was: Classwriter should check if columnNames generaed are null
before accessing them)
> Classwriter should check if columnNames generated 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.2, 1.4.3
> Environment: Netezza database tests
> Reporter: Venkat Ranganathan
> Assignee: Venkat Ranganathan
> Priority: Minor
> Labels: trivial
> Fix For: 1.4.4
>
> Attachments: SQOOP-936.patch
>
>
> 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