Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-8120 Umbrella JIRA tracking Parquet improvements
  3. HIVE-10031

Modify the using of jobConf variable in ParquetRecordReaderWrapper constructor

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      In ParquetRecordReaderWrapper constructor, it create splits, set projections and filters in conf, create task context, and then create Parquet record reader. In this procedure, we could improve the logic of conf usage:
      1. the updated jobConf is not passed to Parquet in one case. (https://github.com/apache/hive/blob/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/read/ParquetRecordReaderWrapper.java#L103)
      I think we should use the instance variable jobConf, which is updated when projectioning and filtering, instead of passed in oldJobConf.

      Attachments

        1. HIVE-10031-parquet.patch
          2 kB
          Dong Chen
        2. HIVE-10031.patch
          0.8 kB
          Dong Chen
        3. HIVE-10031.2-parquet.patch
          0.8 kB
          Dong Chen
        4. HIVE-10031.1-parquet.patch
          0.8 kB
          Dong Chen

        Activity

          People

            dongc Dong Chen
            dongc Dong Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: