ClickHouse/docs/ja/sql_reference/table_functions/jdbc.md
2020-04-04 12:15:31 +03:00

850 B

machine_translated machine_translated_rev toc_priority toc_title
true d734a8e46d 43 jdbc

jdbc

jdbc(jdbc_connection_uri, schema, table) -JDBCドライバ経由で接続されたテーブルを返します。

このテーブル関数は、個別の clickhouse-jdbc-bridge 実行するプログラム。 でnullable種類に基づく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')

元の記事