cloudflare / cloudflare/sqlalchemy-clickhouse

How do I pass is_response parameter to cursor's execute method?

Open
#33 0 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.