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

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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.1-parquet.patch
          0.8 kB
          Dong Chen
        2. HIVE-10031.2-parquet.patch
          0.8 kB
          Dong Chen
        3. HIVE-10031.patch
          0.8 kB
          Dong Chen
        4. HIVE-10031-parquet.patch
          2 kB
          Dong Chen

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment