Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-1822

Change the default to use double when overflow occurs in SUM() and AVG()

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2.3
    • Component/s: ExeMgr
    • Labels:
      None
    • Sprint:
      2018-20, 2018-21, 2019-01, 2019-02, 2019-03

      Description

      The SUM and AVG functions have logic to overflow from integer to double arithmetic when overflow occurs in int64. However, this logic is #defined out of the standard build.

      The default logic should be to overflow into double if necessary, rather than aborting the query.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dleeyh Daniel Lee
              Reporter:
              David.Hall David Hall
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.