CData Python Connector for Apache Impala

Build 21.0.7930

Connecting

Connecting with a Dialect URL

A specific URL format is used to establish a connection using SQLAlchemy. For this connector, either of the following URL formats are acceptable when creating the engine:

Format 1


from sqlalchemy import create_engine
engine = create_engine("apacheimpala:///?Server=127.0.0.1;Port=21050;")

Format 2


from sqlalchemy import create_engine
engine = create_engine("apacheimpala://MyUser:MyPassword@MyServer:MyPort/MyDatabase")

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