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

Window functions: support being in a subquery

    XMLWordPrintable

Details

    • 10.2.0-9

    Description

      Current code assumes that window function computation is a once-in-a-query
      event. It creates Item and Cached_item objects, and allocates things on
      thd->mem_root.

      This task is separate the computations into

      • Stage #1: a part that is done once
      • Stage #2: a part that is re-run for every select re-execution.

      Also, all 'cursor' objects must be created at stage #1.

      Attachments

        Issue Links

          Activity

            People

              psergei Sergei Petrunia
              psergei Sergei Petrunia
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.