[MCOL-657] Support NULL safe equals (<=>) Created: 2017-04-06 Updated: 2018-02-15 Resolved: 2017-05-11 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MDB Plugin |
| Affects Version/s: | 1.0.8, 1.1.0 |
| Fix Version/s: | 1.0.9, 1.1.0 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | community | ||
| Issue Links: |
|
||||||||
| Sprint: | 2017-9, 2017-10 | ||||||||
| Description |
|
The NULL safe equals operator (<=>) gives a not supported error "Error Code: 122. IDB-1001: Function '<=>' can only be used in the outermost select or order by clause and cannot be used in conjunction with an aggregate function.". This should be implemented. We could implement it by expanding it to:
As outlined in: https://mariadb.com/kb/en/mariadb/null-safe-equal/ |
| Comments |
| Comment by David Thompson (Inactive) [ 2017-04-13 ] | |||||||
|
This is a query pattern that tableau will generate for the mysql connector so is hard to workaround for tableau users. | |||||||
| Comment by Andrew Hutchings (Inactive) [ 2017-05-09 ] | |||||||
|
Four pull requests, two for engine (develop, develop-1.0), two for regression suite (master, 1.0). Test case:
Should return:
| |||||||
| Comment by Daniel Lee (Inactive) [ 2017-05-11 ] | |||||||
|
Build verified: Github source 1.1.0 [root@localhost mariadb-columnstore-server]# git show Merge pull request #50 from mariadb-corporation/10.2-fixes 10.2 fixes [root@localhost mariadb-columnstore-server]# cd mariadb-columnstore-engine/ Merge pull request #182 from mariadb-corporation/ | |||||||
| Comment by Daniel Lee (Inactive) [ 2017-05-11 ] | |||||||
|
Build verified: 1.0.9-1 Repeat test case. |