[MDEV-15459] Window Functions seems to return string instead of numbers Created: 2018-03-04 Updated: 2018-03-06 Resolved: 2018-03-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | libmariadb |
| Affects Version/s: | 10.2.13 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Oli Sennhauser | Assignee: | Georg Richter |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux, Ubuntu 14.04, n.a. |
||
| Issue Links: |
|
||||||||
| Description |
|
Window Functions seems to return string instead of numbers: Just following your examples here:
If you did not fake the docu I would say you have introduced a bug... I do not know if this is dramatic. But I could imagine, that some applications relay on the data type and behave differently/wrong? |
| Comments |
| Comment by Alice Sherepa [ 2018-03-05 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Oli,
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Oli Sennhauser [ 2018-03-05 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello Alice Yes. But it should be displayed at the right sight of the column as numbers do and as it is in MySQL 5.7 and not on the left side (which is IMHO a string)... | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Oli Sennhauser [ 2018-03-06 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
I run Example 1 from here: http://php.net/manual/en/mysqli-result.fetch-fields.php
So the client/application gets it right. The it is possibly in the mysql Client! If I run a MySQL 5.7 mysql Client against MariaDB 10.2 output is correct.
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2018-03-06 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Duplicate of |