We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b6a433 commit e45879aCopy full SHA for e45879a
mysql_ch_replicator/converter.py
@@ -317,7 +317,7 @@ def convert_record(
317
'text' in mysql_field_type or 'char' in mysql_field_type
318
):
319
if isinstance(clickhouse_field_value, bytes):
320
- charset = mysql_structure.charset_python
+ charset = mysql_structure.charset_python or 'utf-8'
321
clickhouse_field_value = clickhouse_field_value.decode(charset)
322
323
if 'point' in mysql_field_type:
0 commit comments