Connecting
Connecting with the cdata.redshift Module:
The connector's module is used directly to establish a connection with the data source. It does this by using a connection string as its argument. For example:import cdata.redshift as mod conn = mod.connect("User=admin;Password=admin;Database=dev;Server=examplecluster.my.us-west-2.redshift.amazonaws.com;Port=5439;")
Once the connection is created, you can use it to execute subsequent SQL queries.