Skip to content
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

read_csv_batched for cloud storage #19678

Open
opixelum opened this issue Nov 7, 2024 · 1 comment
Open

read_csv_batched for cloud storage #19678

opixelum opened this issue Nov 7, 2024 · 1 comment
Labels
enhancement New feature or an improvement of an existing feature

Comments

@opixelum
Copy link

opixelum commented Nov 7, 2024

Description

Currently, trying to read a file from a remote server (like a S3 bucket in my case) raises an file not found error, while the file does exist. See the following code snippet:

reader = pl.read_csv_batched(f"s3://path/to/file.csv")
RuntimeError: BindingsError: "Os { code: 2, kind: NotFound, message: \"No such file or directory\" }"

Is this feature in development? Is there a workaround without downloading the file locally in the meantime?

I saw that this feature has been mentionned in this issue. Any update since then? It's been 9 months.

@opixelum opixelum added the enhancement New feature or an improvement of an existing feature label Nov 7, 2024
@cmdlineluser
Copy link
Contributor

Is there a workaround

Can you use scan_csv?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants