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

TypeInfoUtils doesn't handle DECIMAL with just precision specified

    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

          People

            tfriedr Thomas Friedrich
            tfriedr Thomas Friedrich
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: