[MCOL-5394] JSON_ARRAYAGG in MCS works differently than in InnoDB. Created: 2023-01-18 Updated: 2023-02-01 |
|
| Status: | Open |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergey Zefirov | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Here's the SQL to demonstrate the problem:
These queries return different results for row containing "[3,3]" in first column: InnoDBreturns the string "[null,null]" and MCS currently returns NULL (which is empty string in actuality). The code in question is this:
It actively skips NULL rows when doing group by aggregation. |