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

Support space in Decimal(precision, scale) format

    XMLWordPrintableJSON

Details

    Description

      Now, TypeInfoUtils#parseType only support Decimal(precision,scale) instead of Decimal(precision, scale), for example, support decimal(10,2) instead of decimal(10, 2) with a blank before 2, however, users may create decimal in this format decimal(10, 2) and it will throw exception inĀ 

      ```

      Integer.parseInt(params[1]);

      ```

      we need fix this issue.

      Attachments

        Issue Links

          Activity

            People

              xleesf leesf
              xleesf leesf
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: