clickhouse-jdbc-bridge contains experimental codes and is no longer supported. It may contain reliability issues and security vulnerabilities. Use it at your own risk.
ClickHouse recommend using built-in table functions in ClickHouse which provide a better alternative for ad-hoc querying scenarios (Postgres, MySQL, MongoDB, etc).
Creating a table
-
datasource— URI or name of an external DBMS. URI Format:jdbc:<driver_name>://<host_name>:<port>/?user=<username>&password=<password>. Example for MySQL:jdbc:mysql://localhost:3306/?user=root&password=root. -
external_database— Name of a database in an external DBMS, or, instead, an explicitly defined table schema (see examples). -
external_table— Name of the table in an external database or a select query likeselect * from table1 where column1=1. - These parameters can also be passed using named collections.