-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redshift Target #552
Comments
hey Rob, short answers for now
It would be a good idea to start some documents to help organize the process, especially to make a catalog / table of redshift built-ins so that we can begin mapping those onto I'm interested in having postgres support, anyway, so hopefully this will get two birds with one stone |
We should definitely start a redshift/postgres branch until we get the bare essentials bootstrapped. After that we can incrementally merge new functionality |
there's this https://pypi.python.org/pypi/redshift-sqlalchemy which may help also |
@wrobstory I'm about to drop a generic sqlalchemy backend in #585. I'm going to wrap as much of SQLite as I can, and you'll want to follow the same recipe to provide redshift support. Main work that will be required is wrapping all the redshift built-in functions and expose them internally to the SQLAlchemy translator (I'll try to give clear guidance on how to go about thsi incrementally) |
Wow, nice work. An hour after I said "I've got some time", a new project came up that pulled me away. That being said, we've got folks working on some redshift_sqlalchemy stuff: sqlalchemy-redshift/sqlalchemy-redshift#17 That includes Simple sponsoring a Redshift instance to test against. I think we might be able to support Ibis tests against it as well, if that's of interest. |
Cool, now that SQLAlchemy translation support has dropped, adding a preliminary Redshift client would be relatively easy. Do you have a test instance you can give me access to so I can get this bootstrapped sometime in the next few weeks? |
@wrobstory Curious if you'd be willing to throw ibis at redshift with the postgres backend :) |
This needs a champion. Perhaps the folks at Amazon would be interested in this! |
New comer to the project and am wondering if people are still interested in this. Done a little digging and it seems like Redshift is not a supported backend. Would love to have it supported. I can attribute some time to maybe test the POC of it? Thanks! |
@ccjeff would you mind opening a new issue for discussion? Redshift is something we're definitely interested in supporting. one of the main considerations is the cloud infrastructure we'd need to run it in CI, though if there's any work and testing you'd like to do we'd certainly be interested |
We have a handful of analysts that would be interested in using Ibis against Redshift, and I can carve out some time to work on it. A few questions:
ibis.sql.ddl
already handles a lot of the "standard" SQL statements, and I think there will be a good amount of divergence when it comes to PG vs. Redshift. One option is starting with bothibis.sql.redshift
andibis.sql.postgres
. Any statements that work for both live inibis.sql.postgres.ddl
, andibis.sql.redshift.ddl
classes inherit from postgres. For example, INSERT and DELETE behavior is more or less 1:1 between the two.ibis.sql.redshift.ddl
/ibis.sql.postgres.ddl
that largely mirrors https://github.com/cloudera/ibis/blob/master/ibis/impala/ddl.py for consistency. Get a test suite working that creates, drops, and deletes from tables, then move on to Redshift-specific implementations of the trickier bits like date handling. I think thatibis.sql.ddl
should largely work as-is for select/where/group-by, but I'll need to confirm with a little bit of testing first.The text was updated successfully, but these errors were encountered: