-
Notifications
You must be signed in to change notification settings - Fork 7
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
Support for multipart resources. #15
Comments
@roll this is already supported unless I am missing something? Please have a look at the README where I document how to instanciate this datapackage with multipart resources. We can also add and remove Resources. |
@georgeslabreche
http://frictionlessdata.io/specs/data-resource/#data-in-multiple-files This is the lowest priority feature from the specs-v1. Now it's implemented only for Python - https://github.com/frictionlessdata/datapackage-py/blob/master/datapackage/resource.py#L505 - and kinda tricky for some platforms. |
@roll IteratorChain saved the day! Is it OK that we have to explicitly set a base path for the Resource object if the datapackage is using relative file paths? |
@georgeslabreche Base path is even a part of the reference - https://github.com/frictionlessdata/implementations#datapackage I think in Python/JavaScript now we use current directory as a default base path. |
@roll so current directory as in the directory where in the file system the library is residing or the directory where the app using the library is residing? I'm not 100% convinced this is the best approach, with java at least, because of the potential different possibilities where that library will end up. I'm not yet sure which path is retrieved when using something like |
@georgeslabreche |
@roll I will test the path retrieval behaviour in Java to make sure I use the proper way of getting the working directory in a predictable manner. |
Support for multipart resources.
The text was updated successfully, but these errors were encountered: