Skip to content

Commit 1c2a7a1

Browse files
committed
log tables structure
1 parent aedffd0 commit 1c2a7a1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mysql_ch_replicator/db_replicator.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,10 @@ def perform_initial_replication_table(self, table_name):
248248
self.state.save()
249249

250250
mysql_table_structure, clickhouse_table_structure = self.state.tables_structure[table_name]
251+
252+
logger.debug(f'mysql table structure: {mysql_table_structure}')
253+
logger.debug(f'clickhouse table structure: {clickhouse_table_structure}')
254+
251255
field_names = [field.name for field in clickhouse_table_structure.fields]
252256
field_types = [field.field_type for field in clickhouse_table_structure.fields]
253257

0 commit comments

Comments
 (0)