-
Notifications
You must be signed in to change notification settings - Fork 4
refactor(dataset-store): extract amp-providers-registry crate
#1564
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
amp-providers-registry crate
347801d to
275a524
Compare
275a524 to
2e76ee7
Compare
|
@LNSD PR is ready for review now. |
LNSD
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 is a huge PR. It is too much risk to merge it as is.
Can you split it into two separate PRs?
- PR 1: the new providers-registry crate + the raw dataset kind type in datasets-common
- PR 2: the dataset trait and all the associated changes.
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.
Can we remove this Dataset type?
| pub fn dataset( | ||
| reference: HashReference, | ||
| manifest: Manifest, | ||
| ) -> impl datasets_common::dataset::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.
The dataset() fn should return the extractor-specific dataset type, not the impl trait
amp-providers-registrycrate fromamp-dataset-storeadmin-apito useDatasetsRegistrydirectly for registry operationsDatasettraitDatasettrait indatasets-commonDatasetWithFunctionstrait for UDF supported datasetsJsUdffromcommontojs-runtimeudfmodule re-exports indatasets-commonDatasettraitCloses #1558