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

Document --columns argument usage in export tool

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.5
    • Component/s: docs
    • Labels:

      Activity

      Hide
      hudson Hudson added a comment -

      SUCCESS: Integrated in Sqoop-ant-jdk-1.6-hadoop100 #857 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/857/)
      SQOOP-832: Document --columns argument usage in export tool (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=d46833b64682be32ae860a05bd19ba9d33da0142)

      • src/docs/user/export.txt
      • src/docs/man/sqoop-export.txt
      Show
      hudson Hudson added a comment - SUCCESS: Integrated in Sqoop-ant-jdk-1.6-hadoop100 #857 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/857/ ) SQOOP-832 : Document --columns argument usage in export tool (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=d46833b64682be32ae860a05bd19ba9d33da0142 ) src/docs/user/export.txt src/docs/man/sqoop-export.txt
      Hide
      hudson Hudson added a comment -

      SUCCESS: Integrated in Sqoop-ant-jdk-1.6-hadoop20 #892 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/892/)
      SQOOP-832: Document --columns argument usage in export tool (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=d46833b64682be32ae860a05bd19ba9d33da0142)

      • src/docs/user/export.txt
      • src/docs/man/sqoop-export.txt
      Show
      hudson Hudson added a comment - SUCCESS: Integrated in Sqoop-ant-jdk-1.6-hadoop20 #892 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/892/ ) SQOOP-832 : Document --columns argument usage in export tool (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=d46833b64682be32ae860a05bd19ba9d33da0142 ) src/docs/user/export.txt src/docs/man/sqoop-export.txt
      Hide
      hudson Hudson added a comment -

      SUCCESS: Integrated in Sqoop-ant-jdk-1.6-hadoop23 #1095 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/1095/)
      SQOOP-832: Document --columns argument usage in export tool (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=d46833b64682be32ae860a05bd19ba9d33da0142)

      • src/docs/user/export.txt
      • src/docs/man/sqoop-export.txt
      Show
      hudson Hudson added a comment - SUCCESS: Integrated in Sqoop-ant-jdk-1.6-hadoop23 #1095 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/1095/ ) SQOOP-832 : Document --columns argument usage in export tool (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=d46833b64682be32ae860a05bd19ba9d33da0142 ) src/docs/user/export.txt src/docs/man/sqoop-export.txt
      Hide
      hudson Hudson added a comment -

      SUCCESS: Integrated in Sqoop-ant-jdk-1.6-hadoop200 #898 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/898/)
      SQOOP-832: Document --columns argument usage in export tool (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=d46833b64682be32ae860a05bd19ba9d33da0142)

      • src/docs/man/sqoop-export.txt
      • src/docs/user/export.txt
      Show
      hudson Hudson added a comment - SUCCESS: Integrated in Sqoop-ant-jdk-1.6-hadoop200 #898 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/898/ ) SQOOP-832 : Document --columns argument usage in export tool (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=d46833b64682be32ae860a05bd19ba9d33da0142 ) src/docs/man/sqoop-export.txt src/docs/user/export.txt
      Hide
      jarcec Jarek Jarcec Cecho added a comment -

      Thank you for your contribution Qian Xu!

      Show
      jarcec Jarek Jarcec Cecho added a comment - Thank you for your contribution Qian Xu !
      Hide
      jira-bot ASF subversion and git services added a comment -

      Commit d46833b64682be32ae860a05bd19ba9d33da0142 in sqoop's branch refs/heads/trunk from Jarek Jarcec Cecho
      [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=d46833b ]

      SQOOP-832: Document --columns argument usage in export tool

      (Qian Xu via Jarek Jarcec Cecho)

      Show
      jira-bot ASF subversion and git services added a comment - Commit d46833b64682be32ae860a05bd19ba9d33da0142 in sqoop's branch refs/heads/trunk from Jarek Jarcec Cecho [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=d46833b ] SQOOP-832 : Document --columns argument usage in export tool (Qian Xu via Jarek Jarcec Cecho)
      Hide
      jarcec Jarek Jarcec Cecho added a comment -

      +1

      Show
      jarcec Jarek Jarcec Cecho added a comment - +1
      Hide
      stanleyxu2005 Qian Xu added a comment - - edited

      Added notes for choosing columns in user docs

      Show
      stanleyxu2005 Qian Xu added a comment - - edited Added notes for choosing columns in user docs
      Hide
      jarcec Jarek Jarcec Cecho added a comment -

      Nice patch Qian Xu! Might I suggest to mention something in the lines of:

      Please note that columns that are not included in the --columns parameter need to have either defined default value or allow NULL values. Otherwise your database will reject the imported data which in turn will make Sqoop job fail.

      Show
      jarcec Jarek Jarcec Cecho added a comment - Nice patch Qian Xu ! Might I suggest to mention something in the lines of: Please note that columns that are not included in the --columns parameter need to have either defined default value or allow NULL values. Otherwise your database will reject the imported data which in turn will make Sqoop job fail.
      Hide
      stanleyxu2005 Qian Xu added a comment -

      Added argument usage of `--columns` in man page of sqoop-export and user doc.

      Show
      stanleyxu2005 Qian Xu added a comment - Added argument usage of `--columns` in man page of sqoop-export and user doc.

        People

        • Assignee:
          stanleyxu2005 Qian Xu
          Reporter:
          jarcec Jarek Jarcec Cecho
        • Votes:
          0 Vote for this issue
          Watchers:
          5 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development