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

[experiment] ibis integration with connection sharing #1491

Closed
wants to merge 2 commits into from

Conversation

sh-rp
Copy link
Collaborator

@sh-rp sh-rp commented Jun 19, 2024

Description

This PR has a connection borrowing approach which theoretically would make the integration quite easy with the wrapping contextmanager suggested here. Ibis does not have support for sharing an open dbapi connection so there is some hackery here and this does not work for most destinations unfortunately. Also about half of our sql destinations are not really supported by ibis.

The current test in here only passes for duckdb, postgres and snowflake. There are various problems on other destinations, that may or may not stem from some init code in the ibis backend not being run which would ordinarily run when executing the do_connect method.

Some notes:

  • Redshift does work with the postgres backend

Copy link

netlify bot commented Jun 19, 2024

Deploy Preview for dlt-hub-docs ready!

Name Link
🔨 Latest commit 270a92e
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/669f986b79016700088284bf
😎 Deploy Preview https://deploy-preview-1491--dlt-hub-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sh-rp sh-rp linked an issue Jun 19, 2024 that may be closed by this pull request
@sh-rp sh-rp changed the title [experiment] ibis integration [experiment] ibis integration with connection sharing Jun 19, 2024
@sh-rp sh-rp added the destination Issue related to new destinations label Jun 20, 2024
@sh-rp
Copy link
Collaborator Author

sh-rp commented Jun 26, 2024

For reference, issue for connection sharing in ibis: ibis-project/ibis#8877

@sh-rp
Copy link
Collaborator Author

sh-rp commented Jul 17, 2024

ibis-project/ibis#9603

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
destination Issue related to new destinations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

access data after load load as dataframes with ibis
1 participant