Skip to content

Conversation

mesejo
Copy link
Contributor

@mesejo mesejo commented Sep 27, 2024

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

@mesejo mesejo force-pushed the feat/expose_http_object_store branch 2 times, most recently from d3953b0 to 3f827d4 Compare October 1, 2024 07:59
@mesejo mesejo marked this pull request as ready for review October 1, 2024 07:59
@Michael-J-Ward
Copy link
Contributor

@mesejo - The original CI for this failed because of the mamba-forge sunsetting, see #894.

Could you rebase so we can include it for the v42 release?

The objective is to allow the user to register CSV directly from
an HTTP URL, delaying downloading the file until required
@mesejo mesejo force-pushed the feat/expose_http_object_store branch from 3f827d4 to 1d457f8 Compare October 5, 2024 09:41
@mesejo
Copy link
Contributor Author

mesejo commented Oct 5, 2024

@mesejo - The original CI for this failed because of the mamba-forge sunsetting, see #894.

Could you rebase so we can include it for the v42 release?

Thanks! Done.

Comment on lines 22 to -27
from datafusion import SessionContext
from datafusion.object_store import LocalFileSystem


@pytest.fixture
def local():
return LocalFileSystem()
Copy link
Member

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.

Copy link
Contributor Author

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

@mesejo mesejo force-pushed the feat/expose_http_object_store branch from 0907a6e to 0724e9a Compare October 6, 2024 20:43
@mesejo mesejo requested a review from timsaucer October 6, 2024 20:44
@timsaucer timsaucer merged commit 6c8292f into apache:main Oct 6, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants