CData Python Connector for HDFS

Build 21.0.7930

Connecting

Connecting with a Dialect URL

A specific URL format is used to establish a connection using SQLAlchemy.

from sqlalchemy import create_engine
engine = create_engine("hdfs:///?Host=sandbox-hdp.hortonworks.com;Port=50070;Path=/user/root;")

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930