Bug #95437 | mysql-connector-python: TEXT column with only digits reads in as int | ||
---|---|---|---|
Submitted: | 21 May 2019 0:26 | Modified: | 29 Jun 2020 22:46 |
Reporter: | Brian Hyams | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / Python | Severity: | S2 (Serious) |
Version: | 8.0.16 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | regression |
[21 May 2019 0:26]
Brian Hyams
[21 May 2019 12:24]
MySQL Verification Team
Hello Brian Hyams, Thank you for the report. regards, Umesh
[9 Aug 2019 12:04]
Brian Hyams
Has there been any progress on this?
[29 Jun 2020 22:46]
Philip Olson
Posted by developer: Fixed as of the upcoming MySQL Connector/Python 8.0.21 release, and here's the proposed changelog entry from the documentation team: Because MySQL stores TEXT types as BLOB and JSON as LONGBLOB, the TEXT and JSON types are now converted to str and the rest of the BLOB types as bytes. Previously, as an example, a column of type TEXT that only contained digits was read as type=integer by Connector/Python. Thank you for the bug report.