Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-1039

multi-insert doesn't work for local directories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5.0, 0.6.0
    • 0.5.0
    • Query Processor
    • None
    • Reviewed

    Description

      As wd pointed out in hive-user, the following query only load data to the first local directory. Multi-insert to tables works fine.

      hive> from test
      > INSERT OVERWRITE LOCAL DIRECTORY '/home/stefdong/tmp/0' select *
      where a = 1
      > INSERT OVERWRITE LOCAL DIRECTORY '/home/stefdong/tmp/1' select *
      where a = 3;

      Attachments

        1. HIVE-1039_2.patch
          47 kB
          Ning Zhang
        2. HIVE-1039_3.patch
          132 kB
          Ning Zhang
        3. HIVE-1039.patch
          3 kB
          Ning Zhang

        Activity

          People

            nzhang Ning Zhang
            nzhang Ning Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: