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

INSERT...SELECT with window functions fail

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.0.9
    • 1.1.0
    • MariaDB Server
    • None
    • 2017-15, 2017-16, 2017-17

    Description

      If you do an INSERT...SELECT in 1.0 with a window function in the select it will fail with:

      ERROR 1815 (HY000): Internal error: IDB-9029: Window function are only supported for Columnstore tables.

      It appears that item_window_function.cc checks for THD::INFINIDB_CREATE_VTABLE and fails if we aren't in that state. We aren't in that state for INSERT...SELECT.

      Attachments

        Activity

          People

            dthompson David Thompson (Inactive)
            LinuxJedi Andrew Hutchings (Inactive)
            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.