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

HiveDecimal to string conversion doesn't format the decimal correctly - master

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: Types
    • Labels:
      None

      Description

      Example: LPAD on a decimal(7,1) values of 0 returns "0" (plus padding) but it should be "0.0" (plus padding)

        Attachments

        1. HIVE-20082.1.patch
          432 kB
          Jason Dere
        2. HIVE-20082.2.patch
          448 kB
          Jason Dere
        3. HIVE-20082.3.patch
          422 kB
          Jason Dere
        4. HIVE-20082.4.patch
          431 kB
          Jason Dere

          Issue Links

            Activity

              People

              • Assignee:
                jdere Jason Dere
                Reporter:
                sershe Sergey Shelukhin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: