-
Notifications
You must be signed in to change notification settings - Fork 27
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
Reader plugin redesign #106
Comments
Some questions that were asked at yesterday meeting:
but in the meantime , if the two call is indeed unnecessary as we do the pattern matching on file extension can we pass in seekable buffers ? Is that a better pattern ? Another concern that Talley had was how doe that work with npe1 shim, and the |
I think this may warrant more discussion... While its canonical usage has been to distinguish among different file formats with simple I do think this makes up a relatively small percentage of use cases, but they're use cases we should consider. Indeed my feeling for a long time is that we need to encourage better usage of the |
My favorite would be to replace the existing two-stage API with a stateful reader API. Something like:
The idea is to do something that works like HTTP range requests and works well with e.g. ffmpeg. But this might also take care of the "determine the file type without committing too deeply to this file" problem. |
@nclack for those of us not familiar with http requests, let alone http range requests 😂, could you flesh out that pattern a bit more? For example, my internal linter is complaining that ContentType is never used. It also thinks that R is too short a variable name. 😜 Finally, I wonder if the open/close should be one command? |
The current spec around reader plugins has some problems that would be nice to address with a schema change. This would likely require a change of the schema version.
Opening this issue to start gathering ideas/requirements.
Problems:
Opportunities:
The text was updated successfully, but these errors were encountered: