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
Bulk update fails through click house driver, at is is detected as insert
clickhouse_driver/client.py", line 367, in execute
is_insert = isinstance(params, (list, tuple, types.GeneratorType))
Following SQL Alchemy query does not work
session.execute(update(Table), [data1, data2])
However single updates work:
for data in [data1, data2]:
session.execute(update(Table), [data])
Bulk update fails through click house driver, at is is detected as insert
clickhouse_driver/client.py", line 367, in execute
is_insert = isinstance(params, (list, tuple, types.GeneratorType))
Following SQL Alchemy query does not work
session.execute(update(Table), [data1, data2])
However single updates work:
for data in [data1, data2]:
session.execute(update(Table), [data])
clickhouse-sqlalchemy 0.3.0, sqlalchemy 2.0.25, click house-driver 0.2.6
The text was updated successfully, but these errors were encountered: