yhat/db.py — pull request #52 by drewww (2014-12-09 23:50:44+00:00)
Title: Add support for specifying bucket locations in to_redshift

In order to use the s3 copy function in redshift, the s3 bucket must be in the same region as the redshift cluster running the copy command. As written, `to_redshift` would only upload to the default region which for my redshift cluster was not appropriate. Boto supports region specification, this PR lets you specify the region in the to_redshift call in a boto standard way.