[MCOL-5581] Wrong result ('pNuLl_' instead of NULL) in the TEXT column when LEFT OUTER JOIN is used with WHERE condition Created: 2023-09-20 Updated: 2024-01-14 |
|
| Status: | Stalled |
| Project: | MariaDB ColumnStore |
| Component/s: | PrimProc |
| Affects Version/s: | 5.6.5, 23.02.3 |
| Fix Version/s: | 23.10.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Valerii Kravchuk | Assignee: | Sergey Zefirov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | wrong_result | ||
| Description |
|
Consider the following simple test case:
This queries produce correct and expected results:
But if we SELECT the TEXT column with WHERE clause, we get some weird 'pNuLl_' string:
This is NOT the case with InnoDB:
|
| Comments |
| Comment by Roman [ 2023-10-19 ] |
|
The `pNuLl_` is a part of a magic value for NULL VARCHAR/TEXT columns. It looks like NULL property has been lost in the pipeline. |
| Comment by Valerii Kravchuk [ 2023-11-30 ] |
|
It is stated in "Affected Version/s", 23.02.3 for customer. My test was done on whatever version this Docker image, https://hub.docker.com/r/mariadb/columnstore, provided by default at the moment. |