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

regr_avgx and regr_avgy should return NULL if count is zero

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.2.3
    • Component/s: ExeMgr
    • Labels:
      None
    • Sprint:
      2018-21, 2019-01

      Description

      Our implementations of regr_avgx and regr_avgy explicitly return 0 if there are no numbers to avg. This can happen if all rows contain NULL or if the Window Frame is fully outside the data being considered.

      PostgreSQL and Snowflake both return NULL in these cases.

        Attachments

          Activity

            People

            Assignee:
            dleeyh Daniel Lee
            Reporter:
            David.Hall David Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.