Skip to content
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

Replace SQLAlchemyReader with dbapi readers #261

Merged
merged 1 commit into from
Jun 14, 2023
Merged

Conversation

criccomini
Copy link
Contributor

@criccomini criccomini commented Jun 14, 2023

After some discussion in #257, I decided to replace SQLAlchemy with dbapi
readers. The SQLAlchemy types weren't mapping as nicely as I'd hoped to Recap's.
Now, DB types are mapped straight to Recap types.

This PR adds a PostgresqlReader and SnowflakeReader. The PG reader has a
very basic test, but the Snowflake reader is untested. I plan to use fakesnow
for Snowflake in the future.

Closes #259

@criccomini criccomini force-pushed the remove-sqlalchemy branch 4 times, most recently from bbabb48 to 9c52e52 Compare June 14, 2023 17:44
After some discussion in #257, I decided to replace SQLAlchemy with `dbapi`
readers. The SQLAlchemy types weren't mapping as nicely as I'd hoped to Recap's.
Now, DB types are mapped straight to Recap types.

This PR adds a `PostgresqlReader` and `SnowflakeReader`. The PG reader has a
very basic test, but the Snowflake reader is untested. I plan to use `fakesnow`
for Snowflake in the future.

Closes #259
@criccomini criccomini changed the title Remove sqlalchemy Replace SQLAlchemyReader with dbapi readers Jun 14, 2023
@criccomini criccomini merged commit 35ced18 into main Jun 14, 2023
@criccomini criccomini deleted the remove-sqlalchemy branch June 14, 2023 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement SnowflakeReader
1 participant