Skip to content

Commit 5821f7b

Browse files
committed
Enhance type mapping in MysqlToClickhouseConverter
- Added support for mapping the MySQL 'boolean' type to 'Bool' in the converter, improving type handling consistency.
1 parent 0b5276f commit 5821f7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mysql_ch_replicator/converter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,8 @@ def convert_type(self, mysql_type, parameters):
349349
pass
350350
if mysql_type == "bool":
351351
return "Bool"
352+
if mysql_type == "boolean":
353+
return "Bool"
352354
if "smallint" in mysql_type:
353355
if is_unsigned:
354356
return "UInt16"

0 commit comments

Comments
 (0)