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

Add lazy implementation of DataFrame Interchange Protocol to SqlDataset #373

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

jonmmease
Copy link
Collaborator

Updates the SqlDataset.__dataframe__ method to support introspecting column schema info without evaluating the underlying SQL query. Combined with Altair dev, this will make it possible to pass SqlDataset instances into Altair for column type inference without triggering the SQL query.

Heavily inspired by ibis-project/ibis#6733

@jonmmease jonmmease merged commit 4518344 into main Aug 10, 2023
30 checks passed
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.

1 participant