neoremind commented on pull request #1996:
URL: https://github.com/apache/calcite/pull/1996#issuecomment-651833186


   In MySQL 5.6, `COMPACT` is the default row format. After MySQL 5.7 (include 
8.0), `DYNAMIC` is the default row format. The two are the most popular row 
formats.  
   
   For `COMPRESSED`, it is not supported yet. Users who cares about storage 
size rather than CPU load might choose this format. But IMHO, most MySQL users 
do not specify row format when creating table.
   
   For `FIXED` row format, it is rarely used. Refer to 
https://dev.mysql.com/doc/refman/5.7/en/create-table.html
   ```
   ROW_FORMAT=FIXED is not supported. If ROW_FORMAT=FIXED is specified while 
innodb_strict_mode is disabled, InnoDB issues a warning and assumes 
ROW_FORMAT=DYNAMIC. If ROW_FORMAT=FIXED is specified while innodb_strict_mode 
is enabled, which is the default, InnoDB returns an error.
   ```
   
   For `REDUNDANT` row format, it is an very old format before MySQL 5.1. 
   
   For `extra`, there is no such row format. Valid row formats are {DEFAULT | 
DYNAMIC | FIXED | COMPRESSED | REDUNDANT | COMPACT}
   
   To conclude, the adapter supports `COMPACT` and `DYNAMIC` format which are 
most commonly used nowadays. I can add explanations in `Limitation` section. 


----------------------------------------------------------------
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.

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


Reply via email to