-
Notifications
You must be signed in to change notification settings - Fork 247
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
feat(rust): implement a ListingCatalog #3300
base: main
Are you sure you want to change the base?
Conversation
6a32543
to
f5347b5
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3300 +/- ##
==========================================
+ Coverage 78.81% 78.85% +0.03%
==========================================
Files 250 251 +1
Lines 91306 91461 +155
Branches 91306 91461 +155
==========================================
+ Hits 71963 72121 +158
+ Misses 16390 16376 -14
- Partials 2953 2964 +11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
f5347b5
to
1d308e0
Compare
Hi @westonpace I drafted a PR for discussion. About naming, some thoughts:
|
fn list_datasets(&self, namespace: &Namespace) -> Vec<DatasetIdentifier>; | ||
|
||
/// Create a new dataset in the catalog. | ||
fn create_dataset( |
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.
I think using register_dataset
interface to register an existed lance dataset is also needed.
fn invalidate_dataset(&self, identifier: &DatasetIdentifier) -> Result<(), String>; | ||
|
||
/// Register a dataset in the catalog. | ||
fn register_dataset(&self, identifier: &DatasetIdentifier) -> Result<Dataset, String>; |
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.
Hi @SaintBacchus it's here
8f2bec4
to
a1f3359
Compare
} | ||
|
||
#[async_trait::async_trait] | ||
impl Catalog for ListingCatalog { |
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.
@westonpace I implemented a simple version for discussion. Please take a look when you have time.
No description provided.