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

Support Sqoop import multiple hive partition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.4.6
    • None
    • hive-integration
    • 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

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

              Dates

                Created:
                Updated: