CData Python Connector for Greenplum

Build 21.0.7930

Connecting

Connecting with the cdata.greenplum Module:

The connector's module is used directly to establish a connection with the data source. It is able to take a connection string as its argument, as in the below example:

import cdata.greenplum as mod
conn = mod.connect("User=user;Password=admin;Database=dbname;Server=127.0.0.1;Port=5432")

Once the connection is created, you can execute subsequent SQL queries using it.

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