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

SQL refactor #160

Merged
merged 146 commits into from
Oct 25, 2022
Merged

SQL refactor #160

merged 146 commits into from
Oct 25, 2022

Conversation

jonmmease
Copy link
Collaborator

@jonmmease jonmmease commented Sep 16, 2022

This PR is the first step towards the SQL integration detailed in #151.

No support for external engines is included in this PR, but it includes a significant refactor of all Vega transform implementations to generate SQL (using the SqlDataFrame struct) rather than making direct use of the DataFusion DataFrame API. Presently, this SQL is executed exclusively by the DataFusion query engine, but the extension points are here to add support for specific SQL engines in future PRs.

This way the SqlDataFrame can check whether a query is supported by the connection's
dialect on its own.
Have SqlDataFrame provide the name of the parent table to use when buiding queries
Rename SqlDatabaseConnection to SqlConnection
@jonmmease jonmmease marked this pull request as draft September 16, 2022 14:43
@jonmmease jonmmease marked this pull request as ready for review October 25, 2022 19:15
@jonmmease jonmmease merged commit 6e08e95 into main Oct 25, 2022
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