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

Support Sqoop import multiple hive partition

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.4.6
    • Fix Version/s: None
    • Component/s: hive-integration
    • Labels:
      None

      Description

      Support Sqoop import multiple hive partition as following args::
      --hive-partition-key op_day,city
      --hive-partition-value 20150717,shanghai

      then create table partition as following:
      ... PARTITIONED BY (op_day STRING ,city STRING )

      and load data as following:
      ... PARTITION (op_day='20150717' , city='shanghai')

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                yumwang Yuming Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: