-
Notifications
You must be signed in to change notification settings - Fork 5
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
Execution of sql scripts #26
Comments
@aleksvagachev i don't know how it works in clickhouse but if they support something like dump / restore in other RDBMS maybe we should create a module for that (i don't like this to be like in c.postgres/mysql where it's done via _db modules). E.g. possible interface
the module name, the args names, and choices can be discussed but the idea should be clear. I would like to mix it with |
@Andersson007 I have not encountered dump/restore in clickhouse. I'm not sure that there is such a thing. There is clickhouse-backup and other additional utilities. Maybe try to consider their implementation or come up with something of your own from scratch? In this issue, I wanted to have functionality similar to the postgresql_script module. |
@aleksvagachev sure, feel free to add the module. I would avoid adding any return values though as it's often gonna execute more than 1 query. It was a great source of pain in c.postgres. We could add it later if needed. |
SUMMARY
It may not be convenient to use the clickhouse_client module to create tables or more complex queries. Maybe it's worth implementing a module for reading and executing scripts, or adding script execution functionality to clickhouse_client?
ISSUE TYPE
The text was updated successfully, but these errors were encountered: