predator4ann opened a new issue, #8957:
URL: https://github.com/apache/gravitino/issues/8957

   ### What would you like to be improved?
   
   ### Background
   MySQL supports multiple text types, including `TEXT`, `TINYTEXT`, 
`MEDIUMTEXT`, and `LONGTEXT`, each with different maximum length limits:
   - `TINYTEXT`: Maximum 255 bytes
   - `TEXT`: Maximum 65,535 bytes (64 KB)
   - `MEDIUMTEXT`: Maximum 16,777,215 bytes (16 MB)
   - `LONGTEXT`: Maximum 4,294,967,295 bytes (4 GB)
   
   Currently, Gravitino's MySQL type converter (`MysqlTypeConverter`) only 
supports the `TEXT` type, but not `TINYTEXT`, `MEDIUMTEXT`, and `LONGTEXT`. 
When reading table schemas from MySQL databases that contain these types, they 
are recognized as `ExternalType` instead of the standard `StringType`, which 
may cause type compatibility issues.
   
   
   ### How should we improve?
   
   `TINYTEXT`, `MEDIUMTEXT`, and `LONGTEXT` should be mapped to Gravitino's 
`StringType` just like `TEXT`, since they are essentially variable-length 
string types with different storage capacities.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to