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

Min value for column in stats is not set correctly for some data types

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

Details

    Description

      I am not sure whether the problem is printing the value or in the value stored in the metastore itself, but for some types (e.g. tinyint, smallint, int, bigint, double or float), the min value does not seem to be set correctly (set to 0).

      https://github.com/apache/hive/blob/master/ql/src/test/results/clientpositive/alter_table_update_status.q.out#L342

      Attachments

        1. HIVE-22248.01.patch
          14 kB
          Miklos Gergely
        2. HIVE-22248.03.patch
          26 kB
          Miklos Gergely
        3. HIVE-22248.04.patch
          38 kB
          Miklos Gergely

        Issue Links

        Activity

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

          People

            mgergely Miklos Gergely Assign to me
            jcamacho Jesús Camacho Rodríguez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 50m
              50m

              Slack

                Issue deployment