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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.6
    • Fix Version/s: 1.4.7
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: