cloudflare / cloudflare/sqlalchemy-clickhouse
How do I pass is_response parameter to cursor's execute method?
Open
- Dominant language
- Python
- Stars
- 325
- Forks
- 101
- PR merge metrics
- No merged PRs in 30d
Description
Hi guys!
I have an insert from select query and it's been always extended by " FORMAT TabSeparatedWithNamesAndTypes" because it always gets to `clickhouse_orm/database:Database.select` method. This happens because `sqlalchemy_clickhouse/connector:Cursor.execute` method has an `is_response=True` argument and it can't be modified by executing a query from sqlalchemy connection like this:
`engine = create_engine(url)`\
`connection = engine.connect()`\
`connection.execute(query, is_response=False)`
How can I avoid that or set this argument to False?
Contributor guide
Assessment
This issue has not been assessed yet.