CData Python Connector for HDFS

Build 23.0.8839

接続

Dialect URL での接続

SQLAlchemy を使用して接続を確立するには、特定のURL 形式が必要です。
from sqlalchemy import create_engine
engine = create_engine("hdfs:///?Host=sandbox-hdp.hortonworks.com;Port=50070;Path=/user/root;")

SQLAlchemy 2.0 では、方言名はhdfs_2 です。接続を確立するには、以下のURL 形式を使用します。

from sqlalchemy import create_engine
engine = create_engine("quickbooks_2:///?User=test;Password=test;URL=http://localhost:8166;")

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839