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

TypeInfoUtils doesn't handle DECIMAL with just precision specified

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 3.0.0
    • Labels:
      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

            • Assignee:
              tfriedr Thomas Friedrich
              Reporter:
              tfriedr Thomas Friedrich
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: