Closed zhangjun0x01 closed 1 year ago
longtext also not work?
longtext also not work?
I'll check the other types again
longtext also not work?
I check it ,found that longtext
throws an exception Don't support MySQL type
,I add the longtext
and longblob
in MySqlTypeUtils#toDataType
.
time
datatype is also don't support, but I think it may be complex, It will involve issues of timezone and precision,I will fix it in another pr。
I also add the date type to check compatibility.
Thanks @zhangjun0x01
Search before asking
Paimon version
0.4
Compute Engine
flink
Minimal reproduce step
decimal
type.mysql> desc products; +----------+---------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +----------+---------------+------+-----+---------+-------+ | ID | varchar(100) | NO | PRI | NULL | | | CREATEBY | varchar(100) | YES | | NULL | | | a | decimal(10,3) | YES | | NULL | | +----------+---------------+------+-----+---------+-------+ 3 rows in set (0.01 sec)