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

ch_settings should be stated in the documentation

Open StygianSmash opened this issue 1 year ago • 0 comments

developers should know that they can change clickhouse setting in http driver mode by setting ch_settings.

from sqlalchemy import create_engine

engine = create_engine(
    'clickhouse+http://localhost/test',
    connect_args={"ch_settings": {'max_execution_time': 10}}
)

StygianSmash avatar Apr 20 '23 06:04 StygianSmash