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

TypeInfoUtils doesn't handle DECIMAL with just precision specified

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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • 3.0.0
    • None

    Description

      The parseType method in TypeInfoUtils doesn't handle decimal types with just precision specified although that's a valid type definition.
      As a result, TypeInfoUtils.getTypeInfoFromTypeString will always return decimal(10,0) for any decimal(<precision>) string.

      Attachments

        1. HIVE-10616.1.patch
          1.0 kB
          Thomas Friedrich
        2. HIVE-10616.2.patch
          3 kB
          Jason Dere

        Activity

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

          People

            tfriedr Thomas Friedrich Assign to me
            tfriedr Thomas Friedrich
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment