-
Notifications
You must be signed in to change notification settings - Fork 28
Description
It looks like there are a few data types that need to be added and i was just wondering if you had any contribution guidelines or new of any good places to start with this.
Thank you, i am excited to try this project 👍🏿
[runner 2024-12-31 05:28:42,728 INFO] http server disabled
[runner 2024-12-31 05:28:42,728 INFO] running replication for mysql_default_db (initial replication not finished - waiting)
[binlogrepl 2024-12-31 05:28:42,980 INFO] state start position: None
[binlogrepl 2024-12-31 05:28:42,980 INFO] connection_settings: {'host': 'host.docker.internal', 'port': 3306, 'user': 'root', 'passwd': 'xxxxxxx', 'charset': 'utf8'}
[binlogrepl 2024-12-31 05:28:42,981 INFO] resume_stream: True
[binlogrepl 2024-12-31 05:28:42,981 INFO] allowed_events_in_packet: [event, event, event, row_event, event, event, event, event, event, event, event, row_event, row_event, event, event, row_event, row_event, event, event, event, event, event, event, event]
[binlogrepl 2024-12-31 05:28:42,981 INFO] server_id: 3787456570
[dbrepl mysql_default_db 2024-12-31 05:28:43,364 INFO] launched db_replicator
[dbopt None 2024-12-31 05:28:43,389 INFO] running optimizer
[dbrepl mysql_default_db 2024-12-31 05:28:43,401 INFO] recreating database
[dbrepl mysql_default_db 2024-12-31 05:28:43,581 INFO] last known transaction None
[dbrepl mysql_default_db 2024-12-31 05:28:46,402 ERROR] unhandled exception
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/mysql_ch_replicator/db_replicator.py", line 195, in run
self.create_initial_structure()
File "/usr/local/lib/python3.12/site-packages/mysql_ch_replicator/db_replicator.py", line 205, in create_initial_structure
self.create_initial_structure_table(table)
File "/usr/local/lib/python3.12/site-packages/mysql_ch_replicator/db_replicator.py", line 216, in create_initial_structure_table
clickhouse_structure = self.converter.convert_table_structure(mysql_structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/mysql_ch_replicator/converter.py", line 264, in convert_table_structure
clickhouse_field_type = self.convert_field_type(field.field_type, field.parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/mysql_ch_replicator/converter.py", line 253, in convert_field_type
clickhouse_type = self.convert_type(mysql_type, mysql_parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/mysql_ch_replicator/converter.py", line 247, in convert_type
raise Exception(f'unknown mysql type "{mysql_type}"')
Exception: unknown mysql type "set('1','2','3','4','5','6','7')"