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

Add option for drop-if-exists when using sqoop hcat import.

    XMLWordPrintableJSON

    Details

      Description

      To recover from a failed sqoop import via hcat using --create-hcatalog-table, there is a manual step needed to clean up the hive table i.e. (DROP TABLE IF EXISTS <table_name>). It would be great to have another flag --drop-and-create-hcatalog-table, which works like --create-hcatalog-table with an addition of drop if exists before creating the table.

        Attachments

        1. SQOOP-2647.3
          9 kB
          Muhammad Ehsan ul Haque
        2. SQOOP-2647.2
          7 kB
          Muhammad Ehsan ul Haque
        3. SQOOP-2647.1
          5 kB
          Muhammad Ehsan ul Haque

          Activity

            People

            • Assignee:
              ehsan Muhammad Ehsan ul Haque
              Reporter:
              ehsan Muhammad Ehsan ul Haque
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: