-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
load_dataset from s3 file system through streaming can't not iterate data #5880
Comments
This sounds related to #5281. Can you try passing |
Cloud storage support is still experimental indeed and you can expect some bugs. I think we need to pass the storage options anywhere use_auth_token is passed in indeed. Let me know if you'd be interested in contributing a fix ! |
Oh, that's great, I really like to fix it. because datasets is really useful and most of our projects need to use it, but we can store our data on the internet due to security reasons. fix it not only make our own work more efficient but also can benefit others who use it. |
Describe the bug
I have a JSON file in my s3 file system(minio), I can use load_dataset to get the file link, but I can't iterate it
we can change 4 lines to fix this bug, you can check whether it is ok for us.
Steps to reproduce the bug
Expected behavior
can iterate it successfully
Environment info
datasets
version: 2.12.0The text was updated successfully, but these errors were encountered: