Bug #100801 Wrong datatype for column DATA_TYPE in INFORMATION_SCHEMA

Submitted: 10 Sep 2020 13:48 Modified: 10 Sep 2020 14:47
Reporter: Martin Schuffenhauer Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Information schema Severity:S3 (Non-critical)
Version:8.0.21 OS:Any
Assigned to: CPU Architecture:Any

[10 Sep 2020 13:48] Martin Schuffenhauer
Description:
Wrong datatype for column DATA_TYPE in INFORMATION_SCHEMA ?

It actually makes no sense to define the columns DATA_TYPE with a data type of 4GB (long text). Further reason: COLUMN_TYPE is mediumtext and represents the long description.

-------------------------------------------------------------------------------

DATA_TYPE - The column data type.

The DATA_TYPE value is the type name only with no other information. The COLUMN_TYPE value contains the type name and possibly other information such as the precision or length. 

How to repeat:
describe information_schema.COLUMNS
[10 Sep 2020 14:47] MySQL Verification Team
Thank you for the bug report.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.