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

NPE when reading Parquet file when getting old timestamp configuration

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 1.2.0
    • None
    • Hive
    • None

    Description

      In branch-1.2, the file ql/src/java/org/apache/hadoop/hive/ql/io/parquet/convert/ETypeConverter.java throws an NPE on line 148:

               boolean skipConversion = Boolean.valueOf(metadata.get(HiveConf.ConfVars.HIVE_PARQUET_TIMESTAMP_SKIP_CONVERSION.varname));
      

      when the metadata reference is null.

      Attachments

        1. HIVE-16567.01.patch
          1 kB
          Matt McCline

        Activity

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

          People

            Unassigned Unassigned Assign to me
            mmccline Matt McCline

            Dates

              Created:
              Updated:

              Slack

                Issue deployment