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

Load from JDBC #71

Merged
merged 2 commits into from
Nov 5, 2024
Merged

Load from JDBC #71

merged 2 commits into from
Nov 5, 2024

Conversation

ryannedolan
Copy link
Collaborator

Summary

Support loading the catalog via JDBC urls.
Support loading the catalog from a Calcite Schema.

Details

Previously, we required a Calcite model file (e.g. model.yaml) to load the catalog. We still support this, but now we expect to load model files via the url jdbc:calcite:model=.... In addition, any JDBC url theoretically works (tho the catalog thus loaded may not be useful).

Looking ahead, we plan to restructure the Catalog API to enable the use of arbitrary JDBC drivers. Today, we only support catalogs specifically written for Hoptimator.

Testing

Existing integration tests should pass.

@ryannedolan ryannedolan force-pushed the load-from-jdbc branch 2 times, most recently from b4704e3 to 3ab6c4a Compare November 5, 2024 18:43
@ryannedolan ryannedolan merged commit 67fda04 into main Nov 5, 2024
1 check passed
@ryannedolan ryannedolan deleted the load-from-jdbc branch November 5, 2024 20:48
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.

2 participants