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

DirectNetezzaManager fails to find tables from older Netezza system catalogs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.4
    • 1.4.5
    • connectors
    • None

    Description

      DirectNetezzaManager's checkTable method fails to find table and it will error out and returns something like:
      "<table_name> is not a valid Netezza table"
      The cause is the query to look for netezza table (QUERY_CHECK_DICTIONARY_FOR_TABLE) is case-sensitive. To query for tables in Netezza catalog this needs to be case-insensitive.
      Older netezza installs have system catalog tables stored in lowercase 'table', while more recent Netezza have 'TABLE' by default.
      Based on the feedback from Netezza admins, the query recommended to check for tables in _V_TABLES system catalog (instead of _V_OBJECTS) table.

      Attachments

        1. SQOOP-1209.patch
          1 kB
          Venkat Ranganathan

        Issue Links

          Activity

            People

              venkatnrangan Venkat Ranganathan
              kaufman Kaufman Ng
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: