Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-138

Scale up value of Avg aggregation for decimal type keeping sync with hive

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.1.0-incubating
    • None
    • None

    Description

      when we do avg aggregation for decimal type:
      hive wiil update the precision of the avg result.
      e.g: Avg(decimal(30,10)), the result will be cast to decimal(34, 14)
      so, carbon should keep the sync with hive, also need to improve the precision
      by scaling up.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            foryou2030 Gin-zhj
            gvramana Venkata Gollamudi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment