Hive
  1. Hive
  2. HIVE-2466

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical 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

      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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development