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

doesn't support IDB-2022: ORDER BY column not in DISTINCT list.

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • None
    • 23.10.0
    • MDB Plugin
    • None

    Description

      MariaDB [test]> select distinct apply_time from test ORDER BY id limit 1;
      ERROR 1178 (42000): The storage engine for the table doesn't support IDB-2022: ORDER BY column not in DISTINCT list.

      Attachments

        Activity

          hiller1 hiller1 created issue -
          LinuxJedi Andrew Hutchings (Inactive) made changes -
          Field Original Value New Value
          Assignee Andrew Hutchings [ linuxjedi ]

          MariaDB ColumnStore is a columnar orientated storage engine instead of row orientated. `id` isn't referenced in the query so that column isn't accessed and there is no data for it to process. It therefore cannot execute an ORDER BY on that column. Whereas if it was row orientated that column would be available in the intermediate results.

          LinuxJedi Andrew Hutchings (Inactive) added a comment - MariaDB ColumnStore is a columnar orientated storage engine instead of row orientated. `id` isn't referenced in the query so that column isn't accessed and there is no data for it to process. It therefore cannot execute an ORDER BY on that column. Whereas if it was row orientated that column would be available in the intermediate results.
          LinuxJedi Andrew Hutchings (Inactive) made changes -
          Component/s Connector [ 13801 ]
          Fix Version/s N/A [ 22302 ]
          Resolution Not a Bug [ 6 ]
          Status Open [ 1 ] Closed [ 6 ]

          Re-opening as this is valid SQL, we don't support today but i think it's reasonable to consider this as a future improvement.

          dthompson David Thompson (Inactive) added a comment - Re-opening as this is valid SQL, we don't support today but i think it's reasonable to consider this as a future improvement.
          dthompson David Thompson (Inactive) made changes -
          Resolution Not a Bug [ 6 ]
          Status Closed [ 6 ] Stalled [ 10000 ]
          LinuxJedi Andrew Hutchings (Inactive) made changes -
          LinuxJedi Andrew Hutchings (Inactive) made changes -
          Epic Link MCOL-1049 [ 64464 ]
          LinuxJedi Andrew Hutchings (Inactive) made changes -
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Fix Version/s 1.5 [ 22800 ]
          Fix Version/s N/A [ 22302 ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Team ColumnStore Team
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Fix Version/s 5.6.1 [ 25031 ]
          Fix Version/s 1.5 [ 22800 ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked lower
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          David.Hall David Hall (Inactive) made changes -
          Assignee Andrew Hutchings [ linuxjedi ] David Hall [ david.hall ]
          David.Hall David Hall (Inactive) made changes -
          Fix Version/s 6.1 [ 25201 ]
          Fix Version/s 5.6.1 [ 25031 ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Fix Version/s 6.1.1 [ 25600 ]
          Fix Version/s 6.1 [ 25201 ]
          gdorman Gregory Dorman (Inactive) made changes -
          Fix Version/s 6.5.1 [ 25801 ]
          Fix Version/s 6.1.1 [ 25600 ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          David.Hall David Hall (Inactive) made changes -
          Issue Type Bug [ 1 ] New Feature [ 2 ]
          David.Hall David Hall (Inactive) made changes -
          Fix Version/s 7.1.1 [ 26904 ]
          Fix Version/s 6.3.1 [ 25801 ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked lower
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Fix Version/s 22.08.3 [ 28456 ]
          Fix Version/s 22.08.3 [ 28456 ]
          Fix Version/s 22.08 [ 26904 ]
          David.Hall David Hall (Inactive) made changes -
          Fix Version/s 22.11.01 [ 28458 ]
          Fix Version/s 22.08.3 [ 28456 ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          alexey.vorovich alexey vorovich (Inactive) made changes -
          Fix Version/s 23.02 [ 28209 ]
          Fix Version/s 23.03.1 [ 28458 ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Assignee David Hall [ david.hall ] alexey vorovich [ JIRAUSER48263 ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Fix Version/s 23.08 [ 28540 ]
          Fix Version/s 23.02 [ 28209 ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Assignee alexey vorovich [ JIRAUSER48263 ] Todd Stoffel [ toddstoffel ]
          leonid.fedorov Leonid Fedorov made changes -
          Assignee Todd Stoffel [ toddstoffel ] Kirill Perov [ JIRAUSER51446 ]
          leonid.fedorov Leonid Fedorov made changes -
          Resolution Won't Fix [ 2 ]
          Status Stalled [ 10000 ] Closed [ 6 ]
          julien.fritsch Julien Fritsch made changes -
          Fix Version/s 23.10.0 [ 29422 ]
          julien.fritsch Julien Fritsch made changes -
          Fix Version/s 23.10 [ 28540 ]

          People

            kirill.perov@mariadb.com Kirill Perov (Inactive)
            hiller1 hiller1
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.