-
Notifications
You must be signed in to change notification settings - Fork 32
Add the CLP connector RFC #37
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
base: main
Are you sure you want to change the base?
Conversation
tdcmeehan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all seems pretty reasonable to me. There doesn't seem to be anything that needs to change in the SPI, runtime or execution engines besides things that are at the connector level.
One suggestion is to keep the CLP C++ connector in Presto for now. We can always move it to Velox later, and it will make the landing of this code more predictable.
|
|
||
| ## Table & Column Resolution | ||
|
|
||
| Implementing `ConnectorMetadata` requires determining what tables and columns exist in a CLP dataset, which in turn requires querying CLP's metadata database. Since different users may have their own implementation of a CLP metadata database, the connector should expose the required methods through a `ClpMetadataProvider` interface. For table and column resolution, the interface should contain the following methods: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be clear, ClpMetadataProvider lives in the CLP connector, not the runtime?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's right
Thanks for the suggestion! We'll spend some time working on it. |
This PR adds an RFC for the CLP connector, which enables SQL queries on the compressed CLP archives.