[MCOL-4455] "SELECT DISTINCT col FROM table LIMIT O,N" ignores offset Created: 2020-12-16 Updated: 2021-01-25 Resolved: 2021-01-25 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| Affects Version/s: | None |
| Fix Version/s: | 5.5.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexey Antipovsky (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
|
| Comments |
| Comment by Daniel Lee (Inactive) [ 2021-01-25 ] | |||||||
|
Build verified: 5.5.2 (b1552), develop b1546 | |||||||
| Comment by Daniel Lee (Inactive) [ 2021-01-25 ] | |||||||
|
MariaDB [mytest]> DROP TABLE IF EXISTS a; MariaDB [mytest]> CREATE TABLE a (a INT) ENGINE=Columnstore; MariaDB [mytest]> INSERT INTO a VALUES (1), (1), (2), (3); MariaDB [mytest]> SELECT DISTINCT a FROM a LIMIT 2;
------
------ MariaDB [mytest]> SELECT DISTINCT a FROM a LIMIT 2,2;
------
------ MariaDB [mytest]> SELECT DISTINCT a FROM a ORDER BY 1 LIMIT 2,2;
------
------ |