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
Hi.
I get an error when trying to insert a value of type bool
`
client = Client(ip,password=pass,settings={"use_numpy":False})
df=pd.DataFrame({ "b1":[True,False] })
df.to_dict('records')
client.execute(f'INSERT INTO tmp.t1 (b1) VALUES', df.to_dict('records') )
`
`90 return cls(**column_options)
92 except KeyError as e:
---> 93 raise errors.UnknownTypeError('Unknown type {}'.format(e.args[0]))
UnknownTypeError: Code: 50. Unknown type Bool`
if i use method insert_dataframe get error too
Version of package with the problem.
ClickHouse server version. 23.3.1.2823
Python version. 3.10
The text was updated successfully, but these errors were encountered:
Hi.
I get an error when trying to insert a value of type bool
`
client = Client(ip,password=pass,settings={"use_numpy":False})
df=pd.DataFrame({ "b1":[True,False] })
df.to_dict('records')
client.execute(f'INSERT INTO tmp.t1 (b1) VALUES', df.to_dict('records') )
`
`90 return cls(**column_options)
92 except KeyError as e:
---> 93 raise errors.UnknownTypeError('Unknown type {}'.format(e.args[0]))
UnknownTypeError: Code: 50. Unknown type Bool`
if i use method insert_dataframe get error too
The text was updated successfully, but these errors were encountered: