ClickHouse
A ClickHouse connection is used to support exporting/loading data from your Upsolver tables into ClickHouse.
Syntax
CREATE CLICKHOUSE <connection_identifier>
CONNECTION_STRING = '<connection_string>'
USER_NAME = '<user_name>'
PASSWORD = '<password>'
[ COMMENT = '<comment>' ]
Jump to
Connection options
CONNECTION_STRING
— editable
CONNECTION_STRING
— editableType: text
The connection string to use when connecting to ClickHouse. Syntax should be as follows:
protocol://host[:port][/database][?param[=value][¶m[=value]][#tag[,tag]]
The ClickHouse documentation for creating a connection string can be found here.
USER_NAME
— editable
USER_NAME
— editableType: text
The user for authenticating to the database.
PASSWORD
— editable
PASSWORD
— editableType: text
The password to use for authentication.
COMMENT
— editable
COMMENT
— editableType: text
(Optional) A description or comment regarding this connection.
Example
CREATE CLICKHOUSE CONNECTION my_clickhouse_connection
CONNECTION_STRING = 'http://<host_name>:8123/<db_name>'
USER_NAME = 'your username'
PASSWORD = 'your password';
Last updated