[MCOL-193] || operator fails 528 of 1229 tests when SQL_MODE=pipes_as_concat Created: 2016-06-24 Updated: 2023-07-02 Resolved: 2023-07-02 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| Affects Version/s: | 1.2.4 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Minor |
| Reporter: | Justin Swanhart (Inactive) | Assignee: | alexey vorovich (Inactive) |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Epic Link: | ColumnStore Compatibility Improvements |
| Description |
|
git clone https://github.com/greenlion/columnstore_tests.git |
| Comments |
| Comment by David Hall (Inactive) [ 2019-07-11 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
There appear to be a number of problems here: (1)The first appears to be caused by the result buffer being too small. After loading the table as above, run: set SQL_MODE=pipes_as_concat;
-----
----- You can easily see that a char has been dropped from the result.
-----
----- Or a string:
-----
----- The size of the item doesn't matter:
-----
----- (2) FLOAT. When the column is a float, it converts to scientific notation, whether it needs to or not:
-----
----- This is different than InnoDB, where the result is '-128-128' (3) FLOAT(2,1)Here we have truncation for some reason:
-----
----- (4) FLOAT(23,4) which converts to scientific notation as in (2) FLOAT above. Other float types such as(53,20) do this also. select seq, f23, 127 || f23 from fact where seq=2;
-----
----- DOUBLE misbehaves the same as FLOAT. | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Todd Stoffel (Inactive) [ 2023-07-02 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
Test suite is based on php5 and no longer works. |