Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3408

arithmetic/mathematical operations with Decimal columns failed in Hive with PheonixStorageHandler.

    XMLWordPrintableJSON

    Details

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

      Description

      PhoenixDecimalObjectInspector doesn't hold decimal type information (holds default max precision/scale (38/10)), so it doesn't make correct object that fits into the schema. this causes incorrect results for decimal operations (+, -, *, -, functions...)

        Attachments

        1. PHOENIX-3408.patch
          4 kB
          Jeongdae Kim

          Activity

            People

            • Assignee:
              Jeongdae Kim Jeongdae Kim
              Reporter:
              Jeongdae Kim Jeongdae Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: