-
Notifications
You must be signed in to change notification settings - Fork 78
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
feat: expose http object store #885
Conversation
d3953b0
to
3f827d4
Compare
The objective is to allow the user to register CSV directly from an HTTP URL, delaying downloading the file until required
3f827d4
to
1d457f8
Compare
from datafusion import SessionContext | ||
from datafusion.object_store import LocalFileSystem | ||
|
||
|
||
@pytest.fixture | ||
def local(): | ||
return LocalFileSystem() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't blocking for this PR but it appears we have very little test coverage for object store. It's a bit tricky, though, since I'm not sure where there are publicly available test resources that we could use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, we need more test coverage. I'll try to find some files to test it
0907a6e
to
0724e9a
Compare
Which issue does this PR close?
N/A
Rationale for this change
Reading csv from HTTP directly
What changes are included in this PR?
The HTTP ObjectStore is exposed.
Are there any user-facing changes?
Yes