clickhouse-sqlalchemy icon indicating copy to clipboard operation
clickhouse-sqlalchemy copied to clipboard

'nonetype' object has no attribute 'startswith' in drivers/http/transport.py

Open geekkun opened this issue 3 years ago • 5 comments

https://github.com/xzkostyan/clickhouse-sqlalchemy/blob/71564b5f02f2ac487bb48d475638a2c73f98d612/clickhouse_sqlalchemy/drivers/http/transport.py#L80

I've noticed there is no checking for an incoming None value in def _get_type(type_str) and therefore the library fails.

geekkun avatar May 07 '21 12:05 geekkun

+1 same problem

huangyuantao19920411 avatar Jul 07 '21 09:07 huangyuantao19920411

+1 same problem

lijc210 avatar Jul 27 '21 10:07 lijc210

+1 same problem

stllfe avatar Aug 03 '21 05:08 stllfe

Feel free to make PR or use clickhouse+native://.

xzkostyan avatar Aug 03 '21 07:08 xzkostyan

+1 same problem

TacoBel42 avatar Feb 03 '23 07:02 TacoBel42