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

Enable caching in MapInput for Spark

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • spark-branch
    • Spark
    • 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. HIVE-9492.1-spark.patch
          20 kB
          Jimmy Xiang
        2. HIVE-9492.2-spark.patch
          24 kB
          Jimmy Xiang
        3. prototype.patch
          14 kB
          Xuefu Zhang

        Issue Links

          Activity

            People

              jxiang Jimmy Xiang
              xuefuz Xuefu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: