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

Enable caching in MapInput for Spark

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: spark-branch
    • Component/s: Spark
    • Labels:
      None

      Description

      Because of the IOContext problem (HIVE-8920, HIVE-9084), RDD caching is currently disabled in MapInput. Prototyping shows that the problem can solved. Thus, we should formalize the prototype and enable the caching. A good query to test this is:

      from (select * from dec union all select * from dec2) s
      insert overwrite table dec3 select s.name, sum(s.value) group by s.name
      insert overwrite table dec4 select s.name, s.value order by s.value;
      

        Attachments

        1. prototype.patch
          14 kB
          Xuefu Zhang
        2. HIVE-9492.2-spark.patch
          24 kB
          Jimmy Xiang
        3. HIVE-9492.1-spark.patch
          20 kB
          Jimmy Xiang

          Issue Links

            Activity

              People

              • Assignee:
                jxiang Jimmy Xiang
                Reporter:
                xuefuz Xuefu Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: