Skip to content

Commit 6233ad3

Browse files
committed
tinyint type support
1 parent eb6cfeb commit 6233ad3

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
@@ -83,6 +83,8 @@ def convert_type(self, mysql_type):
8383
return 'Bool'
8484
if mysql_type == 'smallint':
8585
return 'Int16'
86+
if 'tinyint' in mysql_type:
87+
return 'Int16'
8688
if 'datetime' in mysql_type:
8789
return mysql_type.replace('datetime', 'DateTime64')
8890
if 'longtext' in mysql_type:

0 commit comments

Comments
 (0)