You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to add
row[key] = '' if row[key] is None else row[key]
in /usr/local/lib/python3.6/site-packages/clickhouse_mysql/writer/chwriter.py
77 line
a piece of code
forrowinevent_converted:
forkeyinrow.keys():
row[key] =''ifrow[key] isNoneelserow[key]
# we need to convert Decimal value to str value for suitable for table structureiftype(row[key]) ==Decimal:
row[key] =str(row[key])
rows.append(row)
I have configured both mysql and clickhouse, when I try to import data I get the following error:
Please advise.
The text was updated successfully, but these errors were encountered: