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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.7.1
    • Fix Version/s: 0.8.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      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. ASF.LICENSE.NOT.GRANTED--D285.2.patch
          25 kB
          Phabricator
        2. hive-2466.4.patch
          25 kB
          binlijin
        3. ASF.LICENSE.NOT.GRANTED--D285.1.patch
          57 kB
          Phabricator
        4. hive-2466.3.patch
          25 kB
          binlijin
        5. hive-2466.2.patch
          22 kB
          binlijin
        6. hive-2466.1.patch
          9 kB
          binlijin

          Activity

            People

            • Assignee:
              aoxiang binlijin
              Reporter:
              aoxiang binlijin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: