Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-12981

lead and lag don't support defaults

    XMLWordPrintable

Details

    Description

      ColumnStore and other database vendor implementations support a default parameter for the lead and lag window functions. The standard syntax is:
      LAG (value_expression [,offset] [,default])
      LEAD (value_expression [,offset] [,default])

      where the optional default is the value returned should the offset be outside of the window frame. If unspecified then NULL is used.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dthompson David Thompson (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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