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

Decimal to int conversion produces incorrect values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      > select cast(cast ('111111111111111' as decimal(38,0)) as int);
      OK
      307163591
      

      Attachments

        1. HIVE-14863.01.patch
          42 kB
          Sergey Shelukhin
        2. HIVE-14863.patch
          23 kB
          Sergey Shelukhin

        Issue Links

          Activity

            People

              sershe Sergey Shelukhin
              sershe Sergey Shelukhin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: