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

Vectorized cast of decimal to string and timestamp produces incorrect result.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • Vectorization
    • None

    Description

      A decimal value 1.23 with scale 5 is represented in string as 1.23000. This behavior is different from HiveDecimal behavior.
      The difference in cast to timestamp is due to more aggressive rounding in vectorized expression.

      Attachments

        1. HIVE-6568.3.patch
          23 kB
          Jitendra Nath Pandey
        2. HIVE-6568.2.patch
          22 kB
          Jitendra Nath Pandey
        3. HIVE-6568.1.patch
          22 kB
          Jitendra Nath Pandey

        Issue Links

          Activity

            People

              jnp Jitendra Nath Pandey
              jnp Jitendra Nath Pandey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: