mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-18 06:20:51 +00:00
d91c97d15d
* Replace underscores with hyphens * remove temporary code * fix style check * fix collapse
783 B
783 B
machine_translated | machine_translated_rev | toc_priority | toc_title |
---|---|---|---|
true | b111334d66 |
43 | jdbc |
jdbc
jdbc(jdbc_connection_uri, schema, table)
-返回通过JDBC驱动程序连接的表。
此表函数需要单独的 clickhouse-jdbc-bridge
程序正在运行。
它支持可空类型(基于查询的远程表的DDL)。
例
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')