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

mapjoin_subquery dump small table (mapjoin table) to the same file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.7.1
    • 0.8.0
    • Query Processor
    • None
    • Reviewed

    Description

      in mapjoin_subquery.q there is a query:
      SELECT /*+ MAPJOIN(z) */ subq.key1, z.value
      FROM
      (SELECT /*+ MAPJOIN */ x.key as key1, x.value as value1, y.key as key2, y.value as value2
      FROM src1 x JOIN src y ON (x.key = y.key)) subq
      JOIN srcpart z ON (subq.key1 = z.key and z.ds='2008-04-08' and z.hr=11);
      when dump x and z to a local file,there all dump to the same file, so we lost the data of x

      Attachments

        1. hive-2466.4.patch
          25 kB
          Lijin Bin
        2. hive-2466.3.patch
          25 kB
          Lijin Bin
        3. hive-2466.2.patch
          22 kB
          Lijin Bin
        4. hive-2466.1.patch
          9 kB
          Lijin Bin
        5. ASF.LICENSE.NOT.GRANTED--D285.2.patch
          25 kB
          Phabricator
        6. ASF.LICENSE.NOT.GRANTED--D285.1.patch
          57 kB
          Phabricator

        Activity

          People

            binlijin Lijin Bin
            binlijin Lijin Bin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: