Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SETTINGS clause #244

Open
Net-Mist opened this issue Apr 24, 2023 · 3 comments
Open

SETTINGS clause #244

Net-Mist opened this issue Apr 24, 2023 · 3 comments

Comments

@Net-Mist
Copy link
Contributor

Hello,
Thanks a lot for this great project. I'm using it on a daily basis and works very well.
I was wondering if it could be interesting to add a new clause for the SETTINGS. As far as I know it is not provided by sqlalchemy. If yes, I can try to create a pull request for this.
Thanks a lot

@xzkostyan
Copy link
Owner

Hi.

You can pass settings to .execution_options() for native and asynch: https://clickhouse-sqlalchemy.readthedocs.io/en/latest/features.html#execution-options. This is more flexible than emitting SETTING clause.

@Net-Mist
Copy link
Contributor Author

Sadly, I'm forced to use the http driver

@Net-Mist
Copy link
Contributor Author

Do you think we could extend the execution_options function so it also works for the http driver ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants