Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-936

Classwriter should check if columnNames generated are null before accessing them

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.2, 1.4.3
    • 1.4.4
    • None
    • Netezza database tests

    Description

      If a table does not at the time of DROP, Netezza throws an exception but also sets the transaction as ignored (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 was ignored, and subsequently 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

      Attachments

        1. SQOOP-936.patch
          1.0 kB
          Venkat Ranganathan

        Activity

          People

            venkatnrangan Venkat Ranganathan
            venkatnrangan Venkat Ranganathan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: