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

Fix Netezza trunc-string option handling and unnecessary log directory during imports

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.6
    • 1.4.7
    • None
    • None

    Description

      SQOOP-2164 enhanced a few netezza functions.

      But it looks like the last patch I uploaded has the following lines duplicated. Sorry about that.

      +    conf.setBoolean(NETEZZA_CTRL_CHARS_OPT,
      +      cmdLine.hasOption(NETEZZA_CTRL_CHARS_LONG_ARG));
      

      instead of handling the --trunc-string option.

      Moreover, trunc-string, ctrl-chars and log-dir do not apply to external table imports, so we need to cleanup creation of unnecessary directories for the imports.

      Attachments

        1. SQOOP-2326.diff
          4 kB
          Venkat Ranganathan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: