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
s3Directory Loader with prefix error #1510
Comments
I'm able to reproduce on I created test objects in S3 using the following code snippet:
I then have the same error when running the following code:
|
Working on a fix |
hwchase17
pushed a commit
that referenced
this issue
Mar 9, 2023
Resolves #1510 ### Problem When loading S3 Objects with `/` in the object key (eg. `folder/some-document.txt`) using `S3FileLoader`, the objects are downloaded into a temporary directory and saved as a file. This errors out when the parent directory does not exist within the temporary directory. See #1510 (comment) on how to reproduce this bug ### What this pr does Creates parent directories based on object key. This also works with deeply nested keys: `folder/subfolder/some-document.txt`
This was referenced Oct 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am running into an error when attempting to read a bunch of
csvs
from a folder in s3 bucket.Traceback:
The text was updated successfully, but these errors were encountered: