jdbc
jdbc(jdbc_connection_uri, schema, table)
- returns table that is connected via JDBC driver.
This table function requires separate clickhouse-jdbc-bridge
program to be running.
It supports Nullable types (based on DDL of remote table that is queried).
Examples
SELECT * FROM jdbc('jdbc:mysql://localhost:3306/?user=root&password=root', 'schema', 'table')
SELECT * FROM jdbc('mysql://localhost:3306/?user=root&password=root', 'schema', 'table')
SELECT * FROM jdbc('datasource://mysql-local', 'schema', 'table')
当前内容版权归 ClickHouse 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ClickHouse .