[DataCatalog]: Improve the way to access namespaced datasets with _FrozenDataset
API
#3928
Labels
Issue: Feature Request
New feature or improvement to existing feature
Milestone
Description
Users struggle with the
_FrozenDataset
's API when accessing namespaced datasets because it uses double underscores instead of dots, which they find unintuitive and cumbersome. Some prefer referring to the dataset by its original name, so they use the private_get_dataset()
method instead.We propose to:
_FrozenDataset
's API to use dots instead of double underscores for namespaces, aligning with users' expectations.Relates to #3926
Context
User feedback:
“.”
or“@”
with“__”
in dataset names to be unclean and prefers calling datasets by their exact names.getattr(catalog.datasets, "namespace.dataset")
. So it's still possible but it's just like horribly ugly. Also, it just doesn't feel natural, to me, the catalog feels like it should operate as a dictionary. And therefore access should be byget_item
rather thanget_attribute
. "The text was updated successfully, but these errors were encountered: