You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dataset viewer only knows the last repository name if it has been renamed once or more. For example, squad was renamed to rajpurkar/squad. The previous entries for squad in the database were deleted, and new ones were created for rajpurkar/squad. As we don't check if the repo was renamed, asking for dataset=squad returns an error.
To support this, if the dataset has not been found in the database, we should request the Hub to get the current name of the repo (in the example: rajpurkar/squad) and look again if the dataset exists in the database.
Currently datasets-server doesn't appear to handle dataset redirects, and gives an error.
For example:
Querying
datasets
endpoints with the datasetsquad
worksQuerying
datasets-server
endpoints with the datasetsquad
gives an "unknown error"Querying
datasets-server
endpoints with a random dataset name (e.g.xyz2309348
) gives an expected response (e.g. dataset unknown/doesn't exist)Querying
datasets-server
endpoints with the redirected name (rajpurkar/squad
) works.The text was updated successfully, but these errors were encountered: